I am testing the likelyhood of updating a couple RH9 systems to centos 5 386. I found at document that talked about updating to centos 4. steps being: 1.) backup 2.) rpm --import http://pubmirrors.reflected.net/centos/5/os/i386/RPM-GPG-KEY-centOS-5 rpm -Uvh --nodeps http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/yum-3.0.5-1.el5.cent... rpm -i --nodeps --force http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/centos-release-5-1.0... yum upgrade
Everything was progressing until I did tte "yum upgrade" I got an error about not finding a yum package.
"There was a problem importing one of the python modules required to run yum. The error leading to this problem was: No module named yum"
What do I do now...
Thanks,
Jerry
On Fri, May 02, 2008 at 02:47:11PM -0400, Jerry Geis wrote:
http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/yum-3.0.5-1.el5.cent... rpm -i --nodeps --force
That's not going to work, because you're missing needed deps. Nodeps doesn't actually do any magic -- it just lets you install packages which may be broken once installed.
"There was a problem importing one of the python modules required to run yum. The error leading to this problem was: No module named yum" What do I do now...
I suppose that you could try building a yum package for RHL 9 and going from there. But I think you're going end up doing a huge amount of clean-up work after this project is completed even if it's successful. Better to back up your data and configuration, do a clean install, and then proceed with a nice fresh system.
On Fri, May 2, 2008 at 12:47 PM, Jerry Geis geisj@pagestation.com wrote:
I am testing the likelyhood of updating a couple RH9 systems to centos 5 386. I found at document that talked about updating to centos 4. steps being: 1.) backup 2.) rpm --import http://pubmirrors.reflected.net/centos/5/os/i386/RPM-GPG-KEY-centOS-5 rpm -Uvh --nodeps http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/yum-3.0.5-1.el5.cent... rpm -i --nodeps --force http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/centos-release-5-1.0... yum upgrade
Everything was progressing until I did tte "yum upgrade" I got an error about not finding a yum package.
"There was a problem importing one of the python modules required to run yum. The error leading to this problem was: No module named yum"
What do I do now...
Thanks,
There are significant changes in the kernel, software, ext3 etc. The only way I would trust an update from RHL-9 to EL-5 would be to do a DVD upgrade... and then I would probably say its faster to do a new install and reinstall old software.
Step 1, undo what has been done and never use a force or nodeps!
Step 2, upgrade up2date to centos 3 (more on this when I find our notes)
Step 3, update all packages which are not customized.
Step 4, baby steps on customized configs/packages. ( you will need a lot of compat rpms to work with.)
Step 5, get upgraded to 4, then 5
We have upgraded all of out 7.x and 9 systems to centos 4. Except one, it has sendmail, apache, etc incompatibilities.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Jerry Geis Sent: Friday, May 02, 2008 2:47 PM To: CentOS ML Subject: [CentOS] RH9 to centos 5 386
I am testing the likelyhood of updating a couple RH9 systems to centos 5 386. I found at document that talked about updating to centos 4. steps being: 1.) backup 2.) rpm --import http://pubmirrors.reflected.net/centos/5/os/i386/RPM-GPG-KEY-centOS-5 rpm -Uvh --nodeps http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/yum-3.0.5- 1.el5.centos.5.noarch.rpm rpm -i --nodeps --force http://pubmirrors.reflected.net/centos/5/os/i386/CentOS/centos-release-5- 1.0.el5.centos.1.i386.rpm yum upgrade
Everything was progressing until I did tte "yum upgrade" I got an error about not finding a yum package.
"There was a problem importing one of the python modules required to run yum. The error leading to this problem was: No module named yum"
What do I do now...
Thanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.