Page 1 of 1

Problems upgrading Libxm2 centos 6.10

Posted: 2019/05/10 11:51:51
by dodyryda
Hi.

I've inherited a server and had some issues upgradeing via Yum. Issue with multilib versions on libmxl2. for some reason previous admin has installed a later version of libxml2 than available from teh repo's.

Can anyone advise a safe way to downgrade to correct centos 6.10 version?

root@webserver www]# cat /etc/redhat-release
CentOS release 6.10 (Final)
[root@webserver www]# rpm -qa>grep libxml2
[root@webserver www]# rpm -qa|grep libxml2
libxml2-2.9.7-3.0.cf.rhel6.x86_64
python2-libxml2-2.9.7-3.0.cf.rhel6.x86_64

Re: Problems upgrading Libxm2 centos 6.10

Posted: 2019/05/10 13:02:23
by dodyryda
tried yum distro-sync but this didn;t work. looks as though previous admin was using city-fan repo.. which is not recommended.. It's not listed in repolist
but still this package remains after disto-sync.. any tips?

Re: Problems upgrading Libxm2 centos 6.10

Posted: 2019/05/10 14:46:17
by TrevorH
The city-fan repo is a disaster of monumental proportions and should be avoided.

You'll need to disable and remove the city-fan repo before you start then try using yum downgrade libxml2 though we do not supply a python*-libxml2 package and you may need to remove that before you try.

Re: Problems upgrading Libxm2 centos 6.10

Posted: 2019/05/10 15:09:08
by dodyryda
HI thanks alot for this.. was on the way there. I removed python2-libxml2 and then had to downgrade libxslt also then the libxml2 downgrade worked.. Hopefully this is all he installed..

Re: Problems upgrading Libxm2 centos 6.10

Posted: 2019/05/10 15:17:23
by TrevorH
rpm -qa | grep ".cf." might help or install and use the keychecker package from EPEL which summarise installed packages grouped by GPG signing key so that you can see what came from where.