This is not what the purge flag does. Starting in 20.04, you can use apt purge ~c aka apt purge ?configuration-files to purge packages left in configuration files.
The latter also works in 19.10. both also work with aptitude purge in older releases. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863165 Title: autoremove-kernels doesn't purge kernels To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1863165/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs