RE: how to downgrade from CentOS 5.2 to CentOS 5.1?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Rudi Ahlers wrote:

> Johnny Hughes wrote:
> > Rudi Ahlers wrote:
> >> Johnny Hughes wrote:
> >>> Rudi Ahlers wrote:
> >>>> I've run into some trouble with a new cPanel VPS, and noticed that 
> >>>> it's running CentOS by default, installed via the CentOS http server.
> >>>>
> >>>> My question is, how do I downgrade CentOS to 5.1?
> >>>>
> >>>
> >>> There is no way to downgrade, however you can install from a 
> >>> centos-5.1 tree, but centos-5.1 is 5.2 minus a bunch of security 
> >>> upgrades.
> >>>
> >>> We will eventually be moving the 5.1 tree to vault.centos.org, but 
> >>> if you want to use it for an extended period of time, you should 
> >>> probably download the tree to a local mirror.
> >>>
> >> Ok, I understand that, I'm just trying to avoid downloading & 
> >> reinstalling the software on there already.....
> >>
> > You can do:
> >
> > rpm -qa --last > lastest_rpms
> >
> > then edit the file latest_rpms and see what was installed on the upgrade.
> >
> > You can then downgrade by hand the packages that are causing your 
> > problems or all of them using:
> >
> > rpm -Uvh --oldpackage --replacefiles <path_to_old_package>
> >
> 
> Yes, I could do it like this, but this is on a fresh installation of 
> CentOS, not an upgrade, so I have no packages to compare it to :(
> 

Well it's not really a "downgrade" then if it was never "upgraded" to
begin with?

Best thing to do is to create a local mirror of the 5.1 branch, re-install
from that mirror and make sure your systems yum off it until your
ready to switch to the 5.2 branch, which I also advise you make a local
repo of it, so in the future you can be fully in control of your change
management process.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux