LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-09-2006, 08:40 AM   #1
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Question A strange issue with unauthenticated apt repositories


Lately I've noticed that many of the apt repositories I'm using are all failing to authenticate themselves correctly; the usual error message is as follows:

Code:
W: GPG error: ftp://ftp.uk.debian.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
I have the UK, IE and US mirrors listed in my sources.list and all three fail to authenticate correctly. Does anyone know what the deal is, and whether or not any official repositories exist that are able to authenticate?

Last edited by TheOneKEA; 01-09-2006 at 08:42 AM.
 
Old 01-09-2006, 09:40 AM   #2
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
see antiloaded post lower down in this forum. It 's a yrly thing.
 
Old 01-09-2006, 12:29 PM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
Unfortunately, his instructions are slightly out of date - the key has changed again.

To fix this issue:

1. Import the apt repository key with this command:

Code:
gpg --keyserver keyring.debian.org --recv 010908312D230C5F
2. Export the key into the local apt keyring:

Code:
gpg --armor --export 2D230C5F | apt-key add -
3. Run apt-get update to make your local listings coherent.

Once I did that I was once again able to update.
 
Old 01-09-2006, 12:46 PM   #4
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Quote:
Originally Posted by TheOneKEA
Unfortunately, his instructions are slightly out of date - the key has changed again.

To fix this issue:

1. Import the apt repository key with this command:

Code:
gpg --keyserver keyring.debian.org --recv 010908312D230C5F
2. Export the key into the local apt keyring:

Code:
gpg --armor --export 2D230C5F | apt-key add -
3. Run apt-get update to make your local listings coherent.

Once I did that I was once again able to update.

Out of date? Would you be so kind to explain? (in case it's allready outdated).

Just read that you can also use the command to fix the problem:

Code:
# wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
 
Old 01-10-2006, 03:40 AM   #5
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by antiloaded
Out of date? Would you be so kind to explain? (in case it's allready outdated).
Your original commands included an old keyprint. The keyprint in the above commands is the key being used to authenticate the apt repositories now.

Quote:
Originally Posted by antiloaded
Just read that you can also use the command to fix the problem:

Code:
# wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
Perhaps a thread like this ought to be sticky.
 
Old 03-17-2011, 11:05 AM   #6
vpablos
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Rep: Reputation: 1
Another solution that should not be used:

$ cat /etc/apt/apt.conf.d/02allowunauthenticated
APT::Get::AllowUnauthenticated "true";

But you must be carefull with the repositories/packages you install.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu (apt) repositories VertX Ubuntu 1 04-10-2005 06:39 AM
Multiple apt repositories ? frochet Debian 3 12-23-2004 03:29 AM
apt repositories????? BuffloTrace Mandriva 1 05-06-2004 12:09 AM
the best apt repositories bosewicht Linux - Newbie 1 10-07-2003 01:23 PM
CL apt-get repositories? alsosa Conectiva 4 09-15-2003 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration