fedora专题

fedora9的rpm中出现了虚幻的软件包

rpm出问题了,看现象吧。

[root@wupengchong INSTALLED]# rpm -qa|grep -i virtualbox
VirtualBox-1.6.6_35336_fedora9-1.i386
VirtualBox-2.0.4_38406_fedora9-1.i386

看,VirtualBox有两个版本。

可我却根本找不到执行文件。

[root@wupengchong INSTALLED]# yum install VirtualBox-2.0.4_38406_fedora9-1.i386.rpm

Dependencies Resolved

================================================================================
Package Arch Version               Repository                                  Size
================================================================================
Updating:
VirtualBox
i386 2.0.4_38406_fedora9-1 VirtualBox-2.0.4_38406_fedora9-1.i386.rpm    30 M

Transaction Summary
================================================================================
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)

Total download size: 30 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
package VirtualBox-2.0.4_38406_fedora9-1.i386 is already installed

Error Summary

我觉得rpm数据库里的vitualbox是虚幻的,无法执行又无法重装。我如何将其从rpm数据库中删除呢?

解决方案:

没有想象中的复杂,之前试了rpm –rebuild,还有修改pgp,最后找到解决方法,是rpm -ivh –force VirtualBox-2.0.4_38406_fedora9-1.i386.rpm。

over~

发表您的评论

请您放心,您的信息会被严格保密。必填项已标识 *