Unable to install on Ubuntu 22.04, untrusted repo #1299

Closed
opened 2025-11-20 05:27:44 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @tens0rcat on GitHub (Sep 29, 2024).

Describe the problem

Unable to install on Ubuntu 22.04. Repo Key failure

To Reproduce

follow instructions to install

Expected behavior

install properly

Are you using NetBird Cloud?

No

NetBird version

29.4

NetBird status -dA output:

N/A

Do you face any (non-mobile) client issues?

N/A

Screenshots

N/A

Additional context

output:

Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 https://packages.cisofy.com/community/lynis/deb stable InRelease
Get:7 https://pkgs.netbird.io/debian stable InRelease [5,944 B]
Err:7 https://pkgs.netbird.io/debian stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83F79AD029778355
Reading package lists... Done
W: GPG error: https://pkgs.netbird.io/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83F79AD029778355
E: The repository 'https://pkgs.netbird.io/debian stable 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.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20240203~22.04.1).
curl is already the newest version (7.81.0-1ubuntu1.18).
gnupg is already the newest version (2.2.27-3ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

to work around this is replaced the [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] with [trusted=yes]

Originally created by @tens0rcat on GitHub (Sep 29, 2024). **Describe the problem** Unable to install on Ubuntu 22.04. Repo Key failure **To Reproduce** follow instructions to install **Expected behavior** install properly **Are you using NetBird Cloud?** No **NetBird version** 29.4 **NetBird status -dA output:** N/A **Do you face any (non-mobile) client issues?** N/A **Screenshots** N/A **Additional context** output: ``` Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu jammy InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:6 https://packages.cisofy.com/community/lynis/deb stable InRelease Get:7 https://pkgs.netbird.io/debian stable InRelease [5,944 B] Err:7 https://pkgs.netbird.io/debian stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83F79AD029778355 Reading package lists... Done W: GPG error: https://pkgs.netbird.io/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83F79AD029778355 E: The repository 'https://pkgs.netbird.io/debian stable 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. Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20240203~22.04.1). curl is already the newest version (7.81.0-1ubuntu1.18). gnupg is already the newest version (2.2.27-3ubuntu2.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ``` to work around this is replaced the [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] with [trusted=yes]
saavagebueno added the triage-neededlinux labels 2025-11-20 05:27:44 -05:00
Author
Owner

@collse commented on GitHub (Oct 2, 2024):

did you import the keys are documented? https://docs.netbird.io/how-to/installation

sudo apt-get update
sudo apt-get install ca-certificates curl gnupg -y
curl -sSL https://pkgs.netbird.io/debian/public.key | sudo gpg --dearmor --output /usr/share/keyrings/netbird-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main' | sudo tee /etc/apt/sources.list.d/netbird.list
@collse commented on GitHub (Oct 2, 2024): did you import the keys are documented? https://docs.netbird.io/how-to/installation ``` sudo apt-get update sudo apt-get install ca-certificates curl gnupg -y curl -sSL https://pkgs.netbird.io/debian/public.key | sudo gpg --dearmor --output /usr/share/keyrings/netbird-archive-keyring.gpg echo 'deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main' | sudo tee /etc/apt/sources.list.d/netbird.list ```
Author
Owner

@tens0rcat commented on GitHub (Oct 2, 2024):

I would swear yes, but I looked anyway, and didn't find anything in history | grep gpg but the keyring existed. I ran those last two commands again then apt update && apt full-upgrade and it didn't complain.

OSI Layer 8 issue

@tens0rcat commented on GitHub (Oct 2, 2024): I would swear yes, but I looked anyway, and didn't find anything in `history | grep gpg` but the keyring existed. I ran those last two commands again then apt update && apt full-upgrade and it didn't complain. OSI Layer 8 issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1299