Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[solved] unable to update because of GPG issue

Post Reply
Message
Author
erbou
Forum Novice
Forum  Novice
Posts: 46
Joined: Sun May 21, 2017 12:21 pm

[solved] unable to update because of GPG issue

#1 Post by erbou » Sat Mar 03, 2018 8:45 am

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
Forum Veteran
Forum Veteran
Posts: 4375
Joined: Wed Jul 12, 2006 4:05 pm

Re: unable to update because of GPG issue

#2 Post by timkb4cq » Sat Mar 03, 2018 9:01 am

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
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

erbou
Forum Novice
Forum  Novice
Posts: 46
Joined: Sun May 21, 2017 12:21 pm

Re: unable to update because of GPG issue

#3 Post by erbou » Sat Mar 03, 2018 2:27 pm

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
Forum Veteran
Forum Veteran
Posts: 16309
Joined: Fri Dec 15, 2006 8:07 pm

Re: unable to update because of GPG issue

#4 Post by Stevo » Sat Mar 03, 2018 2:45 pm

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
Forum Novice
Forum  Novice
Posts: 46
Joined: Sun May 21, 2017 12:21 pm

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

#5 Post by erbou » Sun Mar 04, 2018 12:15 am

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”