nexus-repository-apt
nexus-repository-apt copied to clipboard
'all' arch apparently not honored by repo
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
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.
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.
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