Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

apt-get auto-remove doesn't remove all auto installed pkgs

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Togop
Posts: 20
Joined: 2011-11-20 15:43

apt-get auto-remove doesn't remove all auto installed pkgs

#1 Post by Togop »

So, earlier today I decided to try KDE, running

Code: Select all

sudo apt-get install task-kde-desktop
This installed about 1.5GB worth of packages.

Now, I'm trying to undo this, using

Code: Select all

sudo apt-get autoremove task-kde-desktop
The problem is, it only lists 15MG of the previously installed packages for removal. This is not the first case where autoremove hasn't removed all packages install installed - just the biggest in terms of disk space.

Why does that happen and how can I avoid it? Google doesn't seem to suggest anything. Thanks.

tynman
Posts: 132
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 2 times

Re: apt-get auto-remove doesn't remove all auto installed pk

#2 Post by tynman »

The apt-get autoremove command is not used to uninstall specific packages. If you want to uninstall the task-kde-desktop package, the proper sub-command to use would be "remove" instead of "autoremove":

Code: Select all

sudo apt-get remove task-kde-desktop
The autoremove option is used to remove all orphaned packages not being used. (I'm not actually sure what that even means, so I have never tried to use it.)

Post Reply