-   Linux - Newbie (
-   -   Yum error Cannot open/read repomd.xml??? F7 (

almost000 05-25-2007 02:32 PM

Yum error Cannot open/read repomd.xml??? F7

[root@al al]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Could not retrieve mirrorlist error was
[Errno 14] HTTP Error 404: Date: Fri, 25 May 2007 19:22:48 GMT
Server: Apache/2.2.3 (Red Hat)
Content-Length: 320
Content-Type: text/html; charset=iso-8859-1

Error: Cannot open/read repomd.xml file for repository: core

What do I do to fix tbat?


acid_kewpie 05-25-2007 04:01 PM

don't use that mirror list... as the error states, it no longer exists...

almost000 05-25-2007 04:36 PM

Where do I get a list?
I did not know that. what do I change it to. is there a new list? I see that what to change now, but were do I get the list.

jay73 05-26-2007 02:28 AM

Inspect the fedora-core.repo under /etc/yum.repos.d. If the line "mirrorlist=..." is preceded by a # mark, remove that hash and try again. It should work because the mirrorlist is actually ALL of the available mirrors.

Also make sure that enabled is set to 1.

You can also remove the hash in front of baseurl.

And install the yum-fastestmirror plugin; it will automatically search the fastest server for you. That can really speed things up at times.

almost000 05-26-2007 03:30 AM


name=Fedora Core $releasever - $basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

name=Fedora Core $releasever - $basearch - Debug
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

name=Fedora Core $releasever - Source
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

What your saying my file is fine. so its something else?

jay73 05-26-2007 05:03 PM

No, I'm afraid it's not fine at all. Where is the baseurl for your [core] section? That baseurl specifies both version and arch; if this information is missing, there is no way that yum could fetch any packages.

almost000 05-26-2007 05:04 PM

Duwngrade you?
I herad dwon grading yum might help. but I an not sure were to get the RPM from.

[root@al yum.repos.d]# yum --version

almost000 05-26-2007 05:38 PM

What do I put in for the baseUrl
I see that that is missing in all of the yum.repos.d one thing seem that this is a lot eaaier the working with windows. :) were do you think I shuld get that info, to place in the baseurl.

jay73 05-26-2007 05:52 PM


One more thing, I'm not sure whether there are any repositories available yet for Fedora 7. If not, you'll have to use the Fedora Core 6 repositories instead - in which case you have to replace "$releasever" in your repo files with "6".

almost000 05-26-2007 06:15 PM

I think I will try that.

I th

almost000 05-27-2007 02:22 AM

wow there alot of them
all the baseurl were missing.
makes me wnonder why core is one place and update is in a diffent place
why are they not in the same parent folder.

Well it works :) thank you

jay73 05-27-2007 05:00 AM

Hmm, are you aware that the baseurl looks a little different for each repo file? Like for the core repo, it ends in "OS", but the updates repo probably has something rather like "updates". So if you used the same baseurl for all of your repos, you won't by able to access anything else than the core repo = no updates and no extras.

almost000 05-27-2007 02:00 PM

that is why it took me so long to reply back. to find them all. what do you think would casue them not to add the baseURL. I tried adding the baseURL. do you think would cause that. I uninstaled and reinsalled it and it did the same think with no baseurl. what do you think would cause that.

jay73 05-27-2007 08:05 PM

Well,as Fedora 7 is still in its release candidate stages (although I expect to see the official release within the next two weeks), I guess there may still be some uncertainty about the exact baseurls. It may be more interesting to drop the baseurl altogether rather than include one that may be outdated in two weeks because of the rapid succession of betas and release candidates.

punt 05-31-2007 05:18 PM

I think Fedora 7 is final. If that's the case, what files need to be updated with which baseurls?

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