Skip to content

Home > GNU/Linux > Flawless migration from Mandrake 9.1 to 9.2

Flawless migration from Mandrake 9.1 to 9.2

Monday 24 November 2003

Here are all steps needed to upgrade correctly your Mandrake station to get the newest version of your favorite distribution.

* you need to remove old repositories for your rpms. Remove (deselect if you are not sure) sources into rpmdrake.

* go to P.L.F and use easyurpmi to include the new repositories for the distribution.

* launch the command init 3 and then urpmi —auto-select —bug ’bug_directory’. I’ve included bug reports in this article so you cand find what didn’t work and verify by yourself.

This will select all packages that need to be updated and output any error in a clean way into the ’bug_directory’ if something goes wrong.

In my case, here what i have needed to do to get it working correctly (all the process took about one hour and half on a university internet connection, AMD XP 1600+ and 512 Mo DDR).

- urpmi —auto-select —bug ’bug_directory’ gives me a first error :

L'installation a échoué, il manque des fichiers:
/var/cache/urpmi/rpms/libexif9-0.5.12-2mdk.i586.rpm
/var/cache/urpmi/rpms/libbzip2_1-1.0.2-16mdk.i586.rpm
/var/cache/urpmi/rpms/libpisock++0-0.11.8-4mdk.i586.rpm
Vous devriez mettre à jour votre base de données urpmi

- so i manually add the incriminated rpms:

[root@pcumr70 root]# urpmi libexif
ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/9.2/i586/Mandrake/RPMS/libexif9-0.5.12-2mdk.i586.rpm
installation de /var/cache/urpmi/rpms/libexif9-0.5.12-2mdk.i586.rpm

Préparation...              ##################################################
1:libexif9               ##################################################

[root@pcumr70 root]# urpmi libbzip2
Les paquetages suivants contiennent libbzip2 : libbzip2_1 libbzip2_1-devel
[root@pcumr70 root]# urpmi libbzip2_1
ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/9.2/i586/Mandrake/RPMS/libbzip2_1-1.0.2-16mdk.i586.rpm
installation de /var/cache/urpmi/rpms/libbzip2_1-1.0.2-16mdk.i586.rpm

Préparation...              ##################################################
1:libbzip2_1             ##################################################
[root@pcumr70 root]# urpmi libpisock++
ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake/9.2/i586/Mandrake/RPMS/libpisock++0-0.11.8-4mdk.i586.rpm
installation de /var/cache/urpmi/rpms/libpisock++0-0.11.8-4mdk.i586.rpm

Préparation...              ##################################################
1:libpisock++0           ##################################################

- second urpmi —auto-select —bug ’bug_directory’ and get at the end :

L'installation a échoué:
       librpm-4.0.4.so est nécessaire à gnorpm-0.96-13mdk
       librpmdb-4.0.4.so est nécessaire à gnorpm-0.96-13mdk
       librpmio-4.0.4.so est nécessaire à gnorpm-0.96-13mdk

- the solution is obvious :

[root@pcumr70 root]# urpme gnorpm

- third urpmi —auto-select —bug ’bug_directory’

file /usr/share/man/man3/ssl-rand.3.bz2 from install of libopenssl0.9.7-devel-0.9.7b-4.1.92mdk conflicts with file from package libopenssl0-devel-0.9.6i-1.4mdk
file /usr/share/man/man3/ssl.3.bz2 from install of libopenssl0.9.7-devel-0.9.7b-4.1.92mdk conflicts with file from package libopenssl0-devel-0.9.6i-1.4mdk

- solved by :

[root@pcumr70 root]# urpme libopenssl0-devel-0.9.6
Les paquetages suivants contiennent libopenssl0\-devel\-0\.9\.6 : libopenssl0-devel-0.9.6i-1.4mdk
[root@pcumr70 root]# urpme libopenssl0-devel
Pour satisfaire les dépendances, les paquetages suivants vont être désinstallés
(9 Mo):
libbonoboui2_0-devel-2.2.0-1mdk
libgnome-vfs2_0-devel-2.2.2-1mdk
libgnome2_0-devel-2.2.0.1-2mdk
libgnomeui2_0-devel-2.2.0.1-2mdk
libopenssl0-devel-0.9.6i-1.4mdk
Est-ce correct ? (O/n)

- and then finally i have been able to upgrade flawlessly the station by urpmi —auto-select —bug ’bug_directory’.
After a while and 935 packages updated, i have been able to init 5, log in and discover the new world : gnome 2.4, evolution 1.4, mozilla 1.4, OpenOffice.org1.1 ...

Everything is clean, up and running, and i have not even needed to reboot !!!

(As a proof :
[stephane@pcumr70 tmp]$ uptime
18:21:09 up 41 days, 4:55, 12 users, load average: 0.21, 0.12, 0.09)

I hope you’ll be as happy as me, because "Vive urpmi"

Attached documents

Comment on this article