> 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
> 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 apt/apt- file/fi. archive. ubuntu. com_ubuntu_ dists_gutsy- backports_ Contents- amd64.gz apt/apt- file/fi. archive. ubuntu. com_ubuntu_ dists_gutsy_ Contents- amd64.gz apt/apt- file/fi. archive. ubuntu. com_ubuntu_ dists_gutsy- updates_ Contents- amd64.gz
1 /var/cache/
2 /var/cache/
1 /var/cache/