[ZBX-16094] GPG Key Error on Ubuntu 18.04 (bionic) Created: 2019 May 08  Updated: 2019 May 08  Resolved: 2019 May 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I), Packages (C)
Affects Version/s: 4.0.6
Fix Version/s: None

Type: Problem report Priority: Blocker
Reporter: Krupa Hebbar Assignee: Aleksandrs Petrovs-Gavrilovs
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 18.04



 Description   

Steps to reproduce:

On adding the following lines to `/etc/apt/sources.list.d/zabbix.list` and running `sudo apt update`, key verification fails
Lines added to `zabbix.list`:

deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main
deb-src http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main

 On running `sudo apt update`:

...
Get:5 http://repo.zabbix.com/zabbix/4.0/ubuntu bionic InRelease [7,096 B]                                                                        
Err:5 http://repo.zabbix.com/zabbix/4.0/ubuntu bionic InRelease                                                 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082AB56BA14FE591
...
Reading package lists... Done                               
W: GPG error: http://repo.zabbix.com/zabbix/4.0/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082AB56BA14FE591
E: The repository 'http://repo.zabbix.com/zabbix/4.0/ubuntu 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.

Result:
See above
Expected:
To be able to install zabbix like any other package through `apt install`



 Comments   
Comment by Krupa Hebbar [ 2019 May 08 ]

Same issue also affects version 4.2...didn't realize at the time of creating the issue.

Comment by Aleksandrs Petrovs-Gavrilovs [ 2019 May 08 ]

Hello Krupa,

It seems that your system is missing a public key, as after trying to reproduce the issue it did not occur.

Can you please try using this command:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 082AB56BA14FE591

and then running sudo apt update

Best Regards,
Aleksandrs

 

Comment by Krupa Hebbar [ 2019 May 08 ]

Hi Aleksandrs,

I tried this and it worked. However, I was attempting to install zabbix on multiple new servers at once and this issue was encountered on all of them (event on Ubuntu 16.04, although that gives an option to continue anyway). Do you have any idea why this might be?

Comment by Aleksandrs Petrovs-Gavrilovs [ 2019 May 08 ]

Unfortunately can't have a precise answer here, it might be an older public key was saved in the system, or maybe you are using some specific keyserver, which did not have the required key included.

 

Best Regards,
Aleksandrs

Comment by Krupa Hebbar [ 2019 May 08 ]

Thanks for the help! I guess this isn't really an issue - will close it. Sorry for the trouble.

Comment by Krupa Hebbar [ 2019 May 08 ]

Likely a system-specific issue

Generated at Sun May 04 05:55:27 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.