Bug#207811: apt-utils: apt-ftparchive and apt-file disagree on Contents file syntax
Package: apt-utils
Version: 0.5.9
I found after a bit of trial and error with my private apt repository,
that although the output of "apt-ftparchive contents" looks like this:
path/to/file/1 package1
path/to/file/2 package2
the syntax expected by "apt-file list <package>" is instead this:
path/to/file/1 section1/package1
path/to/file/2 section2/package2
and in fact "apt-file list" ignores any line in a Contents-* file with no
"/" in the package field on the right. (Oddly, "apt-file search" doesn't
have this problem.)
Since the Contents-* files at ftp.debian.org use the second syntax above,
I assume this bug is with apt-ftparchive rather than apt-file. Please
reassign it to apt-file if you disagree with me.
regards,
--
Kevin McCarty Physics Department
kmccarty@princeton.edu Princeton University
www.princeton.edu/~kmccarty Princeton, NJ 08544
Reply to: