Debian::AptContents doesn't correctly source apt-file contents files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-make-perl (Ubuntu) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
On precise.
AptContents.pm
return map
{ $host . "_" . join( "_", $dir || (), "dists", $dist, $_ ) }
returns gb.archive.
When processing a line from the sources.list e.g.
deb http://
but apt-file actually creates a Contents file without main
gb.archive.
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_
#######
A config only workaround to anyone who has this problem is to create a ~/.apt-file.conf
with
destination = <host>_
or just to rename the files to include the components.
Status changed to 'Confirmed' because the bug affects multiple users.