Closed DigitalMarc closed 5 years ago
Plugin v1.0.9 | Nexus v3.14.0
curl -v -u 'user:pass' -X POST -H "Content-Type: multipart/form-data" --data-binary "@/path/to/file.deb" http://nexus/repository/repo-apt/
POST /repository/repo-apt/ HTTP/1.1 Authorization: Basic bWFyYzo/IU94eTM2MA== User-Agent: curl/7.29.0 Host: nexus:80 Accept: / Content-Type: multipart/form-data Content-Length: 8187490 Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 201 Created < Date: Thu, 31 Jan 2019 20:33:16 GMT < Server: Nexus/3.14.0-04 (OSS) < X-Content-Type-Options: nosniff < Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation < Content-Length: 0 <
POST /repository/repo-apt/ HTTP/1.1 Authorization: Basic bWFyYzo/IU94eTM2MA== User-Agent: curl/7.29.0 Host: nexus:80 Accept: / Content-Type: multipart/form-data Content-Length: 8187490 Expect: 100-continue
< HTTP/1.1 100 Continue < HTTP/1.1 201 Created < Date: Thu, 31 Jan 2019 20:33:16 GMT < Server: Nexus/3.14.0-04 (OSS) < X-Content-Type-Options: nosniff < Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation < Content-Length: 0 <
The folder structure seem correct and the Release/Package files looks ok:
But for some reason none of the packages are actually there. When we try to install the package via apt, we get the following:
Err:1 http://nexus/repo/repo-apt xenial/main amd64 app_test amd64 1.0.69 404 pool/a/app_test/app_test_1.0.69_amd64.deb E: Failed to fetch http://nexus/repo/repo-apt/pool/a/app_test_1/app_test_1_1.0.69_amd64.deb 404 pool/a/app_test_1/app_test_1_1.0.69_amd64.deb
Many thanks for your help!
Ok we find out that a 0 was specified in the nexus repo setup form for the number of package versions to keep. I think the plugin should somehow secure against zeros or negative values ;)
Plugin v1.0.9 | Nexus v3.14.0
The folder structure seem correct and the Release/Package files looks ok:
But for some reason none of the packages are actually there. When we try to install the package via apt, we get the following:
Many thanks for your help!