LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-23-2007, 07:43 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
yum repository problem after system upgrade


Hi!
I have just made an upgrade from FC3 to FC4. everything seemed to go fine, but now when I try to do
Code:
 yum -y upgrade
, I get:
Quote:
Setting up Upgrade Process
Setting up Repos
updates-released 100% |=========================| 951 B 00:00
http://fedora.gtlib.cc.gatech.edu/pu...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://mirror.hiwaay.net/redhat/fedo...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
updates-re: ################################################## 782/782
extras : ################################################## 2871/2871
base : ################################################## 2771/2771
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package expat-devel.i386 0:1.95.8-6 set to be updated
---> Downloading header for gtk+ to pack into transaction set.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
.........
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
http://download.fedoraproject.org/pu...0-39.i386.rpm: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Error: failure: Fedora/RPMS/gtk+-1.2.10-39.i386.rpm from base: [Errno 256] No more mirrors to try.
What goes wrong? What should I change in my yum configuration?
thanks.

Last edited by xpucto; 11-23-2007 at 07:44 AM.
 
Old 11-23-2007, 08:20 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
I took a peak at a few of the mirrors... It looks like some of them are dropping everything below FC6. When you yum, it gets assigned a random mirror, which might not have the packages for FC4.

Go to /etc/yum.repos.d/ and look for a file that has "extras" in the name. I use F8, so I don't have extras anymore, so I don't know the exact name. Edit that file. It will look similar to this...
Code:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
In the first section, take the # off the beginning of the baseurl= line and add it to the mirrorlist= line. That will uncomment the first line and comment-out the second line. This way, you won't request a mirror server, and only go straight to the redhat server.

If you continue to have problems, do the same with the other repo files in that directory... fedora, updates, whatever-they-are.
 
Old 11-24-2007, 06:27 AM   #3
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 52
There is no longer support for Fedora Core 4. It has long since reached EOL. Time to upgrade to at least Fedora 7 if not Fedora 8.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM Repository problem jamessp007 Linux - Software 12 09-24-2007 11:43 PM
yum and repository problem ALUOp Linux - Software 1 08-21-2007 05:38 AM
Problem creating local Yum Repository DirkDiggler Linux - Software 1 05-25-2007 12:04 AM
Having a problem with the dries repository and yum squall1986 Linux - Software 2 11-21-2006 04:22 AM
Redhat AS server upgrade via Yum using CentOS repository? yilang Red Hat 1 04-15-2006 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration