Linux卸载文件相同的rpm包
来源:互联网 发布:Linux断电文件丢失 编辑:程序博客网 时间:2024/04/28 01:57
/opt/firebird # rpm -aq | grep "FirebirdSS*"
FirebirdSS-2.5.1.26351-0
FirebirdSS-2.5.1.26351-0
查出两个一样的版本,怎么把两个都清除掉?
rpm -e --allmatches --nodeps "FirebirdSS-2.5.1.26351-0"
相关的资料:【引用】http://fengyaodong.iteye.com/blog/796218
rpm -e --allmatches --nodeps libevent-1.1a-3.2.1
升级时openssl遇到的怪胎,error: specifies multiple packages
error: specifies multiple packages 卸载openssl rpm包遇到的怪胎
[root@testserver openssl-0.9.8l]# rpm -qa | grep openssl
openssl-0.9.8e-12.el5
openssl-devel-0.9.8e-12.el5
openssl-devel-0.9.8e-12.el5
openssl-0.9.8e-12.el5
[root@testserver openssl-0.9.8l]# rpm -e openssl-0.9.8e-12.el5
error: "openssl-0.9.8e-12.el5" specifies multiple packages
[root@testserver openssl-0.9.8l]# rpm -e openssl-devel-0.9.8e-12.el5
error: "openssl-devel-0.9.8e-12.el5" specifies multiple packages
[root@testserver openssl-0.9.8l]# rpm -e --nodeps openssl-0.9.8e-12.el5
error: "openssl-0.9.8e-12.el5" specifies multiple packages
[root@testserver openssl-0.9.8l]# rpm -e --force openssl-0.9.8e-12.el5
error: "openssl-0.9.8e-12.el5" specifies multiple packages
[root@testserver openssl-0.9.8l]# rpm -e --justdb openssl-0.9.8e-12.el5
error: "openssl-0.9.8e-12.el5" specifies multiple packages
尝试卸载:
造成这个问题的主要原因是套件被重複 (强制) 安装了两次以上.
尝试了--nodeps, --force, --justdb都不行。结果碰巧解决!
通过man rpm,发现--allmatches应该可以解决这个问题.
[root@testserver openssl-0.9.8l]# rpm -e --allmatches --nodeps openssl*
[root@testserver openssl-0.9.8l]# rpm -qa | grep openssl
[root@testserver openssl-0.9.8l]#
OK,没有了!
- Linux卸载文件相同的rpm包
- Linux-rpm包卸载
- linux 里卸载rpm包
- linux安装卸载rpm包
- 7、 Linux的RPM软件包管理:RPM包的介绍、RPM安装、卸载等操作
- rpm卸载包的命令
- rpm卸载包的命令
- rpm卸载已经被删除文件的包
- Linux 下 RPM 包的安装、升级、卸载、查询
- Linux 中 RPM包 安装 查询 卸载命令的总结
- LINUX之RPM卸载已安装的包
- Linux下RPM包的安装及卸载
- Linux完全卸载通过rpm包安装的MySQL数据库
- LINUX删除或卸载已安装好的RPM包
- 误卸载linux自带的rpm包
- Linux 中 RPM包 安装 查询 卸载命令的总结
- Linux基础——rpm包的安装和卸载
- Apache Linux上RPM包卸载 备忘
- GCC编译器参数
- Tomcat免安装版配置方法
- 几大搜索引擎的网站提交入口
- 又到了一年总结经验的时候
- 将刚插入的记录的自增Id,插入到另一个字段中
- Linux卸载文件相同的rpm包
- 当程序崩溃的时候怎么办 part-1
- hdu2051 bitset
- UVA 11258 String Partition
- 鸟蛋孵化之路
- live555 移植
- I don’t want to see another “using namespace xxx;” in a header file ever again
- 十年对日软件开发你得到了什么?
- 构建高可扩Web架构和分布式系统实战(下)(转载自CSDN)