全部博文(113)
分类: LINUX
2011-02-18 11:53:35
在编译apache中发现在系统已安装有apr与apr-util控件,删除之。
error: "apr-util-1.2.7-7.el5_3.2" specifies multiple packages
error: "apr" specifies multiple packages
解决办法:
rpm -e –nodeps –allmatchs rpmPackage
[root@wood016 /]# rpm -qa |grep apr
apr-util-1.2.7-7.el5_3.2
apr-1.2.7-11.el5_3.1
apr-util-1.2.7-7.el5_3.2
apr-1.2.7-11.el5_3.1
xorg-x11-drv-dynapro-1.1.0-2
[root@wood016 /]# rpm -e apr-util-1.2.7-7.el5_3.2
error: "apr-util-1.2.7-7.el5_3.2" specifies multiple packages
[root@wood016 /]# rpm -e apr
error: "apr" specifies multiple packages
[root@wood016 /]# rpm -e apr --allmatches
error: Failed dependencies:
libapr-1.so.0 is needed by (installed) apr-util-1.2.7-7.el5_3.2.i386
libapr-1.so.0 is needed by (installed) subversion-1.4.2-4.el5_3.1.i386
libapr-1.so.0()(64bit) is needed by (installed) apr-util-1.2.7-7.el5_3.2.x86_64
libapr-1.so.0()(64bit) is needed by (installed) subversion-1.4.2-4.el5_3.1.x86_64
[root@wood016 /]# rpm -e apr-util --allmatches
error: Failed dependencies:
libaprutil-1.so.0()(64bit) is needed by (installed) subversion-1.4.2-4.el5_3.1.x86_64
libaprutil-1.so.0 is needed by (installed) subversion-1.4.2-4.el5_3.1.i386
[root@wood016 /]# rpm -e apr-util --allmatches --nodeps
[root@wood016 /]# rpm -e apr --allmatches --nodeps
[root@wood016 /]# rpm -qa |grep apr
xorg-x11-drv-dynapro-1.1.0-2
[root@wood016 /]#