sonatype-nexus-community / nexus-repository-apt

A Nexus Repository 3 plugin that allows usage of apt repositories
Eclipse Public License 1.0
105 stars 50 forks source link

No packages/pool folder generation #96

Closed DigitalMarc closed 5 years ago

DigitalMarc commented 5 years ago

Plugin v1.0.9 | Nexus v3.14.0

The folder structure seem correct and the Release/Package files looks ok: image

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!

DigitalMarc commented 5 years ago

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 ;)