LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2009, 07:15 PM   #1
pobman
Member
 
Registered: Jun 2005
Location: Wellington, New Zealand
Distribution: Fedora 9
Posts: 31

Rep: Reputation: 16
GPG error on Debian 4 using apt-get


Hello,

I wish to update a debian 4.0 server we have but cannot get past the following error message.

Quote:
apt-get update
Get:1 http://ftp.citylink.co.nz etch Release.gpg [275B]
Get:2 http://ftp.citylink.co.nz etch Release
Ign http://ftp.citylink.co.nz etch Release
Get:3 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://security.debian.org etch/updates Release
Err http://security.debian.org etch/updates Release

Get:4 http://security.debian.org etch/updates Release [12.8kB]
Ign http://security.debian.org etch/updates Release
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Get:5 http://ftp.citylink.co.nz etch/main Packages [5489kB]
Fetched 5523kB in 2m19s (39.7kB/s)
Reading package lists... Done
W: GPG error: http://ftp.citylink.co.nz etch Release: The following signatures were invalid: NODATA 1 NODATA 2
W: GPG error: http://security.debian.org etch/updates Release: The following signatures were invalid: NODATA 1 NODATA 2
W: You may want to run apt-get update to correct these problems
my keys are as follows:
Quote:
apt-key list
/etc/apt/trusted.gpg
--------------------
pub 1024D/2D230C5F 2006-01-03 [expired: 2007-02-07]
uid Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>

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

pub 1024D/ADB11277 2006-09-17
uid Etch Stable Release Key <debian-release@lists.debian.org>

pub 1024D/BBE55AB3 2007-03-31 [expires: 2010-03-30]
uid Debian-Volatile Archive Automatic Signing Key (4.0/etch)
sub 2048g/36CA98F3 2007-03-31 [expires: 2010-03-30]
Any help would be good.
 
Old 04-06-2009, 09:15 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
try the following

apt-get install debian-archive-keyring

Last edited by farslayer; 04-06-2009 at 09:17 PM.
 
Old 04-06-2009, 10:23 PM   #3
pobman
Member
 
Registered: Jun 2005
Location: Wellington, New Zealand
Distribution: Fedora 9
Posts: 31

Original Poster
Rep: Reputation: 16
I just gave that a try but unfortunately it did not work.

Quote:
apt-get install debian-archive-keyring
Reading package lists... Done
Building dependency tree... Done
debian-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 95 not upgraded.
 
Old 04-07-2009, 12:56 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Can you check
Code:
aptitude search debian-archive-keyring
This will tell you (a) if it's already installed (the line will begin with an "i" and (b) whether the package is in your repos. You may be missing something from your sources.list file.
cheers,
jdk
 
Old 04-07-2009, 03:49 PM   #5
pobman
Member
 
Registered: Jun 2005
Location: Wellington, New Zealand
Distribution: Fedora 9
Posts: 31

Original Poster
Rep: Reputation: 16
Here is the results of the command:

aptitude search debian-archive-keyring
i debian-archive-keyring - GnuPG archive keys of the Debian archive
 
Old 04-07-2009, 11:33 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Ok that means you already have debian-archive-keyring installed that's why your apt-get command wouldn't install it - it was already installed.

The messages you received originally were not errors; they were warnings. Messages beginning with "W:" are warnings; those with "E:" are errors. Your update completed successfully. apt-get was just telling you that you need to update your keyring with more recent public keys from the repos on your sources.list file. Install the gui-apt-key package if you want an easy way to update your keys.
Quote:
pub 1024D/2D230C5F 2006-01-03 [expired: 2007-02-07]
As you can tell from the date, this is the key that needs updating.
cheers,
jdk
 
  


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
apt-key gpg error Free Thinker Linux - Newbie 1 09-04-2015 02:37 AM
apt-move : Creating the Release.gpg error!! akshay_jp Ubuntu 0 03-22-2007 08:35 PM
what to do? gpg error on apt-get update darkleaf Debian 7 04-30-2006 04:24 AM
problem with apt-get update - gpg error quarry_06 Debian 1 01-31-2006 06:48 AM
Apt GPG error! please help THEHERO Debian 6 10-19-2005 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 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