PDA

View Full Version : Downgrade Fedora


JMO
2008-06-08, 02:49 PM CDT
Is there anyway to downgrade system packages to a specific version of Fedora?
I activated the Rawhide repositories and that was wrong.- I want to save the home folder files, but I can't find a way to just downgrade, without having to do a clean installation.

Thanks in advance.

Firewing1
2008-06-08, 03:43 PM CDT
My friend did the same a few weeks ago and it messed up his system really badly (not the upgrade, but trying to downgrade) :(

You can force a downgrade by grabbing the RPMs and running rpm --force --oldpackage old_rpm1.rpm old_rpm2.rpm in a terminal. I highly recommend backing up before reinstalling or trying to downgrade just incase, but after the backup if you want to try the downgrade before a fresh install, install yum-utils. It's got a great "yumdownloader" script that will download but not install RPMs for you.
yumdownloader --enablerepo=updates --enablerepo=fedora --disablerepo=development package.arch
will download the latest version of 'package' for you. Be sure to replace "arch" with your architecture - For example i386 or x86_64.
Edit: I just remembered, if that yumdownloader command fails, edit the fedora.repo and fedora-updates.repo files in /etc/yum.repos.d/ and replace $releasever with 9.
Firewing1

ogetbilo
2008-06-08, 04:52 PM CDT
It's a nasty process. While there is a possibility of success, you can easily mess things up. I'd recommend backing up your /home folder. Burn a CD or DVD, or use a flash card etc, then either try to downgrade (if you are adventurous) or make a clean install.

For future reference, I'd recommend keeping the home folder in a separate partition. I usually make (at least) two 20GB root (/) partitions for OS' along with a swap and a much larger /home partition.

One of the 20GB partition has the OS that I'm using (F8 right now). The other 20GB partition is my playground (kubuntu, F9 or rawhide etc). If anything goes bad I format that partition and start over. This way my home folders don't get messed up.

JMO
2008-06-08, 08:35 PM CDT
Thanks a lot. I will try those.
It's a good idea to keep te home on different partitions. I use to have one to store things that were important, but never one for my home folder. I will have it on mind on future installations.