我正在运行 Debian 10 并且安装了 VirtualBox,但现在它不会消失。尝试运行时,sudo apt purge virtualbox
我遇到以下输出:Virtual packages like 'virtualbox' can't be removed.
有人请帮忙!
dpkg -l virtualbox\*
输出:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================-===========================-============-=================================
un virtualbox <none> <none> (no description available)
ii virtualbox-6.0 6.0.22-137980~Ubuntu~bionic amd64 Oracle VM VirtualBox
un virtualbox-guest-additions-iso <none> <none> (no description available)
un virtualbox-ose <none> <none> (no description available)
un virtualbox-qt <none> <none> (no description available)
答案1
尝试sudo apt purge virtualbox-6.0
或sudo apt purge virtualbox*
答案2
使用:
sudo apt purge virtualbox.
(末尾有一个点),它将删除所有virtualbox*
包。