 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

11th June 2009, 04:28 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: /dev/zero
Posts: 39

|
|
|
YUM: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora
I installed F11 from scratch on a desktop and now I have trouble using yum
Code:
# yum repolist all
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
# yum info kernel
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
# yum list installed
Loaded plugins: refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
I have been looking around but cannot find a solution.
Hope someone can help me.
Thanks,
BB
|

11th June 2009, 10:10 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: Milan - Italy - Europe
Posts: 28

|
|
|
I had your same problem just now, with a fresh install of Fedora 11 from KDE-Live CD.
Googling I find out that that error depends on the fact that yum is not able to get the file from the repository.
So, if your network connection is ok (like mine) the cause could be the fact that, due to traffic overload, yum can't get the mirror list from fedora server (that is its default conf on F11)
So I commented in .repo definitions the mirrorlist line and I substituted it whith a baseurl to a speedy server near me; I'm in europe so I choose :
baseurl=http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/11/Everything/x86_64/os/
I hope this could be of help for you.
ciao
Licia
|

12th June 2009, 08:04 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: /dev/zero
Posts: 39

|
|
I commented the mirrorlist and uncommented the baseurl (see yum repo below) and
Code:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=ftp://ftp.cru.fr/pub/linux/fedora/releases/11/Everything/x86_64/os/
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
this works but for livna and rpmfusion repositories, I can't make them work.
For rpmfusion-free, i have:
Code:
[rpmfusion-free]
name=RPM Fusion for Fedora $releasever - Free
baseurl=http://fr2.rpmfind.net/linux/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/
#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/os/
#mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever-$basearch
I get this error now. I have a connection and I can browse websites with firefox but yum still doesn't work properly:
Code:
# yum repolist all
Loaded plugins: refresh-packagekit
http://fr2.rpmfind.net/linux/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
If i open http://fr2.rpmfind.net/linux/rpmfusi...ata/repomd.xml in firefox, i get the xml file. So why does it say "name or service not known"?
BB
|

12th June 2009, 10:56 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
You can try
and then or any other yum command as a test. If that doesn't work you can try
Code:
yum clean all
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
then try any yum command again.
Edit: The only file in the Livna repository is libdvdcss so once you get that file you don't need to have Livna enabled.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

12th June 2009, 11:29 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: /dev/zero
Posts: 39

|
|
Here is what you suggest.
Code:
# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
Code:
# yum info kernel
Loaded plugins: refresh-packagekit
http://download.fedoraproject.org/pub/fedora/linux/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
Code:
# rm -rf __db.00*
# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
# rpm --rebuilddb
# yum repolist
Loaded plugins: refresh-packagekit
http://download.fedoraproject.org/pub/fedora/linux/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
I think this is related to ipv6 (see my post here: http://forums.fedoraforum.org/showthread.php?t=223585).
I disabled ipv6 but still cannot resolve names.
|

12th June 2009, 11:36 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
I didn't suggest this
It was this
Code:
rm -f /var/lib/rpm/__db*
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

12th June 2009, 11:36 AM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 1

|
|
|
I have the same problem.
When I changed the *.repo file in /etc/yum.repos.d,it works.
"change all 'https' to 'http' in each *.repo file"
such as:
-------------------------------------------------------------
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=ftp://ftp.cru.fr/pub/linux/fedora/releases/11/Everything/x86_64/os/
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearchthe
--------------------------------------------------------------
change is like this
--------------------------------------------------------------
"mirrorlist=https:"--->"mirrorlist=https:"
|

12th June 2009, 12:18 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: /dev/zero
Posts: 39

|
|
I know using
Code:
baseurl=ftp://ftp.cru.fr/pub/linux/fedora/releases/11/Everything/x86_64/os/
in fedora.repo works but for rpmfusion-free.repo, i get the same problem anyway:
Code:
# yum repolist
Loaded plugins: refresh-packagekit
http://fr2.rpmfind.net/linux/rpmfusion/free/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again
|

12th June 2009, 04:13 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Location: /dev/zero
Posts: 39

|
|
|
[SOLVED] YUM: Error: Cannot retrieve repository metadata (repomd.xml) for repository:
It turned out that my local DNS server was the problem so I stopped it and added in /etc/hosts these 2 lines:
Code:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
Doing so also solved the wget problem. ( http://forums.fedoraforum.org/showthread.php?t=223585)
|

12th June 2009, 04:15 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,929

|
|
|
Nice! I'll have to add that solution to my notes...
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

14th June 2009, 10:21 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Posts: 6

|
|
|
Hi,
thanks a lot to 'betsubetsu' .Now my yum is working perfectly.
|

19th June 2009, 11:46 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: North West UK.
Age: 32
Posts: 510

|
|
Quote:
Originally Posted by betsubetsu
It turned out that my local DNS server was the problem so I stopped it and added in /etc/hosts these 2 lines:
Code:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
Doing so also solved the wget problem. ( http://forums.fedoraforum.org/showthread.php?t=223585)
|
Good find, I just got this issue. Fix worked great.
__________________
He who asks a question is a fool for a minute; he who does not remains a fool forever.
|

22nd June 2009, 10:27 PM
|
|
Registered User
|
|
Join Date: Jun 2009
Posts: 2

|
|
hi,
I have the same problem, but i TURN OFF service NetworkManager ... and it work
|

4th July 2009, 12:13 PM
|
|
Registered User
|
|
Join Date: Aug 2008
Location: London, UK
Posts: 69

|
|
Quote:
Originally Posted by betsubetsu
It turned out that my local DNS server was the problem so I stopped it and added in /etc/hosts these 2 lines:
Code:
80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org
Doing so also solved the wget problem. ( http://forums.fedoraforum.org/showthread.php?t=223585)
|
How do you stop it? Thanks.
|

10th July 2009, 12:27 AM
|
|
Registered User
|
|
Join Date: Jul 2009
Posts: 1

|
|
|
How Can I stop That?
Quote:
Originally Posted by rastanja
hi,
I have the same problem, but i TURN OFF service NetworkManager ... and it work 
|
Hi, How can we stop that? thanks
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:01 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|