Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know how to upgrade form CentOS 4 to CentOS 5? I tried following the instructions in the release announcement which are as follows:
Quote:
The best way to move from CentOS-4 to CentOS-5 is via an installer
upgrade. However if you must do it online, here are some tips to help:
- Remove as many packages as you can, strip it right back to the
original OS if possible
- Backup everything
- Disable all repositories, except the centos-5 OS and Updates repos
- init 3
- shutdown as many services as possible
- download and install the centos-release-5.x rpm, which will update
your yum configs
- run a yum upgade ( not update )
However, when I ran yum upgrade, I got a bunch of messages telling me that certain packages were not compatible with the kernel.
For now, I just install the centos-release-4.4 package again which fixed yum. Anyone have any ideas?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
If you have read and followed the first tip;
- Remove as many packages as you can, strip it right back to the original OS if possible
the yum upgrade will work. A lot of the third party replacement rpm packages (and there dependencies) are problematic when doing any major version upgrade. Best advice is to back up the entire /etc directory and any important personal data and settings then do a clean wipe and load install. Red Hat also advices not to do an update/upgrade installation and to do a fresh clean new installation.
I'm not saying it cannot be done, but it takes some planning, preparation and time before attempting the upgrade. The backup of the entire /etc directory and important personal data and settings is always a good idea in any case.
I upgraded my systems from CentOS-4.4 (with custom packages installed) to RHEL5, took about three hours and a half total for each system. Most of that time was for making a backup and cleaning the systems from conflicting third party packaging out, only about 20 minutes was used for the upgrade. Some third party packaging (KDE 3.5.6 for example) remained in place for the upgrade and did not cause an issue.
It is advisable to also have any third party repos reconfigured to the new version of the OS before starting the yum upgrade path. It is almost impossible to upgrade the OS and not upgrade the third party packaging.
Thanks for the help. All of the packages I have installed are from either the centos base repo or the dag weeirs repo, so I don't think I need to remove any packages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.