Re: aptitude doesn't remove unused packages

2020-04-23 Thread Vincent Lefevre
On 2020-04-23 09:19:10 +0300, Andrei POPESCU wrote: > This is controlled by the apt configuration options > > APT::AutoRemove::RecommendsImportant > APT::AutoRemove::SuggestsImportant > > See apt.conf(5) for how to adjust these. The user may want to keep Recommends. -- Vincent Lefèvre

Re: aptitude doesn't remove unused packages

2020-04-22 Thread Andrei POPESCU
On Mi, 22 apr 20, 22:13:36, Urs Thuermann wrote: > Debian's package management should remove packages that were installed > automatically, if they are no longer needed. Unfortunately, that > often seems to not work correctly. See this example on my Raspberry > Pi running Raspbian jessie: [...]

Re: aptitude doesn't remove unused packages

2020-04-22 Thread David Wright
On Wed 22 Apr 2020 at 22:13:36 (+0200), Urs Thuermann wrote: > Debian's package management should remove packages that were installed > automatically, if they are no longer needed. Unfortunately, that > often seems to not work correctly. See this example on my Raspberry > Pi running Raspbian jess

Re: aptitude doesn't remove unused packages

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 16:39:00 -0400, The Wanderer wrote: > I don't find 'aptitude why' very reliable in a lot of cases. Ditto. > One thing I habitually do nowadays, to minimize this type of problem, is > to also run > > # apt-get remove $(deborphan) > > and interleave that back and forth with 'apt-get

Re: aptitude doesn't remove unused packages

2020-04-22 Thread Urs Thuermann
The Wanderer writes: > if you > want to know "what's the dependency chain which is keeping this from > being safe to remove?", you're probably better off running 'apt-get > --dry-run remove [packagename]', and seeing whether the result wants to > remove anything that you care about. Well, I usua

Re: aptitude doesn't remove unused packages

2020-04-22 Thread The Wanderer
On 2020-04-22 at 16:13, Urs Thuermann wrote: > Debian's package management should remove packages that were > installed automatically, if they are no longer needed. > Unfortunately, that often seems to not work correctly. See this > example on my Raspberry Pi running Raspbian jessie: > > Some ti

aptitude doesn't remove unused packages

2020-04-22 Thread Urs Thuermann
Debian's package management should remove packages that were installed automatically, if they are no longer needed. Unfortunately, that often seems to not work correctly. See this example on my Raspberry Pi running Raspbian jessie: Some time in the past there were probably packages that needed g