Open o-l-a-v opened 10 months ago
Tested on a clean install of Ubuntu 20.04:
echo "deb [trusted=yes] https://maven3.ihtsdotools.org/repository/debian-releases/ bionic main" | sudo tee /etc/apt/sources.list.d/maven3_ihtsdotools_org_repository_debian_releases.list
sudo apt update
then gives:
ubnt2004-user@ubnt2004-server:~$ sudo apt update
Hit:1 http://no.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://no.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://no.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://no.archive.ubuntu.com/ubuntu focal-security InRelease
Get:5 https://maven3.ihtsdotools.org/repository/debian-releases bionic InRelease [1,241 B]
Ign:5 https://maven3.ihtsdotools.org/repository/debian-releases bionic InRelease
Get:6 https://maven3.ihtsdotools.org/repository/debian-releases bionic/main all Packages [103 kB]
Fetched 104 kB in 1s (96.0 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: GPG error: https://maven3.ihtsdotools.org/repository/debian-releases bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9436B84EDBBEEED1
N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://maven3.ihtsdotools.org/repository/debian-releases bionic InRelease' doesn't support architecture 'amd64'
ubnt2004-user@ubnt2004-server:~$
After adding GPG key by:
wget -qO - https://maven3.ihtsdotools.org/repository/maven-releases/keys/debian-releases-gpg/2019/debian-releases-gpg-2019.key | sudo apt-key add -
sudo apt update
gives:
ubnt2004-user@ubnt2004-server:~$ sudo apt update
Hit:1 http://no.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://no.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://no.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://no.archive.ubuntu.com/ubuntu focal-security InRelease
Get:5 https://maven3.ihtsdotools.org/repository/debian-releases bionic InRelease [1,241 B]
Fetched 1,241 B in 1s (2,165 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://maven3.ihtsdotools.org/repository/debian-releases bionic InRelease' doesn't support architecture 'amd64'
ubnt2004-user@ubnt2004-server:~$
Some problems with your APT repository maybe?
@ChrisMorris-cmo it looks like we are still using "bionic" in the apt sources from the Ubuntu 18 days. Have you tried changing this to "focal" for the Ubuntu 20 deployments?
@o-l-a-v we don't publish amd64 deb packages although there are amd64 Docker packages available in Docker Hub for Snowstorm and Snowstorm Lite.
@kaicode @o-l-a-v , we have a backlog ticket to look into the amd64 warning, however the latest apt update should have worked, please see if the following command brings back package information
apt-cache policy snowstorm
The apt repository config does still have distribution type set to bionic but works fine for Ubuntu 20.04. Sonatype currently do support multiple distributions in the same repository. However we should create apt proxy repository with either bionic or simply ubuntu. We have a project to migrate to 22.04 LTS so I will make sure Nexus is covered within that for a review and any required changes to better support OS version uplifts.
Following script with Ubuntu 20.04:
When adding APT sources for Snowstorm, script does (notice bionic):
Is that intended?
We're getting some errors on
sudo apt update
now, haven't gotten to the bottom of it yet.When
/etc/apt/sources.list.d/maven3_ihtsdotools_org_repository_debian_releases.list
is:sudo apt update
gives following error:Click to expand
```When
/etc/apt/sources.list.d/maven3_ihtsdotools_org_repository_debian_releases.list
is:sudo apt update
gives following error:Click to expand
```