LinuxQuestions.org
Visit Jeremy's Blog.
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 03-12-2006, 12:44 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
bad signature when running aptitude update


When I tried to run aptitude update today, I got the error message
Code:
W: GPG error: ftp://ftp.us.debian.org testing Release: The following signatures were invalid: BADSIG 010908312D230C5F Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>
W: You may want to run apt-get update to correct these problems
I'm running Debian Etch. What do I need to do to fix this?
 
Old 03-12-2006, 01:16 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
This may work;
Code:
    $ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 010908312D230C5F
    $ gpg --armor --export 010908312D230C5F | sudo apt-key add -
    $ apt-get update
http://planet-geek.com/archives/2005_12.html

Last edited by comprookie2000; 03-12-2006 at 01:19 PM.
 
Old 03-12-2006, 01:28 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
...or maybe this:
Quote:
Apparently, as the year had now become 2006, I had to fetch the Debian Archive Automatic Signing Key for 2006. I found directions on how to fix this. All you have to do is run the following:

1. Fetch and import the Debian key for the current year (replacing “2006″ with the current year) by running the following as root (all on one line):

wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -

You might get this warning:

gpg: no ultimately trusted keys found

and that should be okay. (The warning is explained in the Debian Wiki.)
2. Check that the key was successfully imported like so (run it as root):

apt-key list

You should see the key you just added:


...
pub 1024D/2D230C5F 2006-01-03 [expires: 2007-02-07]
uid Debian Archive Automatic Signing Key (2006)
 
Old 03-12-2006, 08:40 PM   #4
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
I tried both of the above suggestions, and the key was listed when I ran
Code:
apt-key list
but it still gives me that error. Other suggestions?
 
Old 03-12-2006, 11:00 PM   #5
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
I get the same thing. My key claims to be up to date. I guess the Debian repository is broken. Weren't they talking about putting in a new server earlier this week? Perhaps that's the problem.
 
Old 03-12-2006, 11:06 PM   #6
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
ok, well it's good to know it's not just me then. Hopefully one of us will find an answer.
 
Old 03-13-2006, 03:27 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Here's one third, should be the cleanest :

Code:
apt-get install debian-archive-keyring
 
Old 03-13-2006, 07:56 AM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
which doesn't work either. I get an error about being unable to open the file. I have a feeling their moving servers, as someone suggested above, because apt was unable to find some updates.
 
Old 03-13-2006, 08:11 AM   #9
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
This is a common occurance with the 2006 key. All the solutions posted above should have fixed the issue though. However; at the risk of redundancy, please do the following, single line command, as root user:
Code:
gpg --keyserver subkeys.pgp.net --recv-keys 2D230C5F ; gpg --export 084750FC01A6D388A643D869010908312D230C5F | apt-key add -
This has worked for everyone I have seen with this problem. Good luck.
 
Old 03-13-2006, 06:34 PM   #10
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
it seemd to work fine, until I tried to run
Code:
aptitude update
I then got this output
Code:
Reading package lists... Done
Building dependency tree... Done
Reading extended state information       
Initializing package states... Done
Building tag database... Done      
Get:1 http://apt.cerkinfo.be unstable Release.gpg [191B]       
Hit http://apt.cerkinfo.be unstable Release                    
Hit http://apt.cerkinfo.be unstable/main Packages             
Get:2 ftp://ftp.us.debian.org testing Release.gpg
Hit http://apt.cerkinfo.be unstable/contrib Packages            
Hit ftp://ftp.nerim.net etch Release.gpg                        
Ign ftp://ftp.us.debian.org testing Release.gpg
Get:3 ftp://ftp.us.debian.org testing Release
Get:4 ftp://ftp.nerim.net etch Release [2864B]
Ign ftp://ftp.us.debian.org testing Release          
Get:5 ftp://ftp.us.debian.org testing/main Packages  
Ign ftp://ftp.us.debian.org testing/main Packages     
Get:6 ftp://ftp.us.debian.org testing/contrib Packages
Hit ftp://ftp.nerim.net etch/main Packages
Ign ftp://ftp.us.debian.org testing/contrib Packages
Get:7 ftp://ftp.us.debian.org testing/non-free Packages
Ign ftp://ftp.us.debian.org testing/non-free Packages
Get:8 ftp://ftp.us.debian.org testing/main Sources
Ign ftp://ftp.us.debian.org testing/main Sources
Get:9 ftp://ftp.us.debian.org testing/contrib Sources
Ign ftp://ftp.us.debian.org testing/contrib Sources
Get:10 ftp://ftp.us.debian.org testing/non-free Sources
Ign ftp://ftp.us.debian.org testing/non-free Sources
Get:11 ftp://ftp.us.debian.org testing/main Packages
Err ftp://ftp.us.debian.org testing/main Packages
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 128.101.240.212 21]
Get:12 ftp://ftp.us.debian.org testing/contrib Packages
Err ftp://ftp.us.debian.org testing/contrib Packages                                                                                          
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 128.101.240.212 21]
Get:13 ftp://ftp.us.debian.org testing/non-free Packages                                                                                      
Err ftp://ftp.us.debian.org testing/non-free Packages                                                                                         
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 128.101.240.212 21]
Get:14 ftp://ftp.us.debian.org testing/main Sources                                                                                           
Err ftp://ftp.us.debian.org testing/main Sources                                                                                              
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 128.101.240.212 21]
Get:15 ftp://ftp.us.debian.org testing/contrib Sources                                                                                        
Err ftp://ftp.us.debian.org testing/contrib Sources                                                                                           
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 128.101.240.212 21]
Get:16 ftp://ftp.us.debian.org testing/non-free Sources                                                                                       
Err ftp://ftp.us.debian.org testing/non-free Sources                                                                                          
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 128.101.240.212 21]
Get:17 ftp://ftp.real-time.com etch Release.gpg                                                                                               
Ign ftp://ftp.real-time.com etch Release.gpg                                                                                                  
Hit ftp://ftp.real-time.com etch Release                                                                                                      
Get:18 ftp://ftp.real-time.com etch/custom Packages                                                                                           
Ign ftp://ftp.real-time.com etch/custom Packages                                                                                              
Get:19 ftp://ftp.real-time.com etch/main Packages                                                                                             
Ign ftp://ftp.real-time.com etch/main Packages
Hit ftp://ftp.real-time.com etch/custom Packages
Hit ftp://ftp.real-time.com etch/main Packages
Fetched 2865B in 13s (213B/s)
Reading package lists... Done
Suggestions?
 
Old 03-13-2006, 08:14 PM   #11
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
ok, not getting the error posted above anymore, but running the last suggested command didn't work either.
 
Old 03-14-2006, 03:36 PM   #12
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
after importing the key, you need to do apt-get update before aptitude update.

If it's still not working, i would suggest changing the mirror you use...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RPM V3 DSA signature: BAD Scorps Linux - Software 0 11-15-2004 01:06 AM
bad signature problems.... jnassiri Mandriva 0 08-22-2004 12:16 AM
BAD Signature!! What to do? codedv Linux - General 3 07-11-2004 06:15 AM
gaim ----bad signature ????????????? varunk123456 Linux - Newbie 1 04-01-2004 04:02 PM
'bad signature' real-tech Linux - Software 1 03-27-2003 10:05 AM

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

All times are GMT -5. The time now is 08:14 AM.

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