Today While updating yum on one of Centos server I got the following error :
Error :
———————————————————————————————-
Transaction Check Error:file /usr/share/man/man1/xdelta.1.gz from
install of xdelta-1.1.4-1.el5.rf.x86_64 conflicts with file from package
xdelta-1.1.3-20.i386
Error Summary
———————————————————————————————-
I’ve checked the xdelta package on the server by running the following command :
———————————————————————————————-
[root@server~]# rpm -qa | grep xdelta
xdelta-1.1.3-20
xdelta-1.1.3-20
———————————————————————————————-
I found two pacakages were installed, I tried to remove one xdelta package but I got the error as below :
———————————————————————————————-
[root@server ~]# rpm –erase xdelta-1.1.3-20
error: “xdelta-1.1.3-20″ specifies multiple packages
———————————————————————————————-
I’ve tried following to resolve this by running following commands :
[root@server ~]# rpm -q xdelta
xdelta-1.1.3-20.x86_64
xdelta-1.1.3-20.i386
[root@server ~]# rpm -q –qf “%{NAME} %{VERSION} %{RELEASE} %{ARCH} %{VENDOR}\n” xdelta
xdelta 1.1.3 20 x86_64 CentOS
xdelta 1.1.3 20 i386 CentOS
And then removed unwanted rpm by running below command :
———————————————————————————————-
[root@server ~]# rpm -e xdelta-1.1.3-20.i386
———————————————————————————————-
And then again run
[root@server ~]# yum update
Its resolved. cheers!
No comments:
Post a Comment