LinuxQuestions.org

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

almost000 05-25-2007 02:32 PM

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

[root@al al]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Could not retrieve mirrorlist http://fedora.redhat.com/download/mirrors/fedora-core-6.93 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?


2.6.21-1.3189.fc7

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

/etc/yum.repos.d/fedora-core.repo
 
Code:

[core]
name=Fedora Core $releasever - $basearch
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=1
gpgcheck=1
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.
Code:

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


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

baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

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.
 
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/test/6.93/Fedora/i386/os/


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

yes
 
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 livna.org 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 11:55 PM.