CentOS 4.4 to CentOS 5 Upgrade
CentOS 4.4 to CentOS 5 Upgrade
Is there any supported (or unsupported) upgrade path from CentOS 4.4 ServerCD to CentOS 5?
Rgds,
D
Rgds,
D
Re: CentOS 4.4 to CentOS 5 Upgrade
Have you at least read the announcement mail ? it contains useful informations regarding upgrade ... : http://lists.centos.org/pipermail/centos-announce/2007-April/013660.html
Re: CentOS 4.4 to CentOS 5 Upgrade
FYI I am just in the process of doing this remotely on a server via SSH.
I like to live life on the edge, so I didn't do anything special apart from a "yum clean all" before upgrading. The only third party repository I am using is DAG.
I had problems with python, hal, pcmcia-cs and the rpm database, which I somehow corrupted then had to rebuild. I was forced to reinstall yum and other packages relating to rpm and python manually (ie. not with yum).
I was able to do a "yum upgrade rpm python" successfully, and am now sitting here waiting for "yum upgrade" to complete.
Will post more details when this completes (successfully I hope).
I like to live life on the edge, so I didn't do anything special apart from a "yum clean all" before upgrading. The only third party repository I am using is DAG.
I had problems with python, hal, pcmcia-cs and the rpm database, which I somehow corrupted then had to rebuild. I was forced to reinstall yum and other packages relating to rpm and python manually (ie. not with yum).
I was able to do a "yum upgrade rpm python" successfully, and am now sitting here waiting for "yum upgrade" to complete.
Will post more details when this completes (successfully I hope).
Re: CentOS 4.4 to CentOS 5 Upgrade
The first machine I tried to upgrade from 4.4 from disk. The upgrade got most of the way through and failed on PERL file. I shut down the machine and rebooted. It booted with some UDEV errors. Did a YUM update, it rebuilt the YUM indexes got the rest of the packages and installed them without a hitch. Re-booted again, this time with no errors on boot, all seems well.
Not what I wanted to have happen. It would scare me to death on my production web server. But it seems to have worked ok on this test server.
Not what I wanted to have happen. It would scare me to death on my production web server. But it seems to have worked ok on this test server.
Re: CentOS 4.4 to CentOS 5 Upgrade
I did an upgrade from rhel 4 to rhel and It was a pain, some services stopped working mostly because some major upgrades that have rh 5
Some advice from various users from rh was that i run a clean install its better
Some advice from various users from rh was that i run a clean install its better
Re: CentOS 4.4 to CentOS 5 Upgrade
Upgraded second server running CentOS 4.4 from CD. No GUI is installed and services running include Samba, sshd, cups and webmin (its a file and print server). Everything seems to have gone fine.
Re: CentOS 4.4 to CentOS 5 Upgrade
[quote]
arrfab wrote:
Have you at least read the announcement mail ? it contains useful informations regarding upgrade ... : http://lists.centos.org/pipermail/centos-announce/2007-April/013660.html[/quote]
But its far from clear, it says:
[quote]
- Disable all repositories, except the centos-5 OS and Updates repos
[/quote]
Shouldnt that be "CenOS-4 Base and Update repos"?
[quote]
- download and install the centos-release-5.x rpm, which will update your yum configs
[/quote]
Install how?
"rpm -i" or "rpm -u" and with which flags ("--nodeps --force" or)?
I've tried upgrading a freshly installed 4.4 (minimal install) using these steps:
init 3
rpm -Uvh --nodeps centos-release-5-0.0.el5.centos.2.i386.rpm
yum upgrade
But "yum upgrade" fails with these dependency errors:
Error: Unable to satisfy dependencies
Error: Package hal needs kernel < 2.6.17, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package lksctp-tools needs kernel < 2.6.10, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
Error: Package autofs needs kernel < 2.6.17, this is not available.
arrfab wrote:
Have you at least read the announcement mail ? it contains useful informations regarding upgrade ... : http://lists.centos.org/pipermail/centos-announce/2007-April/013660.html[/quote]
But its far from clear, it says:
[quote]
- Disable all repositories, except the centos-5 OS and Updates repos
[/quote]
Shouldnt that be "CenOS-4 Base and Update repos"?
[quote]
- download and install the centos-release-5.x rpm, which will update your yum configs
[/quote]
Install how?
"rpm -i" or "rpm -u" and with which flags ("--nodeps --force" or)?
I've tried upgrading a freshly installed 4.4 (minimal install) using these steps:
init 3
rpm -Uvh --nodeps centos-release-5-0.0.el5.centos.2.i386.rpm
yum upgrade
But "yum upgrade" fails with these dependency errors:
Error: Unable to satisfy dependencies
Error: Package hal needs kernel < 2.6.17, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package lksctp-tools needs kernel < 2.6.10, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
Error: Package autofs needs kernel < 2.6.17, this is not available.
-
- Posts: 9
- Joined: 2006/08/30 14:16:38
- Contact:
Re: CentOS 4.4 to CentOS 5 Upgrade
i have the same problem....
Re: CentOS 4.4 to CentOS 5 Upgrade
I had a successful upgrade by first upgrading "centos-release" and "centos-release-notes" packages, then manually upgrading the kernel, rebooting, then removing all other kernels, then manually installing "initscripts", "SysVinit" and "libselinux" (where needed I used --nodeps), then the yum upgrade ran without a hitch.
I must note that I used the centos repositories and the rpmforge one configured for centos 5.
If I'll do an upgrade again soon, I'll post detailed instructions.
I must note that I used the centos repositories and the rpmforge one configured for centos 5.
If I'll do an upgrade again soon, I'll post detailed instructions.
Re: CentOS 4.4 to CentOS 5 Upgrade
Hello,
What I see is the biggest problem on upgrade from ver. 4.4 to ver. 5.0 the next (at least in my case).
I have installed both X86_64 and I386 (or I686) rpm files installed on server, e.g.:
ImageMagick.x86_64
ImageMagick.i386
When i make yum remove all files with I386 then almost everything was OK :-D
Only problem was been with files like you:
Error: Package hal needs kernel < 2.6.17, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package lksctp-tools needs kernel < 2.6.10, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
Error: Package autofs needs kernel < 2.6.17, this is not available.
and then i install the kernel manually with --nodeps (like rpm -Uvh kernel-2* --nodep)
and then reboot machine (Yes it is rebooting OK :)
and on the end i just make
yum upgrade
of course on the end of upgrade the yum was not working anymore ;), just error:
[root@tower dd]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named cElementTree
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Mar 14 2007, 19:01:42)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
Then I make the next:
rpm -e yum-updatesd-3.0.5-1.el5.centos.2
rpm -e yum-metadata-parser-1.0-8.fc6.x86_64
rpm -e yum-cron-0.1-1.el5.centos.noarch
rpm -e yum-3.0.5-1.el5.centos.2.noarch
rpm -e python-elementtree-1.2.6-7.el4.rf
rpm -i python-elementtree-1.2.6-5.x86_64.rpm
rpm -i yum*
and then yum was working OK..
Of course a lot of thing's are not working yet (like MailScanner, bind, etc...) but I will make
end of this day (I hope) :)
I hope it will help to you..
Jani
What I see is the biggest problem on upgrade from ver. 4.4 to ver. 5.0 the next (at least in my case).
I have installed both X86_64 and I386 (or I686) rpm files installed on server, e.g.:
ImageMagick.x86_64
ImageMagick.i386
When i make yum remove all files with I386 then almost everything was OK :-D
Only problem was been with files like you:
Error: Package hal needs kernel < 2.6.17, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package lksctp-tools needs kernel < 2.6.10, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
Error: Package autofs needs kernel < 2.6.17, this is not available.
and then i install the kernel manually with --nodeps (like rpm -Uvh kernel-2* --nodep)
and then reboot machine (Yes it is rebooting OK :)
and on the end i just make
yum upgrade
of course on the end of upgrade the yum was not working anymore ;), just error:
[root@tower dd]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named cElementTree
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Mar 14 2007, 19:01:42)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
Then I make the next:
rpm -e yum-updatesd-3.0.5-1.el5.centos.2
rpm -e yum-metadata-parser-1.0-8.fc6.x86_64
rpm -e yum-cron-0.1-1.el5.centos.noarch
rpm -e yum-3.0.5-1.el5.centos.2.noarch
rpm -e python-elementtree-1.2.6-7.el4.rf
rpm -i python-elementtree-1.2.6-5.x86_64.rpm
rpm -i yum*
and then yum was working OK..
Of course a lot of thing's are not working yet (like MailScanner, bind, etc...) but I will make
end of this day (I hope) :)
I hope it will help to you..
Jani