rpm:矛盾信息(已安装和未安装)


0

rpm (在RedHat EL 6上)给了我相互矛盾的信息:

[root@aphrodite Desktop]# rpm -e DeepFlow-1.0-1.el6.x86_64.rpm 
error: package DeepFlow-1.0-1.el6.x86_64.rpm is not installed
[root@aphrodite Desktop]# rpm -i DeepFlow-1.0-1.el6.x86_64.rpm
package DeepFlow-1.0-1.el6.x86_64 is already installed

我的包装既可以安装也可以不安装?我怎样才能收拾这个烂摊子?

Answers:


1

rpm -e将包名称作为参数,而不是整个rpm文件。试试这个:

 rpm -e DeepFlow

要么

 rpm -e DeepFlow-1.0

取决于在rpm db中注册为包名称的内容,其中一个应该可以工作。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.