On Fri, 08 Jun 2012 14:22:24 +0200 Mathieu Malaterre wrote: > For some reason apt-file -a source search does not search for file at > the root level of package. According to Neils Thykier: This is because some but not all Contents files have a header that apt-file needs to throw away. The method used to remove the header in apt-file is that there should be no spaces before the first / (as all known root folders don't have spaces). This fails horribly for files in the top-level of source packages. An alternative and maybe more reliable method of stripping the header in apt-file might be to simply hard-code the known headers: sed '/^This file maps each file available/,/^FILE *LOCATION$/d' This matches the header used in both Debian and Ubuntu. The reprepro tool appears to not generate any header. I've proposed to remove the header from the Debian repo in #841997 but . -- bye, pabs https://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part