Oh, actually I was already using set substraction in my code, but I was also checking for 'Auto-Installed: 0'. Maybe that is necessary with some older version of apt? (There was some bug in my code and that is why it did not work correctly for some packages.) Sorry for blaming and confusing. However, I will change my code just in case you decide to remove the pointless Auto-Installed fields from the file.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1713219 Title: 'apt-mark showauto' and 'apt show' is slow To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1713219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs