Details
Description
Hello,
yes, I am using the docker container from docker hub. There error says "java.io.IOException: Invalid debian package: no control file", the file in question is
linux-image-unsigned-5.14.1-051401-generic_5.14.1-051401.202109030936_amd64.deb: Debian binary package (format 2.0)
The Upload command that worked until about version 3.32 is:
curl --fail -u test:XXXXXXXX -X POST -H "Content-Type: multipart/form-data" --data-binary "@./linux-image-unsigned-5.14.1- 051401-generic_5.14.1-051401.202109030936_amd64.deb" https://nexus.services.xxxxx:443/repository/crnl-common/ curl: (22) The requested URL returned error: 500
(You can find the package here https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.14.1/ if you like to reproduce)
The error from docker compose log:
nexus_1 | 2021-09-10 12:28:54,533+0000 WARN [qtp2056042008-81] test org.sonatype.nexus.repository.httpbridge.internal
.ViewServlet - Failure servicing: POST /repository/crnl-common/
nexus_1 | java.io.IOException: Invalid debian package: no control file
nexus_1 | at org.sonatype.nexus.repository.apt.internal.AptPackageParser.parsePackageInfo(AptPackageParser.java:4
2)
nexus_1 | at org.sonatype.nexus.repository.apt.orient.internal.hosted.OrientAptHostedFacet.ingestAsset(OrientAptH
ostedFacet.java:102)
EDIT: I see that the control file is called control.tar.zst - I bet it's now compressed with the ZStd Algo which the Nexus code doesn't unterstand yet. Check out my proposal here: https://github.com/sonatype/nexus-public/pull/90
rgds,
derjohn