jueves, 3 de enero de 2008

HOWTO: Upgrade your Slackware 11 to 12

Slackware 12.0 was released on July 12th, 2007. With a new 2.6(.21.5) kernel (a good news for which we enjoyed this kernel a long time ago), KDE 3.5.7, XFce 4.4.1, HAL automounting for desktop users, Apache 2 (httpd) and PHP 5 among others.

This HOWTO was compiled from sites like circo Linux, soft-core and some others, so I'm writing my own experience when I upgrade my slack-box to completes version last christmas.

The first step is to get the last version of Slackware, to do this we can download the package series following this script written by Eric Hameleers, this script download all the packages from the slackware repository and make an ISO image on your HD.

Once we have the image fiile, we can mount it with the following command as root:

#mount -o loop slackware-12.0-install-dvd.iso /slack-12-iso/

After this, we should upgrade all the glibc packages (for each upgradepkg, explodepkg, installpkg, removepkg and pkgtool you must be root) go to the a/ directory and then:

#ugpradepkg glibc-solibs-2.5-i486-3.tgz
#ugpradepkg glibc-zoneinfo-2.5-noarch-3.tgz
#upgradepkg pkgtools-*.tgz

Now we need to remove old X packages, because they'll interfere with modular X instalation.

#cd /var/log/packages
#removepkg x11-* fontconfig* dejavu-ttf* ttf-indic-fonts*

This must be done before aaa_base update.
Then, in the same a/ directory run:

#upgradepkg aaa_base-12.0.0-noarch-1.tgz
#upgradepkg aaa_elflibs-12.0.0-i486-1.tgz
#upgradepkg aaa_terminfo-5.6-noarch-1.tgz

#upgradepkg –install-new *. tgz

Remember that option –install-new for the upgradepkg command skip the tgz files already installed
and it should upgrade the old ones with the new state of the art tgz packages.

Next, go to the library directory /l and:

upgradepkg –install-new glibc-2.5-i486-3.tgz
upgradepkg –install-new glibc-i18n-2.5-noarch-3.tgz
upgradepkg –install-new glibc-profile-2.5-i486-3.tgz
upgradepkg –install-new *. tgz

We can conitue with the rest of the packages following the next order: ap/, d/, kde/, n/, t/, tcl/, x/, and xap/ always using this command as root.

ugpradepkg –install-new *. tgz

I recommend to do this preferably in single user mode, to prevent the active services on our system.

No hay comentarios.: