Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
05-25-2007, 02:32 PM
|
#1
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Rep:
|
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
|
|
|
|
05-25-2007, 04:01 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
don't use that mirror list... as the error states, it no longer exists...
|
|
|
|
05-25-2007, 04:36 PM
|
#3
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
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.
|
|
|
|
05-26-2007, 02:28 AM
|
#4
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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.
|
|
|
|
05-26-2007, 03:30 AM
|
#5
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
/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?
|
|
|
|
05-26-2007, 05:03 PM
|
#6
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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.
|
|
|
|
05-26-2007, 05:04 PM
|
#7
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
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
|
|
|
|
05-26-2007, 05:38 PM
|
#8
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
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.
|
|
|
|
05-26-2007, 05:52 PM
|
#9
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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".
|
|
|
|
05-26-2007, 06:15 PM
|
#10
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
I think I will try that.
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/test/6.93/Fedora/i386/os/
I th
|
|
|
|
05-27-2007, 02:22 AM
|
#11
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
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
|
|
|
|
05-27-2007, 05:00 AM
|
#12
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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.
|
|
|
|
05-27-2007, 02:00 PM
|
#13
|
|
Member
Registered: Apr 2007
Distribution: Fedora 7,Windows 3.11-9X/ME,Windows 2000/XP/Vista
Posts: 107
Original Poster
Rep:
|
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.
|
|
|
|
05-27-2007, 08:05 PM
|
#14
|
|
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep: 
|
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.
|
|
|
|
05-31-2007, 05:18 PM
|
#15
|
|
Member
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336
Rep:
|
I think Fedora 7 is final. If that's the case, what files need to be updated with which baseurls?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
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
|
|
|
All times are GMT -5. The time now is 02:15 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|