LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2009, 12:30 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,613

Rep: Reputation: 47
There is no public key available for the following key ID


hi

I would like to update my etch to lenny and getting these public keys problems:
Code:
# apt-get update
Get:1 http://ftp.ch.debian.org lenny Release.gpg [386B]
Hit http://ftp.ch.debian.org lenny Release
Ign http://ftp.ch.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.ch.debian.org lenny/main Sources/DiffIndex
Hit http://ftp.ch.debian.org lenny/main Packages
Hit http://ftp.ch.debian.org lenny/main Sources
Hit ftp://ftp.de.debian.org lenny Release.gpg
Get:2 http://security.debian.org lenny/updates Release.gpg [189B]
Get:3 ftp://ftp.de.debian.org lenny Release [63.2kB]
Hit http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Get:4 ftp://ftp.de.debian.org lenny/main Packages/DiffIndex
Ign ftp://ftp.de.debian.org lenny/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Get:5 ftp://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Ign ftp://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Get:6 ftp://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit http://security.debian.org lenny/updates/contrib Packages
Ign ftp://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit ftp://ftp.de.debian.org lenny/main Packages
Hit ftp://ftp.de.debian.org lenny/contrib Packages
Hit ftp://ftp.de.debian.org lenny/non-free Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Fetched 63.2kB in 1s (40.2kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
 
Old 02-16-2009, 01:43 PM   #2
digerati1338
Member
 
Registered: May 2007
Location: CO
Distribution: Ubuntu
Posts: 152
Blog Entries: 1

Rep: Reputation: 18
Try this as root:
Code:
# gpg --recv-keys 4D270D06F42584E6

# gpg --export 4D270D06F42584E6 | apt-key add -
That should download the key from a public keyserver and then the second command adds it to apt. You may need to specify a keyserver if the default doesn't work. There are several public ones available.
 
Old 02-16-2009, 02:01 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,613

Original Poster
Rep: Reputation: 47
thx, it works well, but I've found other way of life:
Code:
# apt-get install debian-keyring debian-archive-keyring
# apt-key update
 
Old 11-30-2009, 10:11 AM   #4
Gnuru
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
The answer is here:

http://gnuru.org/article/1486/debian...c-keys-error-2
 
Old 07-21-2014, 12:54 AM   #5
pathfinder123
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
It really helped!!!!

Thanks cccc
Your answer helped me.

Last edited by pathfinder123; 07-21-2014 at 12:55 AM.
 
  


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
Public Key not Available CrownAmbassador Ubuntu 4 09-12-2008 03:27 AM
Public key, private key explained calande Linux - Security 3 06-12-2008 05:23 AM
Revoking GPG key with only passphrase and public key djib Linux - Security 2 03-13-2007 03:20 AM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration