一、环境
# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.8 (Final)
Release: 5.8
Codename: Final
注:CentOS 5.8的操作系统;
# getconf LONG_BIT
64
注:64的操作系统;
# rpm -qa | grep zlib
zlib-1.2.3-7.el5
zlib-1.2.3-7.el5
注:存在32、64位 两个zlib依赖包;
二、问题
# rpm -e zlib-1.2.3-7.el5
error: "zlib-1.2.3-7.el5" specifies multiple packages
注:尝试卸载zlib包,报错了;
三、解决方法
# rpm -e --allmatches --nodeps zlib-1.2.3-7.el5
四、校验
# rpm -qa | grep zlib
没了,搞定!
时间: 2024-10-24 08:14:31