[CentOS] Re: How Undo Yum Upgrade

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


Maciej Żenczykowski wrote:

> so you want to first install an older rpm rpm and any dependecies that 
> may force, and only afterwards mess around with the rest ;)

Here is where I am, thanks for the hand holding:

#remove not needed rpms
rpm -e libselinux-devel rpm-devel neon-devel
rpm -e rpm-build

#install old yum to be able to remove dependencies libxml2-python24
rpm --oldpackage -Uvh  yum-2.4.0-1.centos4.noarch.rpm
Preparing...                ########################################### 
[100%]
    1:yum                    warning: /etc/yum.conf created as 
/etc/yum.conf.rpmnew
########################################### [100%]

#move yum out of directory, not shown for brevity
#remove more rpm dependencies
rpm -e libxml2-python24
rpm -e rpm-python24

#current hurdle:
rpm --test --oldpackage -Uvh  *.rpm
Preparing...                ########################################### 
[100%]
         package python-2.3.4-14.1 is already installed
         file /usr/lib/libxml2.so.2 from install of libxml2-2.6.16-6 
conflicts with file from package libxml2_2-2.6.22-1_21.el4.at
         file /usr/lib/librpm-4.3.so from install of 
rpm-libs-4.3.3-11_nonptl conflicts with file from package 
librpm4.3-4.3.3-8_41.el4.at
         file /usr/lib/librpmbuild-4.3.so from install of 
rpm-libs-4.3.3-11_nonptl conflicts with file from package 
librpm4.3-4.3.3-8_41.el4.at
         file /usr/lib/librpmdb-4.3.so from install of 
rpm-libs-4.3.3-11_nonptl conflicts with file from package 
librpm4.3-4.3.3-8_41.el4.at
         file /usr/lib/librpmio-4.3.so from install of 
rpm-libs-4.3.3-11_nonptl conflicts with file from package 
librpm4.3-4.3.3-8_41.el4.at




More information about the CentOS mailing list