Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

[solved] unable to update because of GPG issue

Post Reply
Message
Author
erbou
Posts: 4
Joined: Sun May 21, 2017 12:21 pm

[solved] unable to update because of GPG issue

#1 Post by erbou »

Hello,

I use MX-16.1 (with kernel 4.7.0-0.bpo.1-amd64) and got a pop-up message telling that I had 84 updates available.
Therefore I ran this command from a terminal :

Code: Select all

sudo apt-get update
The process started up as expected but at the 36th step, I got this error message :
"W: GPG Error : /http://download.opensuse.org Release : The following signatures could not be checked out because the public key is not available : NO_PUBKEY 8873EE7BF70F1BBEA".

How could I resolve this issue, provided that I don'i want to re-install MX-16 from scratch ?
Last edited by erbou on Sun Mar 04, 2018 12:14 am, edited 1 time in total.
1st boot: Linux ttx 4.7.0-0.bpo.1-amd64 #1 SMP MX 4.7.8-1mx16+3 (2017-02-23) x86_64 GNU/Linux
2nd boot: Windows 7 Home Edition
Processor: Intel i5-4570 - Ram: 16 Gb - NAS: Synology DS216j - DSM 6.1

User avatar
timkb4cq
Developer
Posts: 3179
Joined: Wed Jul 12, 2006 4:05 pm

Re: unable to update because of GPG issue

#2 Post by timkb4cq »

You have added a third-party repository (the one at http://download.opensuse.org) that you need to install the key for.
It's possible that Check Apt Gpg in MX-Tools can find it. If it cannot, you can always disable that repository for now and update everything else.
If you run

Code: Select all

inxi -r
in a terminal and paste the results here, we can probably track down where to get the key
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

erbou
Posts: 4
Joined: Sun May 21, 2017 12:21 pm

Re: unable to update because of GPG issue

#3 Post by erbou »

Here is what I got :

Code: Select all

$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/antix.list
           deb http://it.mxrepo.com/antix/jessie/ jessie main
           Active apt sources in file: /etc/apt/sources.list.d/debian-stable-updates.list
           deb http://ftp.au.debian.org/debian/ jessie-updates main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/debian.list
           deb http://ftp.au.debian.org/debian/ jessie main contrib non-free
           deb http://security.debian.org/ jessie/updates main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/google-chrome.list
           deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/mx.list
           deb http://it.mxrepo.com/mx/repo/ mx15 main non-free
           Active apt sources in file: /etc/apt/sources.list.d/mx16.list
           deb http://it.mxrepo.com/mx/repo/ mx16 non-free main
           Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
           deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt sources in file: /etc/apt/sources.list.d/osmc-installer.list
           deb http://download.opensuse.org/repositories/home:/osmc/Debian_8.0/ /
           Active apt sources in file: /etc/apt/sources.list.d/various.list
           deb http://deb.opera.com/opera/ stable non-free
1st boot: Linux ttx 4.7.0-0.bpo.1-amd64 #1 SMP MX 4.7.8-1mx16+3 (2017-02-23) x86_64 GNU/Linux
2nd boot: Windows 7 Home Edition
Processor: Intel i5-4570 - Ram: 16 Gb - NAS: Synology DS216j - DSM 6.1

User avatar
Stevo
Developer
Posts: 12745
Joined: Fri Dec 15, 2006 8:07 pm

Re: unable to update because of GPG issue

#4 Post by Stevo »

I haven't seen any of the keys for my OBS repos end up in public keyservers. You have to download the Release.key file from that OBS repo and use apt-key to install it. The instructions to add the key should have been where you saw the instructions to add the repo, but they are

Code: Select all

wget http://download.opensuse.org/repositories/home:/osmc/Debian_8.0/Release.key && sudo apt-key add - < Release.key

erbou
Posts: 4
Joined: Sun May 21, 2017 12:21 pm

Re: [solved] unable to update because of GPG issue

#5 Post by erbou »

Thanks ever so much to all of you.
1st boot: Linux ttx 4.7.0-0.bpo.1-amd64 #1 SMP MX 4.7.8-1mx16+3 (2017-02-23) x86_64 GNU/Linux
2nd boot: Windows 7 Home Edition
Processor: Intel i5-4570 - Ram: 16 Gb - NAS: Synology DS216j - DSM 6.1

Post Reply

Return to “Older Versions”