我使用 RHEL 5 操作系统,我想要将 OpenLDAP 版本从 2.3.x 更新到 2.4.11 或更高版本,我根据安装包安装了 OpenLDAP(v 2.3.x)。
我首先使用以下命令删除 OpenLDAP 包
rpm -e --allmatches openldap
但是,它失败了并打印了以下输出:
error: Failed dependencies:
liblber-2.3.so.0()(64bit) is needed by (installed) autofs-5.0.1-0.rc2.143.el5.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) cyrus-sasl-2.1.22-5.el5_4.3.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) sendmail-8.13.8-8.el5.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) nss_ldap-253-25.el5.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) sudo-1.7.2p1-5.el5.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) apr-util-1.2.7-11.el5.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) python-ldap-2.2.0-2.1.x86_64
liblber-2.3.so.0()(64bit) is needed by (installed) subversion-1.4.2-4.el5_3.1.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) libuser-0.54.7-2.1.el5_4.1.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) nfs-utils-lib-1.0.8-7.6.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) gnupg-1.4.5-14.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) cyrus-sasl-2.1.22-5.el5_4.3.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) sendmail-8.13.8-8.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) nss_ldap-253-25.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) sudo-1.7.2p1-5.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) GConf2-2.14.0-9.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) nfs-utils-1.0.9-44.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) cups-1.3.7-18.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) apr-util-1.2.7-11.el5.x86_64
libldap-2.3.so.0()(64bit) is needed by (installed) subversion-1.4.2-4.el5_3.1.x86_64
libldap_r-2.3.so.0()(64bit) is needed by (installed) autofs-5.0.1-0.rc2.143.el5.x86_64
libldap_r-2.3.so.0()(64bit) is needed by (installed) python-ldap-2.2.0-2.1.x86_64
openldap is needed by (installed) nfs-utils-lib-1.0.8-7.6.el5.x86_64
openldap is needed by (installed) sendmail-8.13.8-8.el5.x86_64
openldap >= 2.1.22 is needed by (installed) python-ldap-2.2.0-2.1.x86_64
liblber-2.3.so.0 is needed by (installed) nss_ldap-253-25.el5.i386
liblber-2.3.so.0 is needed by (installed) apr-util-1.2.7-11.el5.i386
liblber-2.3.so.0 is needed by (installed) subversion-1.4.2-4.el5_3.1.i386
libldap-2.3.so.0 is needed by (installed) nss_ldap-253-25.el5.i386
libldap-2.3.so.0 is needed by (installed) GConf2-2.14.0-9.el5.i386
libldap-2.3.so.0 is needed by (installed) apr-util-1.2.7-11.el5.i386
libldap-2.3.so.0 is needed by (installed) subversion-1.4.2-4.el5_3.1.i386
我担心,如果我删除所有依赖包,我的 RHEL 5 就会崩溃。请告诉我是否有更好的解决方案。