Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] keyring problem
[SOLVED] keyring problem
I had Debian8 installed (AMD-64) for years. When I recently upgraded (half) to Debian 9, midway through the procedure I got a NO_PUBKEY 'keyring' error. This seems to mean that the kernel didn't get upgraded, although some packages did, e.g. -> Firefox browser and ->Thunderbird email server. But hey, the system still seems to work. So I just carried on using.
Unfortunately apt-get update now always gives a keyring message:
W: GPG error: http://download.opensuse.org Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 164B4655667F68A8
I searched around and tried this (I disabled my router's firewall & ufw):
gpg --keyserver subkeys.pgp.net --recv 164B4655667F68A8
which returned this:
gpg: requesting key 667F68A8 from hkp server subkeys.pgp.net
....before timing out after several minutes.
Evidently there is a loose bit somewhere.
The only thing I can think of is to create a DVD for the latest stable Debian, wipe all existing system directories, and install from new.
Unfortunately apt-get update now always gives a keyring message:
W: GPG error: http://download.opensuse.org Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 164B4655667F68A8
I searched around and tried this (I disabled my router's firewall & ufw):
gpg --keyserver subkeys.pgp.net --recv 164B4655667F68A8
which returned this:
gpg: requesting key 667F68A8 from hkp server subkeys.pgp.net
....before timing out after several minutes.
Evidently there is a loose bit somewhere.
The only thing I can think of is to create a DVD for the latest stable Debian, wipe all existing system directories, and install from new.
Last edited by consufed on 2017-09-05 18:50, edited 1 time in total.
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: keyring problem
opensuse?
It would be interesting to see you sources list and the contents of /etc/apt.sources.list.d
- None1975
- df -h | participant
- Posts: 1410
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 70 times
Re: keyring problem
Don't make a FrankenDebianconsufed wrote:W: GPG error: http://download.opensuse.org Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 164B4655667F68A8
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: keyring problem
Doesn't sound too promising.consufed wrote: I recently upgraded (half) to Debian 9
Re: keyring problem
Here's what's in /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.de.debian.org/debian stretch main
deb http://ftp.be.debian.org/debian/ jessie main
deb-src http://ftp.be.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://ftp.be.debian.org/debian/ jessie-updates main
deb-src http://ftp.be.debian.org/debian/ jessie-updates main
deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free
I also don't understand the suse message.
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.de.debian.org/debian stretch main
deb http://ftp.be.debian.org/debian/ jessie main
deb-src http://ftp.be.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://ftp.be.debian.org/debian/ jessie-updates main
deb-src http://ftp.be.debian.org/debian/ jessie-updates main
deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free
I also don't understand the suse message.
Re: keyring problem
You've mixed together stable and what is now oldstable. Which is bad for a start.
You also need to post the output of this
You also need to post the output of this
Code: Select all
cat /etc/apt/sources.list.d/*
Re: keyring problem
Only one stretch repo in the bunch. I can only imagine what a "half upgrade" is.Lysander wrote:You've mixed together stable and what is now oldstable. Which is bad for a start.
Re: keyring problem
Your sources.list file is configured in such a way that it can cause problems to your system.consufed wrote:Here's what's in /etc/apt/sources.list
I also don't understand the suse message.Code: Select all
deb http://download.virtualbox.org/virtualbox/debian jessie contrib deb http://httpredir.debian.org/debian jessie-backports main contrib non-free deb http://ftp.de.debian.org/debian stretch main deb http://ftp.be.debian.org/debian/ jessie main deb-src http://ftp.be.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main deb http://ftp.be.debian.org/debian/ jessie-updates main deb-src http://ftp.be.debian.org/debian/ jessie-updates main deb http://ftp.de.debian.org/debian jessie main contrib non-free deb http://www.deb-multimedia.org jessie main non-free deb-src http://www.deb-multimedia.org jessie main non-free
Read sources.list from the Debian Wiki and Don't break Debian to understand why.
[SOLVED] keyring problem
Whoops! I cleaned out all old Jessie references in sources.list , then an apt-get update & upgrade completed ok without any keyring or other messages.
Thanks for the replies.
Thanks for the replies.
Re: keyring problem
Huh, I'm not familiar with this [directory] so I took a look in my system...Lysander wrote:You've mixed together stable and what is now oldstable. Which is bad for a start.
You also need to post the output of thisCode: Select all
cat /etc/apt/sources.list.d/*
Code: Select all
russel@NUC-G:~$ ls -la /etc/apt/sources.list.d/
total 8
drwxr-xr-x 2 root root 4096 Jun 1 01:50 .
drwxr-xr-x 6 root root 4096 Aug 14 08:41 ..
[edit] Changed the word "folder" to directory. My bad! [/edit]
Last edited by RU55EL on 2017-09-06 01:30, edited 1 time in total.
- sunrat
- Administrator
- Posts: 6497
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: [SOLVED] keyring problem
It's ok for it to be empty. It's where extra sources files go which are not in the main sources.list and is where one would expect something such as a Suse source file to be.
It may help to install inxi and runThis should show all your sources.
It may help to install inxi and run
Code: Select all
inxi -r
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: [SOLVED] keyring problem
Thanks for the explanation Sunrat.
I need to do some reading about inxi, it is a great little program!
Nice. Also, inxi is nice because of all the other stuff you can do with it!
I need to do some reading about inxi, it is a great little program!
Code: Select all
russel@debian:~$ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://deb.debian.org/debian/ stretch main
deb http://deb.debian.org/debian/ stretch-updates main
deb http://security.debian.org/ stretch/updates main
- sunrat
- Administrator
- Posts: 6497
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: [SOLVED] keyring problem
Just normal Debian sources, no Suse.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: [SOLVED] keyring problem
Code: Select all
russel@debian:~$ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://deb.debian.org/debian/ stretch main
deb http://deb.debian.org/debian/ stretch-updates main
deb http://security.debian.org/ stretch/updates main
Sorry if I wasn't very clear. This is the output from my machine, not the original poster. I was just trying out the inxi -r command.sunrat wrote:Just normal Debian sources, no Suse.
The OP, I believe, read material at Debian wiki about source.list and don't break Debian. Then reconfigured sources.list, solving the problem.