You are not logged in.

#1 2016-07-07 12:31:12

gree
Member
Registered: 2016-06-08
Posts: 74

GPG Error

I'm getting the following error when using apt-get update:

W: GPG error: http://security.debian.org jessie/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: GPG error: http://ftp.de.debian.org oldstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 6FB2A1C265FFB764
W: GPG error: http://httpredir.debian.org jessie-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: GPG error: http://httpredir.debian.org jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

I've tried

1. apt-get install debian-keyring
3. gpg --import /usr/share/keyrings/debian-keyring.gpg
4. apt-key add /usr/share/keyrings/debian-role-keys.gpg
5. apt-get update 
Head_On_A_Stick wrote:

It's just a precaution, see https://wiki.debian.org/SecureApt#How_t … _add_a_key

Does anyone know what's the issue on this?
I've tried getting my head around the manual, but I'm a bit lost within.
Thanks

Last edited by gree (2016-07-07 12:57:32)

Offline

#2 2016-07-07 13:15:48

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: GPG Error

Show us the output of

sudo apt-key list
apt-cache policy debian-keyring
apt-cache policy

please.

Offline

#3 2016-07-07 13:21:25

gree
Member
Registered: 2016-06-08
Posts: 74

Re: GPG Error

Thanks nobody

Are these entries all legit? I can't tell... The Google entry worries me a bit smile tho...

/etc/apt/trusted.gpg
--------------------
pub   4096R/46D7E7CF 2009-05-15
uid                  GetDeb Archive Automatic Signing Key <archive@getdeb.net>

pub   1024D/7FAC5991 2007-03-08
uid                  Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>
sub   2048g/C07CB649 2007-03-08

pub   4096R/E15E78F4 2015-04-17 [expires: 2020-04-15]
uid                  GitLab B.V. (package repository signing key) <packages@gitlab.com>

pub   2048R/D3D831EF 2014-08-04
uid                  Xamarin Public Jenkins (auto-signing) <releng@xamarin.com>
sub   2048R/E7EFC823 2014-08-04

pub   2048R/6309A9C9 2016-04-15 [expires: 2018-06-24]
uid                  home:Head_on_a_Stick OBS Project <home:Head_on_a_Stick@build.opensuse.org>

pub   2048R/DD7FB8CC 2010-06-28
uid                  Fabre François (multiboot gpg key) <liveusb@gmail.com>
sub   2048R/6FECE640 2010-06-28

pub   2048R/7F0CEB10 2010-02-05
uid                  Richard Kreuter <richard@10gen.com>
sub   2048R/A89B0149 2010-02-05

pub   1024R/19274DEF 2011-05-11
uid                  Launchpad PPA for Jochen Sprickerhof

pub   4096R/5FCBF54A 2015-11-23 [expires: 2025-11-20]
uid                  Sebastian Lackner (WineHQ packages) <sebastian@fds-team.de>
sub   4096R/1F65F7D0 2015-11-23 [expires: 2025-11-20]

pub   1024D/2D230C5F 2006-01-03 [expired: 2007-02-07]
uid                  Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>

pub   1024D/30B34DD5 2003-12-03 [expired: 2004-01-14]
uid                  Debian Archive Automatic Signing Key (2003 v2) <ftpmaster@debian.org>

pub   4096R/09EA8AC3 2014-04-15
uid                  Debian Testing CDs Automatic Signing Key <debian-cd@lists.debian.org>
sub   4096R/6BD05CFB 2014-04-15

pub   1024R/1DB114E0 2004-01-15 [expired: 2005-01-27]
uid                  Debian Archive Automatic Signing Key (2004) <ftpmaster@debian.org>

pub   1024D/88C7C1F7 1999-01-30
uid                  Steve McIntyre <steve@einval.com>
uid                  Steve McIntyre <stevem@chiark.greenend.org.uk>
uid                  Steve McIntyre <93sam@debian.org>
uid                  Debian CD signing key <debian-cd@lists.debian.org>
sub   1024g/9315EA5D 1999-01-30

pub   4096R/64E6EA7D 2009-10-03
uid                  Debian CD signing key <debian-cd@lists.debian.org>

pub   1024D/6070D3A1 2006-11-20 [expired: 2009-07-01]
uid                  Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>

pub   1024D/38C6029A 2002-12-20 [expired: 2004-01-24]
uid                  Debian Archive Automatic Signing Key (2003) <ftpmaster@debian.org>

pub   4096R/6294BE9B 2011-01-05
uid                  Debian CD signing key <debian-cd@lists.debian.org>
sub   4096R/11CD9819 2011-01-05

