xolox/python-deb-pkg-tools

Packages file doesn't provide path to archive

vision0709 opened this issue · 0 comments

When I run a scan_packages() or an update_repository() I get a Packages and a Packages.gz file that contain a "Filename" field for each package in the repo; however, the field only contains the name of the file and not the path to the file. If I manually run a dpkg-scanpackages -m ${dir} | gzip -9c > ${dir}/Packages.gz on the repo the Packages.gz that it creates has a relative path to the .deb file in the "Filename" field. Is there support already for creating Packages files that contain relative paths to the archives in their repos?