English version

Yesterday, I finally decided to update my main box to Fedora 11 and kick out an old hard drive that by dying in the box was causing me some troubles.

I therefore chose to upgrade to Fedora 11 using the DVD. Everything went fine except when I rebooted and tried an update.

Indeed the command:

yum update

was giving me a nice

No module yum found

which is nice but not very handy to update this fresh F11...

Thanks to Seth Vidal we debuggued the issu which was basically due to the switch to python 2.6 in F11 instead of python 2.5 in F10. I could therefore access to yum by putting in front of the command

PYTHONPATH=/usr/lib/python2.5/site-packages/

example:

PYTHONPATH=/usr/lib/python2.5/site-packages/ yum list update

But in fact it has not been enough to update the system and finally we simply did:

rpm -Uvh  http://ftp.ndlug.nd.edu/pub/fedora/linux//updates/11/i386/yum-3.2.23-3.fc11.noarch.rpm
yum clean all
yum update

Well I had to remove a couple a packages that were conflicting but at the end everything went fine and smoothly and this machine is now also running Fedora 11.

Conclusion: Thanks Seth, Thanks Yum !
It also remembers me a sentence read somewhere:

A problem ? Window reboot, linux be root !



French Version

Hier j'ai enfin décidé de me prendre par la main et de passer mon serveur à Fedora 11. Le but étant d'en profiter pour retirer un vieux disque dur qui mourrant faisait pas mal planter la machine.

J'ai donc mis le dvd dans le lecteur et demandé de faire une mise à jour (plutôt qu'une réinstall complète).

La surprise a eu lieu au redémarrage en effet la commande

yum update

me retournais un joli

No module yum found

Ce qui est bien mais pas top pour mettre à jour...

Mais grâce à Seth Vidal j'ai pu débugguer le problème, en fait il vient tout simplement du passage à python 2.6 en F11 contre python 2.5 en F10. Nous avons donc pu accéder à yum en faisant précéder la commande de:

PYTHONPATH=/usr/lib/python2.5/site-packages/

exemple:

PYTHONPATH=/usr/lib/python2.5/site-packages/ yum list update

Seulement dans mon cas cela ne fut pas suffisant. Il a finalement fallu faire:

rpm -Uvh  http://ftp.ndlug.nd.edu/pub/fedora/linux//updates/11/i386/yum-3.2.23-3.fc11.noarch.rpm
yum clean all
yum update

Bon j'ai du retirer quelques paquets pour lesquels il y avait des conflits mais sinon la mise à jour s'est bien passée et mon serveur tourne maintenant sous F11 :-)

Conclusion: Merci Seth, Merci Yum
Ça me rappelle un peu cette phrase lue quelque part:

A problem? Window reboot, linux be root !