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

If none of the more specific forums is the right place to ask

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

Postby Togop » 2020-02-09 13:55

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.
Togop
 
Posts: 20
Joined: 2011-11-20 15:43

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

Postby tynman » 2020-02-09 15:26

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.)
tynman
 
Posts: 118
Joined: 2016-05-03 19:48
Location: British Columbia, Canada


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable