> I think this confirms your hypothesis.
Actually, it doesn't, because the same file is listed twice. However,
it's quite possible that the root cause for this is the existence of
multiple Contents files.
vnix$ apt-file -v search foobar 2>&1 >/dev/null | sed -e '/^D: Search in /!d'
-e 's///' -e 's/\\//g' | sort | uniq -c
1
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-backports_Contents-amd64.gz
2
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy_Contents-amd64.gz
1
/var/cache/apt/apt-file/fi.archive.ubuntu.com_ubuntu_dists_gutsy-updates_Contents-amd64.gz
--
apt-file search prints all results twice
https://bugs.launchpad.net/bugs/174134
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs