[NTLUG:Discuss] What designates what version you're running?
Paul Ingendorf
pauldy at wantek.net
Sat Feb 5 20:41:27 CST 2005
YMMV on this but here goes I decided now was a good time to upgrade a box I
am running here to fc3 using the following steps I took from
http://www.linux.duke.edu/~skvidal/misc/fc2-fc3-update-with-yum.txt I have
annotated the areas that did not work and put in the extra commands I needed
to do in order to make it work.
from http://www.linux.duke.edu/~skvidal/misc/fc2-fc3-update-with-yum.txt
BACKUP YOUR DATA
- run rpm -q kernel kernel-smp
compare the results to the kernel you are running (uname -r).
run 'rpm -e' for each of the kernels that you are not using
ex:
rpm -e kernel-2.6.5-1.358 kernel-smp-2.6.5-1.358
This will make things a lot easier on you, trust me, and it frees up a
HUGE
amount of disk space.
- clean up your yum dirs:
yum clean all
- download yum from the fedora core 3 tree and update it:
rpm -Uvh yum-2.1.11-3.noarch.rpm
- download fedora-release from the fedora core 3 tree and update it:
rpm -Uvh fedora-release-3-8.i386.rpm
[pauldy]
mv /etc/yum.conf /etc/yum.conf-old
mv /etc/yum.conf.rpmnew /etc/yum.conf
[/pauldy]
- run a yum list updates to get the metadata and make sure everything is
working:
yum list updates
you should see a lot of packages from that output.
[pauldy]
rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY
rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY-fedora
[/pauldy]
- Now you're ready to run the update:
yum upgrade
- Let yum do it's thing (confirming when prompted, of course).
- For gnome users you will want to run:
yum groupupdate "GNOME Desktop Environment"
to get the latest set of packages for GNOME.
- Then reboot your system and make sure you select the new kernel as the
default.
[pauldy]
After all this I had to reconfigure a lot of files about 5 hours. What I
did was go through and see which ones had rpmsave instead of rpmnew I then
checked out the differences in each of these files and incorporated them
together doing the same for rpmnew afterwards.
[/pauldy]
More information about the Discuss
mailing list