Yellow Dog Solutions

TOPIC: How to upgrade from 2.1 to 2.2



Introduction
The upgrade procedure uses the apt software. This whole process requires that your system has clean RPM dependencies. If you don't, apt will compain and exit. There are various things you can do to try to clean dependencies, but this is one of the reasons you shouldn't install RPMs from other distributions or use the rpm flags '--force --nodeps'.



1) install apt (http://www.terraplex.com/~dburcaw/apt-0.3.19cnc55-0.21.1b.ppc.rpm)
2) Make sure the following are the only uncommented lines in /etc/apt/sources.list:
rpm file:///tmp/ apt/2.2 main
rpm ftp://ftp.terrasoftsolutions.com/products/ydl/pub/yellowdog apt/2.2 update
3) mkdir /tmp/apt/2.2/base -p
4) insert YDL 2.2 CD
5) mkdir /mnt/tmp ; mount /dev/cdrom /mnt/tmp
6) cd /tmp/apt/2.2
7) ln -s /mnt/tmp/YellowDog/ppc/ RPMS.main
8) cd /tmp
9) genpkglist --bloat apt/2.2 main
10) apt-get update

May be some warnings about duplicate packages. This will not affect the upgrade procedure.

11) apt-get dist-upgrade

Some updates from the ftp site may be pulled. Keep the 2.2 CD-ROM in the drive as most of the packages on the CD will be installed unless it happens that apt fines a newer package on the ftp site. On my 2.1 system, which had a Developer Workstation install, roughly 4 megabytes of updates were pulled from the YDL FTP site.

Note: kernels will not be upgraded. If you want to use the YDL 2.2 kernel, run: apt-get install kernel BootX users will need to copy the new /boot/vmlinux to their Mac OS System Folders.

After the upgrade is complete, you should re-run things like Xconfigurator to configure your system for YDL 2.2's software. Also, if any software acts funny, you mind remove the preferences and re-run. Many programs such as GNOME might not properly convert preferences from GNOME 1.2 for GNOME 1.4.

Disclaimer: Fresh re-installs are always cleaner. They are advised over upgrades when possible.
This HOWTO was written by Dan Burcaw, Terra Soft Solutions



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation