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

  • 이전 ubuntu - serverjs 파일을 편집 중입니다 (나노 242, PID xxxx를 사용하여 루트로) 계속하다?
  • 다음 debian - gcc 컴파일 플래그 사용하기