当我运行时sh /media/cdrom/VBoxLinuxAdditions.run
,收到以下警告消息:
You appear to have a version of the VBoxGuestAdditions software
on your system which was installed from a different source or using a
different type of installer. If you installed it from a package from your
Linux distribution or if it is a default part of the system then we strongly
recommend that you cancel this installation and remove it properly before
installing this version. If this is simply and older or a damaged
installation you may safely proceed.
如何卸载Debian默认的VBoxGuestAdditions?
编辑:
阅读并尝试了jw013的答案后,我怀疑也许我只是不知道正确的软件包名称。我进行了更多搜索,发现可以通过运行查看安装的软件包列表dpkg -l
。所以我跑了
dpkg -l | grep virtualbox
然后我得到了
ii virtualbox-ose-guest-dkms ...
ii virtualbox-ose-guest-utils ...
ii virtualbox-ose-guest-x11 ...
然后我通过运行手动删除每个
apt-get remove virtualbox-ose-guest-dkms virtualbox-ose-guest-utils virtualbox-ose-guest-x11
到目前为止,看来这可能是解决方案,尽管这很奇怪,因为当我运行命令时,它想安装38个新软件包,其中大多数与xserver相关。
编辑2:
我尝试以全新安装方式进行上述安装(合理的最小化安装-使用businesscard.iso,当taskel出现时没有任何标记),然后按照此处的指示进行,一切正常!