Kla*_*uer 12 uninstall virtualbox
我对 linux 并不陌生,不得不面对偶尔出现的奇怪的包或安装情况,但这对所有人来说都是最重要的。此时我只想用火杀死它!
我的 Virtualbox-5.1 处于有点混乱的状态。几个月前我尝试升级到它时似乎出了点问题,我从来没有费心去调查。自从尝试安装它后,每次升级软件包时都会收到错误消息。再具体一点:
Running VMs found
VirtualBox is currently running. Please close it and try again. Please note that it can take up to ten seconds for VirtualBox (in particular the VBoxSVC daemon) to finish running.
Run Code Online (Sandbox Code Playgroud)
现在我做了平时ps -aux | grep vbox和ps -aux | grep virtualbox我可以向你保证,没有VBOX进程正在运行。
我还检查/tmp了应命名为“.vbox-username-ipc”的任何锁定文件。它不在那里。
我不知道我的系统是如何处于这种状态的,但我非常想删除 virtualbox 而不必重新安装。任何输入?
The*_*Bat 21
我有同样的问题,但只是有点不同。我尝试重新安装 virtualbox(从发行版切换到正式版)但卸载失败,因此我无法删除或安装新副本。我设法通过创建一个空文件来解决这个问题:
/usr/lib/virtualbox/prerm-common.sh
编辑:使文件可执行 chmod +x /usr/lib/virtualbox/prerm-common.sh
然后运行 sudo apt-get remove virtualbox
小智 13
我有同样的问题。我通过杀死所有 VB 进程来解决它。
获取所有包含VB的进程
ps -A | grep VB
Run Code Online (Sandbox Code Playgroud)然后用命令杀死所有进程
sudo kill <pid>
Run Code Online (Sandbox Code Playgroud)替换<pid>为您从上述命令获得的进程的进程 ID。
然后运行
sudo apt-get remove virtualbox-* --purge
Run Code Online (Sandbox Code Playgroud)| 归档时间: |
|
| 查看次数: |
14760 次 |
| 最近记录: |