Repo Syntax Issue Rhel/centos

Hello again,

i need to understand once for all the syntax of files.repo.

When i need a repository i create under /etc/yum.repos.d/ the repository file

goofy.repo

with this syntax

[repository_name]
[goofy]
baseurl=ftp:///mydirectory/myrepodir
gpgcheck=0

---
Myrepodir contains all the *.rpm files i need

when i exit and save i get anytime this error

Code:
ftp:///mydirectory/myrepodir/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repobase. Please verify its path and try again

What am i wrong for? How can i just say to my rhel/centos system
"Ehy, for rpm look inside /mydirectory/myrepo" ?

Thanks


Similar Content



Error:cannot Retrieve Repository Metadata (repomd.xml) For Repository: Fedora

Hi.
I am completely new in Linux and I'm trying to learn as much as I can while doing my job.

I am following directions from a wi-fi card vendor. In it, they require to download Fedora 13 to the laptop, which I have already done so. uname -a displays:
Linux localhost.localdomain 2.6.33.3-85.fc13.i868.PAE #1.

The directions ask to update the kernel with "yum install kernel-PAE". While connected to the internet, when I type that, the following error comes up:
Loaded plugin : presto, refresh-packagekit
Error: cannot retrieve repository metadata (repomd.xml) for repository: fedora
Please verify its path and try again

What does it mean and what file do I need to update with the right path? Please, let me know what other information you need.
Thank you very much

Yum Update Keeps Failing

[root@Laptop yum.repos.d]# yum install transmission*
Loaded plugins: langpacks, refresh-packagekit
adobe-linux-x86_64 | 951 B 00:00:00
fedora/20/x86_64/metalink | 17 kB 00:00:00
fedora | 3.8 kB 00:00:00
rpmfusion-free | 3.3 kB 00:00:00
rpmfusion-free-updates | 3.3 kB 00:00:00
rpmfusion-nonfree | 3.3 kB 00:00:00
rpmfusion-nonfree-updates | 3.3 kB 00:00:00
updates/20/x86_64/metalink | 13 kB 00:00:00
updates | 4.9 kB 00:00:00
http://mirrors.xmission.com/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.fdcservers.net/fedora/...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://fedora.osuosl.org/linux/updat...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirrors.rit.edu/fedora/fedora...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://repo.atlantic.net/fedora/linu...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
ftp://ftp.uci.edu/mirrors/fedora/lin...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.metrocast.net/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://linux.mirrors.es.net/fedora/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.cs.pitt.edu/fedora/lin...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.hmc.edu/fedora/linux/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.uoregon.edu/fedora/lin...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://fedora.mirrors.tds.net/pub/fe...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.nexcess.net/fedora/upd...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.web-ster.com/fedora/up...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
ftp://ftp.gtlib.gatech.edu/pub/fedor...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://www.gtlib.gatech.edu/pub/fedo...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.steadfast.net/fedora/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirrors.cat.pdx.edu/fedora/li...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://archive.linux.duke.edu/pub/fe...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirrors.kernel.org/fedora/upd...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirrors.syringanetworks.net/f...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://lug.mtu.edu/fedora/linux/upda...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
ftp://ftp.osuosl.org/pub/fedora/linu...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.cc.vt.edu/pub/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.pnl.gov/fedora/linux/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.redsox.cc/pub/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.symnds.com/distributio...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.unl.edu/fedora/linux/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
ftp://ftp.wallawalla.edu/pub/mirrors...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://fedora.bhs.mirrors.ovh.net/li...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://dl.fedoraproject.org/pub/fedo...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.cogentco.com/pub/linux...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirrors.tummy.com/pub/fedora....ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.clarkson.edu/fedora/li...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://ftp.linux.ncsu.edu/pub/fedora...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
http://fedora.mirrors.pair.com/linux...ta/repomd.xml: [Errno 12] Timeout on http://fedora.mirrors.pair.com/linux...ta/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
updates | 4.9 kB 00:00:00
http://mirror.ancl.hawaii.edu/linux/...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.
updates | 4.9 kB 00:00:00
http://kdeforge2.unl.edu/mirrors/fed...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
Trying other mirror.


One of the configured repositories failed (Fedora 20 - x86_64 - Updates),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:

yum-config-manager --disable updates

4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=updates.skip_if_unavailable=true

failu repodata/repomd.xml from updates: [Errno 256] No more mirrors to try.
http://mirrors.xmission.com/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.fdcservers.net/fedora/...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://fedora.osuosl.org/linux/updat...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirrors.rit.edu/fedora/fedora...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://repo.atlantic.net/fedora/linu...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
ftp://ftp.uci.edu/mirrors/fedora/lin...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.metrocast.net/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://linux.mirrors.es.net/fedora/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.cs.pitt.edu/fedora/lin...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.hmc.edu/fedora/linux/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.uoregon.edu/fedora/lin...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://fedora.mirrors.tds.net/pub/fe...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.nexcess.net/fedora/upd...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.web-ster.com/fedora/up...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
ftp://ftp.gtlib.gatech.edu/pub/fedor...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://www.gtlib.gatech.edu/pub/fedo...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.steadfast.net/fedora/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirrors.cat.pdx.edu/fedora/li...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://archive.linux.duke.edu/pub/fe...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirrors.kernel.org/fedora/upd...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirrors.syringanetworks.net/f...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://lug.mtu.edu/fedora/linux/upda...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
ftp://ftp.osuosl.org/pub/fedora/linu...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.cc.vt.edu/pub/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.pnl.gov/fedora/linux/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.redsox.cc/pub/fedora/l...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.symnds.com/distributio...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.unl.edu/fedora/linux/u...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
ftp://ftp.wallawalla.edu/pub/mirrors...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://fedora.bhs.mirrors.ovh.net/li...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://dl.fedoraproject.org/pub/fedo...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.cogentco.com/pub/linux...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirrors.tummy.com/pub/fedora....ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://mirror.clarkson.edu/fedora/li...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://ftp.linux.ncsu.edu/pub/fedora...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://fedora.mirrors.pair.com/linux...ta/repomd.xml: [Errno 12] Timeout on http://fedora.mirrors.pair.com/linux...ta/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
http://mirror.ancl.hawaii.edu/linux/...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
http://kdeforge2.unl.edu/mirrors/fed...ta/repomd.xml: [Errno -1] repomd.xml does not match metalink for updates
[root@Laptop yum.repos.d]#

