Upgrading to 2.3 to 3.0 -- Shotgun Approach, one more thing...

Dan A. Milisic yellowdog-general@lists.terrasoftsolutions.com
Thu May 1 00:17:01 2003


If anyone is brave enough to try this on an existing install, make =
-sure-
you delete any old 2.3 .rpm's in /var/cache/apt/archives/ before you
download the 3.0 updates!  Bad things will obviously happen if you force
install multiple versions of the same package.  On a clean install,
/var/cache/apt/archives/ would have already been empty.  Don't let this =
bite
you! =20

D.
-----Original Message-----

BrianDump... My experience upgrading a "Base" YDL 2.3 install to 3.0 on
OldWorld Mac (PM8600) so as always, YMMV.  I guess backing off some 2.3
packages from an existing install (Gnome/Kde pkgs and associated .prefs,
etc..) would yield similar results.

Installing YDL 3.0 from a 2.3 CD.

Do a clean YDL 2.3 install, select the option "Base Install" and set up =
your
networking

Login as root:

Edit your /etc/apt/sources.list to point at your 3.0 repository=20

Pick a 3.0 Mirror, this as an example:

rpm ftp://ftp.uit.no/pub/linux/yellowdog/ apt/3.0 main  =20
rpm-src ftp://ftp.uit.no/pub/linux/yellowdog/ apt/3.0 main  =20

rpm ftp://ftp.uit.no/pub/linux/yellowdog/ apt/3.0 update    =20
rpm-src ftp://ftp.uit.no/pub/linux/yellowdog/ apt/3.0 update    =20

Once that's done.

[root@powermac root]# apt-get update
[root@powermac root]# apt-get dist-upgrade

After apt gets all the updates, rpm will proceed to freak out when it
attempts to install the 3.0 .rpm files:

rpmlib(PartialHardlinkSets) <=3D 4.0.4-1 is needed by ...

Okay then, fine.  Shotgun time:=20

[root@powermac root]# Rpm -uvh --nodeps --force
/var/cache/apt/archives/*.rpm

rpm force-installs *all* the 3.0 rpm's we got from the dist-upgrade =
earlier.

[root@powermac root]# reboot

<.>
_________________________________

Yellow Dog Linux release 3.0 (Sirius)
Kernel 2.4.20 on an ppc

powermac login:

Looks good. login and dist-upgrade again:

[root@powermac root]# apt-get dist-upgrade

At this point apt will start to upgrade packages that were missed on the
last go-round.  It will warn you that your computer may explode or kill =
your
dog in the upgrade process.  Reply to apt's dire warnings with "Yes, do =
as I
say!"

These packages get the upgrade treatment on the second-go round, FYI:
=20
initscripts
pam
cyrus-sasl-plain
cyrus-sasl-gssapi
cyrus-sasl-md5
openldap
libuser
passwd
usermode
compat-libstdc++
compat-db
compat-pwdb
gnupg
kbd

Apt should successfully install the above packages.  Not sure if all the
reboots are necessary but.

[root@powermac root]# reboot

There may be a couple of minor startup errors you'll have to correct, =
but at
this point you've officially joined the 3.0 party.  I browsed the =
package
list and used apt-get to put together a Gnome 2 environment.  Went =
directly
to rpmfind and grabbed synaptic, a fantastic apt frontend I used a lot =
in
Debian, makes distro customization a breeze.  I have an OldWorld box so =
I
had to mess with getting the 'official' kernel downloaded and on to my =
HFS
partition for BootX.

So far I'm very, very impressed with YDL 3.0.  The stock 2.4.20 kernel
handled all my semi-weird hardware with no hiccups (except an =
intermittent
Opti USB chip bug, but that's not the distro's fault.)  MOL ran OSX 10.2
with minimal configuration, and dare I say it, faster than native OSX in
some areas.  Not to mention my 8600's 'control' Video now runs OSX in
1280x1024xThousands, something OSX could -never- do natively.  And OSX's
volume control slider now works in MOL where it didn't natively.  Go =
figure.


This is a release worth owning on CD, the test-drive just sold me ;)

Regards,
Dan.