Well, the script in the description is a bit too simple. In my application, I was looking for 'Auto-Installed:' field with value 0 to find manually installed packages, and due to the change in the way the file is build nowadays I do not find them by the code anymore. Now the field is pointless. I suppose now I could find the packages by set substraction, if I want to optimize my code.
"time apt-mark showauto >/dev/null" is slow no matter when I run it. It is about the same if you run it for any single package. Do you call those a borderline cases? It might not be slow by latest and greatest supercomputers though, but I make code for slower hardware, too, and try to strive for reasonable responsiveness in my applications. -- 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