Installing Gnome-tweak-tool

Hello I am a newbie to this forum and Linux. Thank you ahead of time for your advice, constructive criticism and sharing.
Fedora 15
I enter following command> yum install-gnome-tweak-tool

The result is >cannot retrieve repository metadata (repomd.xml) for repository: fedora. please verify its path and try again.

I dont know how to get to the repo to fix it. In the files i need to remove an s from HTTPSS... We did it in class but i want to learn for myself.

Help Me _How To Create An Oracle Linux / CentOS YUM Repository

Hello Experts,
I would like to create a server which can act as a YUM repository of Oracle Linux 6.5 and CentOS 6.5. Also I would like other servers to access this repo via http. I am stucked here to understand how I can bring all "RPMs" in to "/repo/OracleLinux/OEL6/current/x86_64" and always keep it updated. I would appreciate any help on this.
Thanks In Advance

Repo File Configuration For Rpmfind.net's Repository

Hi Linux Enthusiast..
Here is what i want to do..
I am currently using RHEL6 and I want to use rpmfind.net's repository for the software installtions.
But I really got very confused when i came to configure *.repo file for it ( for rpmfind.net's repository).
Can anybody please tell me what the baseurl string(or value) shuild be used for it in *.repo file.

Fail To Install Vsftpd

I use Redhat 6.3 , when I install run "yum install vsftpd" , it pops the following error, does it mean the library is not support , I have to update the kernel ? thanks

Code:
Loaded plugins: product-id, security
file:///media/localrepos/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/localrepos/Server/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                    Arch                       Version                            Repository                    Size
=============================================================================================================================
Installing:
 vsftpd                     x86_64                     2.2.2-11.el6                       RHEL-6.3                     151 k

Transaction Summary
=============================================================================================================================
Install       1 Package(s)

Total download size: 151 k
Installed size: 331 k
Is this ok [y/N]: 

Error Downloading Packages:
  vsftpd-2.2.2-11.el6.x86_64: failu  ../Packages/vsftpd-2.2.2-11.el6.x86_64.rpm from RHEL-6.3: [Errno 256] No more mirrors to try.
Loaded plugins

Problem With Epel

Hello

I try to install the epel repository so I can install ejabberd.

I do not have epel, it seems :

Code:
[root@serv src]# ls /etc/yum.repos.d/
CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-fasttrack.repo  CentOS-Media.repo  CentOS-Vault.repo  n2.repo

So I try to install epel :

Code:
[root@serv src]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Preparing...                ########################################### [100]
	package epel-release-6-8.noarch is already installed

But when I try to install ejabberd :

Code:
[root@serv src]# yum install ejabberd
Loaded plugins: downloadonly, fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
No package ejabberd available.
Error: Nothing to do

Something is wrong with epel.

Fedora 13 In VirtualBox Help With Yum Install System-config-kickstart

hey guys, I need help with yum install system-config-kickstart.
Ive try running this in terminal with root and user. nothing seems to work.
I got a message:
Loaded plugins: presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.
Please verify its path and try again.

Guys I'm new to Linux. What should I do?

Centos 7 - Yum Update Failed

"yum update" command is not working.
IP information and relevant details below:

-------------------------------------------------------------------------
Here is the error message :
yum update
Loaded plugins: fastestmirror, langpacks


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:

yum-config-manager --disable <repoid>

4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64
------------------------------------------------------------------------
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.95 netmask 255.255.252.0 broadcast 192.168.11.255
inet6 fe80::20c:29ff:fe4e:58d9 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:4e:58:d9 txqueuelen 1000 (Ethernet)
RX packets 3498 bytes 356084 (347.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1525 bytes 212794 (207.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 22 bytes 2004 (1.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 2004 (1.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
---------------------------------------------------------------------------

Steps taken so far :
1. Change to google DNS -->
2. Edited the CentOS-Base.repo file -->
3. Restarted network services -->

Literally I had search all over the place, till now i could not fix the issue.
Appreciate if someone come forward and help me to rectify this issue.

Problem With Unsupported Fedora, Download The Last Version

hello all
I already have fedora 14 32bit and I install it on vmwear in order to install ns2.35allinone but when I follow the steps I got the following error in the first step

[fedora@localhost ~]$ su
Password:
[root@localhost fedora]# yum install autoconf
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@localhost fedora]#


and I read many post to solve this problem and as I understand from it fedora 14 is now unsupported. so please if you can help me to fix this problem or post any url to download the last version of fedora in order to install ns2.35allinone to run zrp protocol.

thanks a lot