가상 머신을 정리할 수 없습니다.

가상 머신을 정리할 수 없습니다.
$ uname -a
Linux mypcname 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) i686 GNU/Linux

시스템에서 Virtualbox를 삭제하려고 하는데 작동하지 않습니다. 이를 바탕으로 모든 것이 제거된 것처럼 보입니다.

$ 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.

그러나 시스템을 검색하면 여전히 나타납니다.

$ 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

이것들은 설치 파일처럼 보이므로 실제로는 아닌 것 같습니다.설치됨, 하지만 아직은 그렇지 않아요삭제됨. rm파일 만 봐야 할까요 ? 아니면 apt해당 파일을 삭제하는 방법이 있나요 ?

답변1

그것은 중요하지 않습니다. 이렇게 하면 됩니다:

$ 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

관련 정보