pub   1024D/4F368D5D 2005-01-31 [expired: 2006-01-31]
uid                  Debian Archive Automatic Signing Key (2005) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/bunsen-keyring.gpg
-----------------------------------------
pub   4096R/FE62D9C5 2015-07-11 [expires: 2019-06-30]
uid                   (BunsenLabs Repository Signing Key) <>
sub   4096R/B2606270 2015-07-11 [expires: 2019-06-30]

/etc/apt/trusted.gpg.d/gezakovacs-ppa.gpg
-----------------------------------------
pub   1024R/FC91AE7E 2009-01-21
uid                  Launchpad PPA for Geza Kovacs

/etc/apt/trusted.gpg.d/pkg-mozilla-archive-keyring.gpg
------------------------------------------------------
pub   4096R/06C4AE2A 2010-11-20 [expires: 2019-11-13]
uid                  Debian Mozilla team APT archive <pkg-mozilla-maintainers@lists.alioth.debian.org>

/etc/apt/trusted.gpg.d/teejee2008-ppa.gpg
-----------------------------------------
pub   1024R/2D0F61F0 2013-01-14
uid                  Launchpad PPA for Tony George

/etc/apt/trusted.gpg.d/tobias-quinn-gsmz.gpg
--------------------------------------------
pub   1024R/757D8CC3 2011-09-27
uid                  Launchpad PPA for Tobias Quinn

Offline

#4 2016-07-07 13:31:14

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: GPG Error

I see; your Debian keys are very outdated (well, except for our own key:). There is a Debian 4.0 signing key there. Are you even running Debian jessie or are you on lenny?

Anyway, assuming you are running Debian Jessie, do the following: Download the debian-keyring for jessie from one of the mirror links here: https://packages.debian.org/jessie/all/ … g/download, then install that package using

sudo dpkg -i $the_package_file

after that, apt-get update should not return any errors anymore.

The Google keys are there because they authenticate the Google Chrome apt repository.

Offline

#5 2016-07-07 14:19:45

gree
Member
Registered: 2016-06-08
Posts: 74

Re: GPG Error

Thanks, I did as you suggested. still getting the same gpg error
yes, jessie is the main dist.

Offline

#6 2016-07-07 19:09:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: GPG Error

@gree -- can you explain exactly how you installed this system?

Is this the same system that was missing the main Debian repositories in this thread?

Offline

#7 2016-07-07 22:06:09

gree
Member
Registered: 2016-06-08
Posts: 74

Re: GPG Error

yes, exactly - but they're missing because I disabled them - because of the gpg error ... so - the circle kinda closes here smile

Offline

#8 2016-07-07 22:25:25

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,143
Website

Re: GPG Error

Grasping at straws...

sudo apt get update && sudo apt get upgrade

Please post the output. Also the contents of /etc/apt/sources.list and any other sources (sources.list.d files and their content).


I don't care what you do at home. Would you care to explain?

Offline

#9 2016-07-08 11:09:30

gree
Member
Registered: 2016-06-08
Posts: 74

Re: GPG Error

Pastebin - Update + Upgrade Output

# deb http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen main contrib non-free 
# deb http://ftp.de.debian.org/debian/ jessie main 

deb http://download.opensuse.org/repositories/home:/Head_on_a_Stick:/BunsenLabs/Debian_8.0/ / 

## Depôt MultiSystem
deb http://liveusb.info/multisystem/depot/ all main 
# deb http://archive.ubuntu.com/ubuntu/ bunsen-hydrogen multiverse restricted main universe 
# deb-src http://archive.ubuntu.com/ubuntu/ bunsen-hydrogen main universe restricted multiverse 
# deb-src http://archive.ubuntu.com/ubuntu/ bunsen-hydrogen main universe restricted multiverse 
# deb http://downloads.mongodb.org/distros/ubuntu/ 8.4 10gen 
# deb https://launchpad.net/~conkyhardcore/+archive/ppa/ bunsen-hydrogen main 
# deb-src https://launchpad.net/~conkyhardcore/+archive/ppa/ bunsen-hydrogen main 

deb http://httpredir.debian.org/debian/ jessie main contrib non-free 
deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free 
deb http://security.debian.org/ jessie/updates main 
deb http://ftp.de.debian.org/debian/ oldstable main 

deb https://dl.winehq.org/wine-builds/debian/ jessie main    

I think this is the only source.list; I never changed something else beside this one.

Offline

Board footer

Powered by FluxBB