How to remove VirtualBox 3.1.8

今天启动 VirtualBox 时提示说有 3.2.2 版可用,于是在第一时间下载了 rpm 来安装。可是安装时提示一大堆的文件冲突,我按经验就先卸载老版本

yum remove VirtualBox

可是以前管用的命令,在卸载 3.1.8 版时不管用了,提示

No Match for argument: VirtualBox
No Packages marked for removal

大概 VirtualBox 改了 package name,惭愧,我也不会用 yum 来查看已安装的 package list。Google 了一会,这条命令倒是管用:

yum remove /usr/share/applications/virtualbox.desktop

于是见到了久违了的

Loaded plugins: refresh-packagekit
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package VirtualBox-3.1.x86_64 0:3.1.8_61349_fedora11-1 set to be erased
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package            Arch       Version                      Repository     Size
================================================================================
Removing:
VirtualBox-3.1     x86_64     3.1.8_61349_fedora11-1       installed      90 M

Transaction Summary
================================================================================

Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]:

卸载后安装 VirtualBox 3.2.2 倒很顺利,安装后我注意到 package name 是 VirtualBox-3.2,以后如要卸载它就可以用

yum remove VirtualBox-3.2

VirtualBox 3.2.2 首次被 Oracle rebrand,但我没注意到有什么其他改动。

VirtualBox rebranded by Oracle
VirtualBox rebranded by Oracle

Leave a comment

Your email address will not be published. Required fields are marked *