Public bug reported: On precise.
AptContents.pm return map { $host . "_" . join( "_", $dir || (), "dists", $dist, $_ ) } @components; returns gb.archive.ubuntu.com_ubuntu_dists_precise_main When processing a line from the sources.list e.g. deb http://gb.archive.ubuntu.com/ubuntu/ precise main but apt-file actually creates a Contents file without main gb.archive.ubuntu.com_ubuntu_dists_precise_Contents-amd64.gz This causes the apt-file dependency management to fail. So either apt-file or AptContents are wrong, they don't share a single library for parsing the sources.list file. apt-file uses:- sub parse_sources_list($) { ########################## A config only workaround to anyone who has this problem is to create a ~/.apt-file.conf with destination = <host>_<path>_dists_<dist>_main_Contents-<arch>.gz or just to rename the files to include the components. ** Affects: dh-make-perl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004080 Title: Debian::AptContents doesn't correctly source apt-file contents files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-make-perl/+bug/1004080/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs