[CentOS] Re: How Undo Yum Upgrade

Sat Mar 4 12:32:45 UTC 2006
John Thomas <gmane-2006-01-01 at jt-socal.com>

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.

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

Following was my draft strategy prior to reading your message:

Not sure what to do with these:
	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

Uninstall first:
	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

Leave:
	Updated: perl-XML-LibXML.i386 1.58-4.el4.at
	Installed: libxml2_2.i386 2.6.22-1_21.el4.at
	Installed: pythonabi.i386 2.3.4-1.el4.at

Think okay to downgrade/reinstall:
	Updated: rpm-build.i386 4.4.2-15.1_58.el4.at
	Updated: libselinux.i386 1.23.10-1.99_3.el4.at
	Updated: popt.i386 1.10.2-15.1_58.el4.at
	Updated: neon.i386 0.24.7-5.99_2.el4.at
	Updated: rpm.i386 4.4.2-15.1_58.el4.at
	Updated: libxml2.i386 2.6.22-1_21.el4.at
	Updated: libxml2-python.i386 2.6.22-1_21.el4.at
	Updated: rpm-python.i386 4.4.2-15.1_58.el4.at
	Updated: yum.i386 2.4.2-69.el4.at
	Erased: rpm-libs

Uninstall Last:
	Installed: libxml2-python24.i386 2.6.22-1_22.el4.at
	Installed: rpm-python24.i386 4.4.2-11_9.el4.at


RPMs from centos server 4.2 cd that seem relevant
	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

> also, did you think about taking this issue up with the repository 
> maintainer ? These look like pkgs from atrpms - and Axel has been fairly 
> responsive recently to issues such as this.

It is most certainly my fault *not* his.  I had added a packed of his to 
includepkgs=  but removed it when I found it had too many dependencies, 
but I neglected to change enabled= back to 0.




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