Não é possível limpar o virtualbox

0
$ uname -a
Linux mypcname 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) i686 GNU/Linux

Estou tentando remover o Virtualbox do meu sistema, mas não está funcionando. Com base nisso, parece que tudo foi removido:

$ sudo apt-get purge virtualbox*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'virtualbox-guest-additions-iso' for regex 'virtualbox*'
Note, selecting 'virtualbox-3.0' for regex 'virtualbox*'
Note, selecting 'virtualbox-3.1' for regex 'virtualbox*'
Note, selecting 'virtualbox-3.2' for regex 'virtualbox*'
Note, selecting 'virtualbox-source' for regex 'virtualbox*'
Note, selecting 'virtualbox-modules' for regex 'virtualbox*'
Note, selecting 'virtualbox-guest-dkms' for regex 'virtualbox*'
Note, selecting 'virtualbox-2.0' for regex 'virtualbox*'
Note, selecting 'virtualbox-2.1' for regex 'virtualbox*'
Note, selecting 'virtualbox-2.2' for regex 'virtualbox*'
Note, selecting 'virtualbox-qt' for regex 'virtualbox*'
Note, selecting 'virtualbox' for regex 'virtualbox*'
Note, selecting 'virtualbox-dbg' for regex 'virtualbox*'
Note, selecting 'virtualbox-guest-x11' for regex 'virtualbox*'
Note, selecting 'virtualbox-guest-source' for regex 'virtualbox*'
Note, selecting 'virtualbox-guest-additions' for regex 'virtualbox*'
Note, selecting 'virtualbox-ose' for regex 'virtualbox*'
Note, selecting 'virtualbox-guest-modules' for regex 'virtualbox*'
Note, selecting 'virtualbox-5.0' for regex 'virtualbox*'
Note, selecting 'virtualbox-guest-utils' for regex 'virtualbox*'
Note, selecting 'virtualbox-4.0' for regex 'virtualbox*'
Note, selecting 'virtualbox-4.1' for regex 'virtualbox*'
Note, selecting 'virtualbox-4.2' for regex 'virtualbox*'
Note, selecting 'virtualbox-4.3' for regex 'virtualbox*'
Note, selecting 'virtualbox-dkms' for regex 'virtualbox*'
Package 'virtualbox-modules' is not installed, so not removed
Package 'virtualbox-2.0' is not installed, so not removed
Package 'virtualbox-2.1' is not installed, so not removed
Package 'virtualbox-2.2' is not installed, so not removed
Package 'virtualbox-3.0' is not installed, so not removed
Package 'virtualbox-3.1' is not installed, so not removed
Package 'virtualbox-4.1' is not installed, so not removed
Package 'virtualbox-4.2' is not installed, so not removed
Package 'virtualbox-4.3' is not installed, so not removed
Package 'virtualbox-5.0' is not installed, so not removed
Note, selecting 'virtualbox-guest-dkms' instead of 'virtualbox-guest-modules'
Package 'virtualbox-guest-additions' is not installed, so not removed
Package 'virtualbox-ose' is not installed, so not removed
Package 'virtualbox' is not installed, so not removed
Package 'virtualbox-dbg' is not installed, so not removed
Package 'virtualbox-dkms' is not installed, so not removed
Package 'virtualbox-guest-dkms' is not installed, so not removed
Package 'virtualbox-guest-source' is not installed, so not removed
Package 'virtualbox-guest-utils' is not installed, so not removed
Package 'virtualbox-guest-x11' is not installed, so not removed
Package 'virtualbox-qt' is not installed, so not removed
Package 'virtualbox-source' is not installed, so not removed
Package 'virtualbox-guest-additions-iso' is not installed, so not removed
Package 'virtualbox-3.2' is not installed, so not removed
Package 'virtualbox-4.0' is not installed, so not removed
The following package was automatically installed and is no longer required:
  libnotify-bin
Use 'apt-get autoremove' to remove it.

Mas quando eu procuro o sistema, ele ainda aparece:

$ sudo updatedb
$ locate virtualbox
/usr/share/app-install/desktop/virtualbox.desktop
/usr/share/app-install/icons/virtualbox.png
/var/cache/apt/archives/virtualbox-guest-dkms_4.1.18-dfsg-2+deb7u4_all.deb
/var/cache/apt/archives/virtualbox-guest-dkms_4.3.18-dfsg-3+deb8u2_all.deb
/var/cache/apt/archives/virtualbox-guest-dkms_4.3.18-dfsg-3_all.deb
/var/cache/apt/archives/virtualbox-guest-dkms_4.3.36-dfsg-1+deb8u1_all.deb
/var/cache/apt/archives/virtualbox-guest-utils_4.1.18-dfsg-2+deb7u4_i386.deb
/var/cache/apt/archives/virtualbox-guest-utils_4.3.18-dfsg-3+deb8u2_i386.deb
/var/cache/apt/archives/virtualbox-guest-utils_4.3.18-dfsg-3_i386.deb
/var/cache/apt/archives/virtualbox-guest-utils_4.3.36-dfsg-1+deb8u1_i386.deb
/var/cache/apt/archives/virtualbox-guest-x11_4.1.18-dfsg-2+deb7u4_i386.deb
/var/cache/apt/archives/virtualbox-guest-x11_4.3.18-dfsg-3+deb8u2_i386.deb
/var/cache/apt/archives/virtualbox-guest-x11_4.3.18-dfsg-3_i386.deb
/var/cache/apt/archives/virtualbox-guest-x11_4.3.36-dfsg-1+deb8u1_i386.deb

Eles parecem arquivos de instalação, então eu acho que não está instalado , mas ainda não foi purgado . Devo apenas rm dos arquivos? Ou existe uma maneira de obter apt para remover esses arquivos?

    
por mulllhausen 05.06.2016 / 06:52

1 resposta

1

Não importa. Isso fez o truque:

$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
$ sudo updatedb
$ locate virtualbox
/usr/share/app-install/desktop/virtualbox.desktop
/usr/share/app-install/icons/virtualbox.png
    
por 05.06.2016 / 06:56