Rerunning the minimize manual script in an xubuntu image with some extra tracking I see the following chain causing it to be marked as automatically installed:
1. xubuntu-desktop Recommends indicator-messages 2. indicator-messages Recommends ubiquity-frontend-gtk (due to indicator-renderer Provides) 3. ubiquity-frontend-gtk Depends on ubiquity 4. ubiquity Depends on cryptsetup, Recommends lvm2 We later on remove ubiquity in cleanup, but don't mark any remaining autoremovable stuff manually installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1801629 Title: xubuntu-core needs to depend on cryptsetup and lvm2 or 'apt autoremove' will make a LUKS+LVM encrypted root partition non-bootable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-mate-meta/+bug/1801629/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs