I tried using apt-file with a simple repository as described in this
bug and had the same problem.

My /etc/apt/sources.list file has the following contents.

deb http://ftp.us.debian.org/debian lenny main contrib
deb http://security.debian.org/ lenny/updates main
deb-src http://ftp.us.debian.org/debian lenny main contrib
deb file:/home/code/apt ./

The contents file should be found at

/home/code/apt/Contents-i386.gz

I'm using apt-file version 2.1.5 with Lenny.

To determine a workaround apt repository structure I was poking around
in the apt-file source code. It appears that in the apt-file source
code, the parse_sources_list subroutine doesn't really recognize the
last line of my sources.list file because it doesn't have 4+ items in
the line. Nothing makes its way into the @extras array.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to