Maybe so, but the fact is that the file does not contain information about all packages installed to my system. (apt 2.0.4 (amd64) / Ubuntu 20.04)
$ grep -c '^Package:' /var/lib/apt/extended_states 698 $ dpkg -l | grep ^ii | wc -l 1893 My file contains only records for packages that are automatically installed for some reason. (All records have "Auto-Installed: 1") apt-mark showmanual works anyway. -- 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