centos-bounces@centos.org <> scribbled on Sunday, April 09, 2006 12:43 AM:
I had a CentOS 4.1 installation (LVM over RAID1), and tried to do an update to the 4.3 release. Nothing too fancy, I did all the partitions with the graphical installer for the 4.1 Version.
%<-----snip
I'm not a newbie, I have quite a while working with linux, and I just want to aware people who are going to perform an update, skipping some version in between or perhaps moving to 4.3 to be very carefull in the process. I think this was a experience that was worth telling and researching to find out what really happend.
Why did you not just 'yum upgrade' to go from 4.1 to 4.3?
Mike
On Sun, 2006-04-09 at 00:54 -0500, Mike Kercher wrote:
centos-bounces@centos.org <> scribbled on Sunday, April 09, 2006 12:43 AM:
I had a CentOS 4.1 installation (LVM over RAID1), and tried to do an update to the 4.3 release. Nothing too fancy, I did all the partitions with the graphical installer for the 4.1 Version.
%<-----snip
I'm not a newbie, I have quite a while working with linux, and I just want to aware people who are going to perform an update, skipping some version in between or perhaps moving to 4.3 to be very carefull in the process. I think this was a experience that was worth telling and researching to find out what really happend.
Why did you not just 'yum upgrade' to go from 4.1 to 4.3?
Mike
Mike is exactly right ...
All CentOS installs are upgradeable with the major version via yum at all times. (That is, any CentOS-4 is upgradable to the latest CentOS-4.x version via yum ... any CentOS-3 is upgradeable to any CentOS-3.x, etc.)
What is not recommended (for yum) is upgrading between major versions ... ie upgrading via yum to CentOS-4 from CentOS-3. In fact, we recommend that you backup data, do a new install and move your data over when you move from one major CentOS version to another.
Johnny Hughes wrote:
Why did you not just 'yum upgrade' to go from 4.1 to 4.3?
Mike
Mike is exactly right ...
All CentOS installs are upgradeable with the major version via yum at all times. (That is, any CentOS-4 is upgradable to the latest CentOS-4.x version via yum ... any CentOS-3 is upgradeable to any CentOS-3.x, etc.)
What is not recommended (for yum) is upgrading between major versions ... ie upgrading via yum to CentOS-4 from CentOS-3. In fact, we recommend that you backup data, do a new install and move your data over when you move from one major CentOS version to another.
I did answer part of this on the previous one, to Mike.
I did before successfully upgrades from RH9 even, to Centos4, using the CD's set, without a problem
Mike Kercher wrote:
centos-bounces@centos.org <> scribbled on Sunday, April 09, 2006 12:43 AM:
I had a CentOS 4.1 installation (LVM over RAID1), and tried to do an update to the 4.3 release. Nothing too fancy, I did all the partitions with the graphical installer for the 4.1 Version.
%<-----snip
I'm not a newbie, I have quite a while working with linux, and I just want to aware people who are going to perform an update, skipping some version in between or perhaps moving to 4.3 to be very carefull in the process. I think this was a experience that was worth telling and researching to find out what really happend.
Why did you not just 'yum upgrade' to go from 4.1 to 4.3?
As I said before, this is a production server, so downtime is an important issue and had to be minimized. On the other hand, in my country, internet is very expensive, we pay US$100 for 128Kbps. That's the bandwidth I have available on the server, not to mention the technology used for wireless, which gave us huge delays, so the performance I get is even lower than 128Kbps. I know that yum could take me to the 4.3 with no problem, except for the time that it would have required. I also know that some versions of you (not the one shipped with 4.1) have the option to "download only", that might have help me, that is why I went to the option of upgrading via de CDs. I appriciate the suggestion, but I'm was not asking for that, I'm just trying to figure it out, what did happend. Is CentOS (or RHEL) not upgradeable skipping versions through CD or DVD?
As I said before, this is a production server, so downtime is an important issue and had to be minimized. On the other hand, in my country, internet is very expensive, we pay US$100 for 128Kbps. That's the bandwidth I have available on the server, not to mention the technology used for wireless, which gave us huge delays, so the performance I get is even lower than 128Kbps. I know that yum could take me to the 4.3 with no problem, except for the time that it would have required. I also know that some versions of you (not the one shipped with 4.1) have the option to "download only", that might have help me, that is why I went to the option of upgrading via de CDs. I appriciate the suggestion, but I'm was not asking for that, I'm just trying to figure it out, what did happend. Is CentOS (or RHEL) not upgradeable skipping versions through CD or DVD?
Sure, the DVD includes a yum repository on it, or you can sxtract the iso images to make a yum repository of your own. Running an internal yum mirror in such a fasion is an easy way to cut down on bandwidth use depending on how many machines you have. From here you can even rsync from available mirrors to maintain updates between versions.
-- Any sufficiently advanced technology is indistinguishable from magic. -Arthur C. Clarke
Jim Perrin wrote:
As I said before, this is a production server, so downtime is an important issue and had to be minimized. On the other hand, in my country, internet is very expensive, we pay US$100 for 128Kbps. That's the bandwidth I have available on the server, not to mention the technology used for wireless, which gave us huge delays, so the performance I get is even lower than 128Kbps. I know that yum could take me to the 4.3 with no problem, except for the time that it would have required. I also know that some versions of you (not the one shipped with 4.1) have the option to "download only", that might have help me, that is why I went to the option of upgrading via de CDs. I appriciate the suggestion, but I'm was not asking for that, I'm just trying to figure it out, what did happend. Is CentOS (or RHEL) not upgradeable skipping versions through CD or DVD?
Sure, the DVD includes a yum repository on it, or you can sxtract the iso images to make a yum repository of your own. Running an internal yum mirror in such a fasion is an easy way to cut down on bandwidth use depending on how many machines you have. From here you can even rsync from available mirrors to maintain updates between versions.
I mean through a "normal" upgrade via the installer, booting from the media (CD or DVD), I knew about getting a local yum repository with the createrepo, I use it on intranet to update several installation with a local mirror when updates for relases are available. I did not think of extracting packages from CD, I rather use the CD, and to be honest, even if I knew before, I still would have gone with the CD direct option.