nexus-repository-installer
nexus-repository-installer copied to clipboard
NO_PUBKEY 964B5E720AA4F31A
adrian@nexus:~$ sudo apt update
Hit:1 http://ftp.agh.edu.pl/debian bookworm InRelease
Hit:2 http://ftp.agh.edu.pl/debian bookworm-updates InRelease
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Get:4 https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease [1,387 B]
Err:4 https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 964B5E720AA4F31A
Reading package lists... Done
W: GPG error: https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 964B5E720AA4F31A
E: The repository 'https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
adrian@nexus:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 964B5E720AA4F31A
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.jzrBLplFLG/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 964B5E720AA4F31A
gpg: key 964B5E720AA4F31A: "Sonatype Community [email protected]" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
adrian@nexus:~$ sudo apt update
Hit:1 http://ftp.agh.edu.pl/debian bookworm InRelease
Get:2 http://ftp.agh.edu.pl/debian bookworm-updates InRelease [55.4 kB]
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
Get:4 https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease [1,387 B]
Err:4 https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 964B5E720AA4F31A
Reading package lists... Done
W: GPG error: https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 964B5E720AA4F31A
E: The repository 'https://repo.sonatype.com/repository/community-apt-hosted bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.