Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

'all' arch apparently not honored by repo #105

Open
gilbahat opened this issue Mar 31, 2019 · 3 comments
Open

'all' arch apparently not honored by repo #105

gilbahat opened this issue Mar 31, 2019 · 3 comments

Comments

@gilbahat
Copy link

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
Copy link
Author

gilbahat commented Mar 31, 2019

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
Copy link
Author

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.

@bhamail
Copy link
Contributor

bhamail commented Sep 27, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants