我无法卸载 Virtualbox

我无法卸载 Virtualbox

我正在尝试从我的 Ubuntu 20.04 中卸载 VirtualBox,因为它要么安装不正确,要么无法正常工作。但是当我在终端中运行删除和清除命令时,它表现得好像没有安装 Vbox,而我可以搜索大量 Vbox 文件,甚至可以启动应用程序本身,它运行良好。所以,它已安装在系统中。但终端命令无法正确找到它?我会发布我使用的卸载命令

anjug@anjug-vostro-15-3568:~$ sudo apt purge virtualbox
[sudo] password for anjug: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'virtualbox' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libllvm10 linux-modules-extra-5.4.0-58-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

anjug@anjug-vostro-15-3568:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libllvm10 linux-modules-extra-5.4.0-58-generic
0 upgraded, 0 newly installed, 2 to remove and 8 not upgraded.
After this operation, 264 MB disk space will be freed.
Do you want to continue? [Y/n] Y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 227277 files and directories currently installed.)
Removing libllvm10:amd64 (1:10.0.0-4ubuntu1) ...
Removing linux-modules-extra-5.4.0-58-generic (5.4.0-58.64) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...

相关内容