快速业务通道

VirtualBox: uninstall 1.6.4 and install 2.0.2

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-07

VirtualBox-1.6.4 是直接在 openSUSE 网站下载的 VirtualBox-1.6.4-Linux_amd64.run 文件安装的.


在安装 VirtualBox-2.0.2_36488_openSUSE11-1.x86_64.rpm 时,出现了下面的错误提示.
--------------------------------------------------------
laptop-1420:/VirtualBox # rpm -Uvh VirtualBox-2.0.2_36488_openSUSE11-1.x86_64.rpm
error: failed to stat /home/wandering/.gvfs: Permission denied
Preparing... ########################################### [100%]
An old installation of VirtualBox was found. To install this package the
old package has to be removed first. Have a look at /etc/vbox/vbox.cfg to
determine the installation directory of the previous installation. After
uninstalling the old package remove the file /etc/vbox/vbox.cfg.
error: %pre(VirtualBox-2.0.2_36488_openSUSE11-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping VirtualBox-2.0.2_36488_openSUSE11-1
--------------------------------------------------------


很明显,先卸载 1.6.4 才能安装 2.0.2 版本.但是通过 openSUSE 的 YaST2 和 rpm 命令却找不到 1.6.4 的安装记录.
于是我检查了
/etc/vbox/vbox.cfg文件的内容:
--------------------------------------------------------
Empire CMS,phome.net

laptop-1420:/VirtualBox # cat /etc/vbox/vbox.cfg
# VirtualBox installation directory
INSTALL_DIR=''/opt/VirtualBox-1.6.4''
# VirtualBox version
INSTALL_VER=''1.6.4''
--------------------------------------------------------


OK,接下来直接消除
VirtualBox-1.6.4 相关数据吧.
--------------------------------------------------------
rm -r /opt/VirtualBox-1.6.4/
rm -r /etc/vbox/
--------------------------------------------------------


再来安装 2.0.2
--------------------------------------------------------
laptop-1420:/VirtualBox # rpm -ivh VirtualBox-2.0.2_36488_openSUSE11-1.x86_64.rpm
error: failed to stat /home/wandering/.gvfs: Permission denied
Preparing... ########################################### [100%]
1:VirtualBox ########################################### [100%]

Creating group ''vboxusers''. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Success!

Stopping VirtualBox kernel module done
--------------------------------------------------------




Empire CMS,phome.net

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号