nexus-repository-apt icon indicating copy to clipboard operation
nexus-repository-apt copied to clipboard

'all' arch apparently not honored by repo

Open gilbahat opened this issue 5 years ago • 3 comments

Packages of all architecture added do not seem to be part of the manifest.

steps to reproduce:

  • add a package that is not (say) amd64, but 'all' in architecture. note that binary-all does get created and updated.
  • add the repo to apt (see below)
  • run apt-get upgrade
  • run apt-get install packagename, where packagename is not an amd64 package, but rather an all architecture package.

expected result: package gets downloaded from nexus and installed

observed result: E: unable to locate package sample-package

example of object from repo: package_name: sample-package package_version: 8.0 index_section Package: (description snipped) asset_kind: DEB architecture: all

nexus.list: deb http://user:[email protected]/repository/my_repository trusty main

gilbahat avatar Mar 31 '19 12:03 gilbahat

it appears that the right thing to do with 'all' packages is to integrate them into all architectures supported by the repo, rather than create a binary-all entry in the releases and list them in the arches, which is apparently what the plugin does.

gilbahat avatar Mar 31 '19 13:03 gilbahat

Hi, any update on this? this is a blocker for us, it means 'all' packages are simply not part of the repository for all purposes and intents, this is very bad.

gilbahat avatar Jun 16 '19 08:06 gilbahat

APT is now part of Nexus Repository Manager. Version 3.17.0 includes the APT plugin by default. If this is still an issue if using 3.17.0 or later please file an issue at https://issues.sonatype.org/. Links to the new source code location are in the top level README.md

bhamail avatar Sep 27 '19 15:09 bhamail