Happens on Trusty and Xenial too. There are a few bug reports about it marking kernels as manually installed. They may be related. Here's a test case anyway:
Normal run: # apt-get install lolcat # apt-mark showmanual lolcat lolcat # apt-mark auto lolcat lolcat set to automatically installed. # unattended-upgrade # dpkg -l lolcat dpkg-query: no packages found matching lolcat With --dry-run: # apt-get install lolcat # apt-mark showmanual lolcat lolcat # apt-mark auto lolcat lolcat set to automatically installed. # unattended-upgrade --dry-run # dpkg -l lolcat ii lolcat ... # apt-mark showmanual lolcat lolcat -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1267059 Title: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs