当我执行一个yum update时,我会得到以下错误:
Transaction Check Error:
file /usr/lib64/libecpg.so.6.1 from install of postgresql-libs-8.4.10-1PGDG.rhel5.x86_64 conflicts with file from package postgresql84-libs-8.4.9-1.el5_7.1.x86_64
file /usr/lib64/libecpg_compat.so.3.1 from install of postgresql-libs-8.4.10-1PGDG.rhel5.x86_64 conflicts with file from package postgresql84-libs-8.4.9-1.el5_7.1.x86_64
file /usr/lib64/libpgtypes.so.3.1 from install of postgresql-libs-8.4.10-1PGDG.rhel5.x86_64 conflicts with file from package postgresql84-libs-8.4.9-1.el5_7.1.x86_64
file /usr/lib64/libpq.so.5.2 from install of postgresql-libs-8.4.10-1PGDG.rhel5.x86_64 conflicts with file from package postgresql84-libs-8.4.9-1.el5_7.1.x86_64
file /usr/share/locale/pl/LC_MESSAGES/libpq5-8.4.mo from install of postgresql-libs-8.4.10-1PGDG.rhel5.x86_64 conflicts with file from package postgresql84-libs-8.4.9-1.el5_7.1.x86_64
file /usr/share/locale/pl/LC_MESSAGES/libpq5-8.4.mo from install of postgresql-libs-8.4.10-1PGDG.rhel5.x86_64 conflicts with file from package postgresql84-libs-8.4.9-1.el5_7.1.i386由于我已经使用yum安装了pgsql,所以我现在知道它可能如何发生冲突。
但这也没关系。
但是,我不知道如何解决这些问题,以便能够更新pgsql库。
有一个稍微有点相似问题,但这是关于安装i386和x86_64版本。
所以..。如何解决这个问题?
应要求,百胜的评论员:
repo id repo name status
addons CentOS-5 - Addons 0
base CentOS-5 - Base 3,558+8
epel Extra Packages for Enterprise Linux 5 - x86_64 6,808
extras CentOS-5 - Extras 269
ius IUS Community Packages for Enterprise Linux 5 - x86_6 149
kbs-CentOS-Extras CentOS.Karan.Org-EL5 - Stable 0
kbs-CentOS-Misc CentOS.Karan.Org-EL5 - Stable 0
pgdg84 PostgreSQL 8.4 5 - x86_64 161
rpmforge Red Hat Enterprise 5 - RPMforge.net - dag 10,899+1
updates CentOS-5 - Updates 442+24发布于 2011-12-07 01:55:49
冲突错误通常是由混合存储库造成的。试试这个:
# yum --disablerepo=pgdg84 install postgresql-libs发布于 2012-01-24 13:51:52
我遇到了一个类似的问题,尽管所有的冲突都是反对的
postgresql84-libs-8.4.6-1PGDG.rhel5.i386
我只使用x86_64,只需删除i386库就可以了。你可以试试这个:
yum remove postgresql84-libs-8.4.9-1.el5_7.1.i386
没有任何依赖项,所以我能够删除没有问题,在那之后,yum更新能够完成没有错误。
https://serverfault.com/questions/337964
复制相似问题