Page 1 of 1

[solved] unable to update because of GPG issue

Posted: Sat Mar 03, 2018 8:45 am
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 ?

Re: unable to update because of GPG issue

Posted: Sat Mar 03, 2018 9:01 am
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

Re: unable to update because of GPG issue

Posted: Sat Mar 03, 2018 2:27 pm
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

Re: unable to update because of GPG issue

Posted: Sat Mar 03, 2018 2:45 pm
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

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

Posted: Sun Mar 04, 2018 12:15 am
by erbou
Thanks ever so much to all of you.