You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the publish or pre-publish steps should do a sanity check of the processed package. Now a corrupt package prevents publishing/updating a repo. If the package is just skipped and a warning is given to the user, but the rest of the publish would go through.
Additional notes
dpkg also has issues processing the deb:
root@m572:/tmp# dpkg-deb -R ./linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb ./linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all/
dpkg-deb: error: unexpected end of file in archive member header in ./linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb
root@m572:/tmp#
root@m572:/tmp# dpkg -x linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb ./linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all/
dpkg-deb: error: unexpected end of file in archive member header in linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb
root@m572:/tmp/linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all# ar x linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb
root@m572:/tmp/linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all# ls -l
total 756
-rw-r--r-- 1 root root 382274 Jul 18 15:54 control.tar.gz
-rw-r--r-- 1 root root 4 Jul 18 15:54 debian-binary
-rw-r--r-- 1 root root 382406 Jul 18 15:53 linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb
Your Environment
aptly 1.0.1
If you are missing information, please let me know.
The text was updated successfully, but these errors were encountered:
While publishing, aptly gets a panic when processing a deb which misses "data.tar".
Detailed Description
In my case I had the deb-file http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10.16/linux-headers-4.10.16-041016_4.10.16-041016.201706210231_all.deb which got downloaded by a helper-script and imported by aptly. So this is more an issue of a damaged/broken package provided, but maybe aptly can except such cases.
Log
Possible Implementation
Maybe the publish or pre-publish steps should do a sanity check of the processed package. Now a corrupt package prevents publishing/updating a repo. If the package is just skipped and a warning is given to the user, but the rest of the publish would go through.
Additional notes
dpkg also has issues processing the deb:
Your Environment
aptly 1.0.1
If you are missing information, please let me know.
The text was updated successfully, but these errors were encountered: