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'
** Changed in: apt (Ubuntu)
Status: New => Confirmed
--
apt-cache search --names-only gives many false positives
https://bugs.launchpad.net/bugs/253761
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
** Attachment added: "apt_cache_false_positives.txt"
http://launchpadlibrarian.net/16457465/apt_cache_false_positives.txt
--
apt-cache search --names-only gives many false positives
https://bugs.launchpad.net/bugs/253761
You received this bug notification because you are a member of Ubuntu
B