PDA

View Full Version : After upgrading F8 to F9: Missing Fedora 9 repositories



Eos
18th May 2008, 03:44 PM
Hello!

I've upgraded Fedora 64bit from 8 to 9, everything's fine so far. But the core Fedora 9 repositories are missing.

When I check the "Software Sources" program, it shows me all the old Fedora 8 repositories (which are also still activated), plus these new ones from Fedora 9:

Fedora 9 - Test Updates Source
Fedora 9 - x86_64 - Test Updates
Fedora 9 - x86_64 - Test Updates Debug
Fedora - Rawhide
Fedora - Rawhide - Debug
Fedora - Rawhide - Source

None of these new repositories are activated, and I guess it's not recommended to use them anyway. When I query for updates, or want to install packages, all I get are packages from Fedora 8.

So I guess there must be a "Fedora 9" and a "Fedora 9 - x86_64 Updates" repository, which didn't install with the upgrade for some reason. Is there a way to install them manually?

Eos
20th May 2008, 08:40 PM
So I guess I'm the only one with this issue. Anyway, with some fiddling around I was able to fix the problem. Since the Fedora 9 installer actually forgot to add the main Repositories into /etc/yum.repos.d, I did that manually. What you have to do is:

Create a text file named something like "fedora9.repo" with the following content:



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


Then create another text file named something like "fedora9-updates.repo" with this content:



[updates]
name=Fedora 9 - x86_64 - Updates
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/x86_64/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=x86_64
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


Copy both files into /etc/yum.repos.d, this should grant access to all the Fedora 9 / Fedora 9 Updates packages