[Touch-packages] [Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Ingolf Becker
For some reason the unattended upgrades script is very picky about which packages are to be removed. It tries to auto-remove only those packages that have been made redundant by the current set of updates. However, installing a new kernel does not make any previous kernel version redundant

[Touch-packages] [Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Ingolf Becker
#20: Thanks for the github link. #21: You are right, for some reason I thought that autoclean does autoremove. You are not quite correct though: If you upgrade a package, the list of dependencies may have changed and dependency may have been dropped. This will then be no longer required, and

[Touch-packages] [Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Ingolf Becker
Thanks for the link - I didn't realise the code was based on github. I don't think changing the default behaviour is the solution though - for a proper auto-remove there is already a variable `APT::Periodic::AutocleanInterval` in /etc/apt/apt.conf.d/10periodic (from the update-notifier-common