python-deb-pkg-tools icon indicating copy to clipboard operation
python-deb-pkg-tools copied to clipboard

Packages file doesn't provide path to archive

Open vision0709 opened this issue 5 years ago • 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?

vision0709 avatar Apr 09 '19 17:04 vision0709