Re: How Undo Yum Upgrade

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



John Thomas wrote:
> Karanbir Singh wrote:
> 
>> for the time being, i'd suggest you also look at the output of 'rpm 
>> -qa --last' very carefully.
> Attached is rpm -qa --last .  In case it is helpful, I sorted that 
> output and compared it to the yum.log to see the differences.

no, you really dont want to sort the output of rpm --last, the aim if 
having it in that order is that you can then work back from the most 
recent change and go back in time to the last known good state. ( the 
date/time stamp is important - to me anyway )

> 
>> and the rpm --oldpackage option might come in handy - you should not 
>> need to uninstall anything, just move the pkgs to be installed into a 
>> new directory and then use something like 'rpm --oldpackage -uvh *.rpm'
> 
> This would be great.  I hope you are right.  My concern is the packages 
> include python, yum, and rpm.

so, make sure you are never without a rpm + python and yum pkg. this is 
where the --oldpackage comes in handy, you can use this to do a bunch of 
pkgs at one time.

-- 
Karanbir Singh : http://www.karan.org/ : 2522219@icq

[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