It's slow because it loads the entire depcache, and checks all dependencies. This can be avoided by refactoring the code, but it seems unnecessary. I'd rather add useful features like telling you which packages become autoremovable garbage after marking something, rather than refactoring the code to not require a depcache.
-- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
