Upgrading Fedora with Yum
By EricMesa
- 2 minutes read - 263 wordsI followed the procedure at http://fedoraproject.org/wiki/YumUpgradeFaq so the point of this is just to go over my experience with these steps.
-
Review and remove all .rpmsave and .rpmnew files before and after upgrading I basically did a locate, found them and deleted them.
-
for a in $(find /etc /var -name ‘*.rpm?*’); do b=${a%.rpm?*}; diff -u $a $b; done I did this, but I didn’t really know what to do with the results. It appears not to have mattered in this case
-
yum clean all
-
rpm -Uvh http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-8-3.noarch.rpm http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-notes-8.0.0-3.noarch.rpm
-
v /etc/yum.repos.d/fedora-updates.repo.rpmnew /etc/yum.repos.d/fedora-updates.repo mv /etc/yum.repos.d/fedora.repo.rpmnew /etc/yum.repos.d/fedora.repo I tried this, but it appeared to be irrelevant as the .rpmnew file was not created. Got an error about the file not existing.
-
ctrl + alt + F1
-
telinit 3
-
yum update rpm\* yum\
-
yum upgrade This is the part that takes the longest, but I think it took just a few hours max. The dependencies were resolved within about a half hour and the rest of the time was downloading and installing
-
yum install yum-utils; package-cleanup –orphans I did this, but they were mostly packages I didn’t care about too much - mostly some emulators.
-
yum groupupdate Base In my case, this only updated/installed one or two packages
I then realized I had not had freshrpms enabled so I enabled it and yum update , but some of them failed; due to conflicts with livna, I presume.
-
yum groupinstall sound-and-video (if you are using Gnome)
-
rpm -e –noscripts avahi-0.6.17-1.fc7
And then I was updated and everything I’ve used so far on there appears to be working correctly.