The bug is present in Ubuntu 16.04; apt version 1.2.10 (amd64) $ apt-cache search --names-only ab|grep -cv ab 100
Furthermore, the command does not restrict to the package names even if the option suggests it does. The following script should print 0: $ apt-cache search --names-only ab|cut -d' ' -f1|grep -cv ab 107 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/253761 Title: apt-cache search --names-only gives many false positives To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/253761/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
