Open unbeforkinglievable opened 5 years ago
@unbeforkinglievable I think this issue is fixed in master - all Packages files require those fields but deb-simple
wasn't copying them in some cases depending on how the control file archive had been build.
This was fixed in #31 by kshvakov.
@esell Could you create a new release from master?
@dig412, done! v1.4.1 was just published off of master.
I'm using v1.4.1 and I'm still seeing this problem, on 18.04 (bionic) only.
When using curl to push the package in question to the repo, I do not get the message Found a package control file
, which I do get from doing the equivalent on 16.04 (xenial)
The above comment applies to a package I build on 18.04. If, instead, I:
then the control file is found, and the full package info is correctly entered into the Packages.gz file.
So... it seem as though there's something with the way packages are built in 18.04, that deb-simple isn't able to correctly read them. We're using the debhelper
tools to build the package:
@esell Would it be more helpful if I submitted a new issue for this?
@MikeCollinsOnt Would you be able to build a test package on 18.04 and upload it somewhere for me to investigate with? The file contents don't matter - it's almost certainly an issue with the metadata.
apologies on the delay folks. @MikeCollinsOnt, i think it is ok to just piggyback on this issue. if you want to post up the metadata files as @dig412 suggested that would help (gist, pastebin, etc).
@esell @dig412 Thanks for the responses. I've not been able to get back to looking at this, but hopefully I'll get the opportunity to get something to you soon.
It seems that Bionic Beaver (18.04) requires more fields than Xenial (16.04) in the Packages.gz file... This worked on Xenial:
But does not work on Bionic; I added these lines to the extracted file at /var/lib/apt/lists/:
And it worked fine.
This may be an issue with my debian packaging tool, not necessarily an issue with deb-simple, but just thought you might want to know.