LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get autoremove (https://www.linuxquestions.org/questions/debian-26/apt-get-autoremove-742895/)

cccc 07-26-2009 09:02 AM

apt-get autoremove
 
hi

howto will be the command instead of 'apt-get autoremove' using aptitude?

jdkaye 07-26-2009 09:38 AM

Aptitude does not have autoremove. Check it out here:
http://people.debian.org/~osamu/pub/...l/ch02.en.html
Load this page and search for syntax with your browser and you'll find the handy table.
Quote:

2.2.7. Dependency resolution of aptitude

The selection of a package in aptitude not only pulls in packages which are defined in its "Depends:" list but also defined in the "Recommends:" list if the menu "F10 → Options → Dependency handling" is set accordingly. These auto installed packages are removed automatically if they are no longer needed under aptitude.
cheers,
jdk

craigevil 07-26-2009 02:55 PM

aptitude doesnt need the autoremove command because it removes depends when you remove a package, where apt sometimes leaves the depends behind then you need to use apt-get autoremove or deborphan to get rid of them.


All times are GMT -5. The time now is 09:02 PM.