[K12OSN] upgrades

Eric Harrison eharrison at mail.mesd.k12.or.us
Tue Sep 7 06:16:38 UTC 2004


On Mon, 6 Sep 2004, norbert wrote:

>Can I upgrade from 4.0.1 to 4.1 using apt or yum ? are there any 
>showstoppers to the upgrade and last what's the syntax ? ... apt-get 
>dist upgrade ? or do I need to modify the source list ?

You can do an upgrade with apt, yum, or up2date. It can be a bit
tricky, however. Try it out on a test system before thinking about
doing it on a production system.

I've had the best luck with yum. Edit /etc/yum.conf and point it
to the new repository (i.e. from ftp://k12linux.mesd.k12.or.us/yum/fedora
to ftp://k12linux.mesd.k12.or.us/yum/fc2) and run "yum upgrade". 
If the "yum upgrade" works, great. It probably won't, it will bomb
out with dependancy errors. That's where it gets tricky. You can try
running "yum list updates" and then running "yum update <package_names>"
with some of the packages listed in the "yum list updates". After a
while you get a good feel of what needs to be upgraded in what order.
I usually do "glibc glibc-common rpm rpm-python popt db4 compat-db"
first, then do the command line utilities, libraries, and GUI packages
in that order. Once you think you are done, run "yum upgrade" again.

As you can tell, it is often much easier to upgrade off the CDs ;-)

-Eric





More information about the K12OSN mailing list