[CentOS] Re: How Undo Yum Upgrade

John Thomas gmane-2006-01-01 at jt-socal.com
Sat Mar 4 13:11:03 UTC 2006


Karanbir Singh wrote:
<snip>
> ... the aim of 
> 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 )

Hey, thanks for your thoughts.  Recent portions of rpm -qa --last are 
attached, in case it is helpful.  I feel like a deer in headlights.

<snip>
> 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.

My latest draft strategy (thoughts appreciated):

rpm --oldpackage -Uvh  *.rpm
in a directory containing:
	libselinux-1.19.1-7.i386.rpm
	libxml2-2.6.16-6.i386.rpm
	libxml2-python-2.6.16-6.i386.rpm
	neon-0.24.7-4.i386.rpm
	popt-1.9.1-11_nonptl.i386.rpm
	python-2.3.4-14.1.i386.rpm
	rpm-4.3.3-11_nonptl.i386.rpm
	rpm-libs-4.3.3-11_nonptl.i386.rpm
	rpm-python-4.3.3-11_nonptl.i386.rpm
	yum-2.4.0-1.centos4.noarch.rpm

Concerns (possibly not removed, or would RPM do this??, negative 
dependency??):
	Installed: libbeecrypt6.i386 4.1.2-9.2_11.el4.at
	Installed: librpm4.3.i386 4.3.3-8_41.el4.at
	Installed: librpm4.4.i386 4.4.2-15.1_58.el4.at
	Installed: python24.i386 2.4.1-2_8.el4.at
	Updated: libselinux-devel.i386 1.23.10-1.99_3.el4.at
	Installed: sqlite-devel.i386 3.2.2-1
	Updated: libxml2-devel.i386 2.6.22-1_21.el4.at
	Installed: neon-devel.i386 0.24.7-5.99_2.el4.at
	Updated: rpm-devel.i386 4.4.2-15.1_58.el4.at
	Installed: atrpms.noarch 67-1.at
	Installed: libxml2-python24.i386 2.6.22-1_22.el4.at
	Installed: rpm-python24.i386 4.4.2-11_9.el4.at

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rpm.qa.last.txt
URL: <http://lists.centos.org/pipermail/centos/attachments/20060304/7d56bc8e/attachment.txt>


More information about the CentOS mailing list