LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Yum error Cannot open/read repomd.xml??? F7 (https://www.linuxquestions.org/questions/linux-newbie-8/yum-error-cannot-open-read-repomd-xml-f7-556689/)

jay73 05-31-2007 08:35 PM

I imagine that this issue was solved for the official release. You shouldn't have to edit anything unless you find that you can't install any additional packages using yum or Add/Remove Software.

Dummy-in-Linux 05-31-2007 10:23 PM

Getting in contact with Fedora update server can be a bit difficult for a few days as everybody is trying to download the latest version.....

punt 06-01-2007 06:26 AM

Quote:

Originally Posted by jay73
I imagine that this issue was solved for the official release. You shouldn't have to edit anything unless you find that you can't install any additional packages using yum or Add/Remove Software.

I got the error in the subject of this thread, and the search led me here.

Code:

# yum -y upgrade
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
Could not retrieve mirrorlist http://fedora.redhat.com/download/mirrors/updates-released-fc7 error was
[Errno 14] HTTP Error 404: Date: Thu, 31 May 2007 22:14:08 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 324
Content-Type: text/html; charset=iso-8859-1

updates                  100% |=========================| 3.6 kB    00:00   
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/7/i386/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml file
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates


jay73 06-01-2007 07:51 AM

I see 31 May in there; the repositories were not opened yet. They should be available starting today.

punt 06-01-2007 08:21 AM

Quote:

Originally Posted by jay73
I see 31 May in there; the repositories were not opened yet. They should be available starting today.

Thanks. I was not aware of that.

punt 06-01-2007 01:26 PM

Okay - still seeing the error. Not sure if I should still wait or maybe I'm doing something wrong.

Code:

# yum -y upgrade
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
fedora                    100% |=========================| 2.1 kB    00:00   
Could not retrieve mirrorlist http://fedora.redhat.com/download/mirrors/updates-released-fc7 error was
[Errno 14] HTTP Error 404: Date: Fri, 01 Jun 2007 18:25:45 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 324
Content-Type: text/html; charset=iso-8859-1

updates                  100% |=========================| 3.6 kB    00:00   
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/7/i386/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml file
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates

Is that right? Should I just wait it out?

jay73 06-01-2007 01:41 PM

That still seems normal; the error appears to be related exclusively to the updates repo - which makes sense because that one was scheduled to be the last to be opened. As a little experiment, could you open the file /etc/yum.repos.d/updates-repo and set the "enabled" item to 0 rather than 1? (This has the effect of disabling it).
If my suspicions are correct, yum should run perfectly fine after that. Of course, the updates repo won't be available anymore but you can simply re-enable it as soon as it does get opened to the public (I think there aren't any updates yet anyway - Fedora has barely been released).

Or here is an alternative where you don't have to edit any files:

yum --disablerepo fedora-updates install (package name)

(the "fedora-updates" part assumes that the repo file in /etc/yum.repos.d is actually called "fedora-updates.repo" - if that's a wrong assumption, you will have to adjust the command accordingly). As soon as the updates repo comes up, the "disablerepo ..." option can be dropped.

punt 06-01-2007 02:11 PM

Thanks. Looks like it's downloading a plethora of files now, so hopefully this will complete the upgrade. :)

punt 06-02-2007 08:19 PM

I think I'm in trouble. :P

Code:

# yum -y update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Could not retrieve mirrorlist http://fedora.redhat.com/download/mirrors/updates-released-fc7 error was
[Errno 14] HTTP Error 404: Date: Sun, 03 Jun 2007 01:16:00 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 324
Content-Type: text/html; charset=iso-8859-1

updates                  100% |=========================| 3.6 kB    00:00   
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/7/i386/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml file
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates

When enabled is set to 0, I have dependency issues.

Code:

--> Finished Dependency Resolution
Error: Missing Dependency: python-optik is needed by package up2date
Error: Missing Dependency: libedataserver-1.2.so.7 is needed by package pidgin
Error: Missing Dependency: python-abi = 2.4 is needed by package 4Suite
Error: Missing Dependency: python(abi) = 2.4 is needed by package up2date
Error: Missing Dependency: python(abi) = 2.4 is needed by package rhnlib
Error: Missing Dependency: python(abi) = 2.4 is needed by package 4Suite

Ah well. :(

jay73 06-03-2007 03:10 AM

I'm afraid those are the limitations that come with being an early adopter. Still, I think it's weird that a package from the core repo should depend on something from the updates repo; after all, the core repo offers essentially the same as the cds/dvd. Unless you are upgrading an FC6 install instead of installing to a fresh partition.

Whatever, I just checked the mirrors and apparently there still isn't any updates repo yet.

punt 06-03-2007 08:58 AM

Quote:

Originally Posted by jay73
I'm afraid those are the limitations that come with being an early adopter.

Yeah. I suppose I'll wait a week or two. I hope I didn't break anything with whatever I tried thus far. ;)

I generally don't try things out early, but I jumped the gun on this one.

eazhar 06-03-2007 04:02 PM

i had the same exact problem but when i went into that repo file, i found all the baseurls were commented out. Very strange. Any ideas as to why this happens when i upgraded to FC7?

almost000 06-03-2007 05:49 PM

comment out
 
that is no fair. I had to guess were at. could someone tell me what the name of the add/remove software name is. I uninstalled it and forgot the name of it. I think its starts with a p amd ents with a t and no it would not open for me so I had to do someing. when I read on adding a repo page I see then talking about getting the repo file. that would have been nice. since the repo file is mainly the same from computer to computer. and some How I used yum to get from FC5 to FC7.

http://docs.fedoraproject.org/yum/en...ositories.html

Dummy-in-Linux 06-05-2007 12:36 AM

Maybe related question, does Fedora 7 start to use "up2date" again. I believed it was replaced in Fedora Core 6 already.

Brydon 06-05-2007 08:23 AM

Ok here goes, after I upgraded from F6 to F7 I had the same error.I edited all my fedora*.repo files and removed "core/" from all the URLs. Everything works GREAT now.

Hope this helps.


All times are GMT -5. The time now is 04:19 AM.