LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-19-2005, 05:04 PM   #1
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Rep: Reputation: 30
howto accept a gpg key?


I'm using the marillat source for mplayer and although the package works fine I always get a:

Code:
W: GPG error: ftp://ftp.nerim.net sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
I found on the site that I need to install this gpgkey so I ran the command (as root)

Code:
 gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
This installs the key but nothing changes, the error is still there. After some google I found the debian-keyring package and installed it. Well I guess I can uninstall aswell since it doesn't help either. Then there is the apt-key command which makes it complete.....

Can anyone explain how to accept that key the right way?

BTW, I found that I have gnome-keyring installed aswell. I'm using KDE so can I just uninstall this package?

Regards

Last edited by twinkers; 10-19-2005 at 05:10 PM.
 
Old 10-19-2005, 07:20 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
That part is correct, although the following would have also worked all right:

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 07DC563D1F41B907

It's just a matter of copy and paste. Now you still need to do another command:

apt-key add /root/.gnupg/pubring.gpg

Then do "apt-get update" and see if that fixed your problem.

You can remove gnome-keyring, you don't need that.
 
Old 10-20-2005, 11:09 AM   #3
twinkers
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 153

Original Poster
Rep: Reputation: 30
Perfect! It solved the problem.

Thanx
 
Old 10-20-2005, 03:02 PM   #4
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Quick question;
When I do "apt-key add /root/.gnupg/pubring.gpg"
I get;
Quote:
Iron@Bumbie:~$ sudo apt-key add /root/.gnupg/pubring.gpg
gpg: can't open `/root/.gnupg/pubring.gpg': No such file or directory
Is there another folder gnupgp uses in root or should I create the .gnupgp folder in /root/?
I installed via aptitude and setup while logged in as Iron.Maybe something didnt install correctly but it never mentioned any errors.
- GnuPG 1.4.2 [ OK ]
debian sid



Thanks

Last edited by ironwalker; 10-20-2005 at 03:06 PM.
 
Old 10-20-2005, 03:21 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
I installed via aptitude and setup while logged in as Iron.
If your home directory is /home/Iron , then try "sudo apt-key add /home/Iron/.gnupg/pubring.gpg".
 
Old 10-21-2005, 03:19 AM   #6
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
If it's a key your adding for apt remember to run the first command as root:

Code:
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
or (as Dead Parrot mentioned)
Code:
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 07DC563D1F41B907
Finally:
Code:
# apt-key add /root/.gnupg/pubring.gpg
Otherwise you'll load the key to a user dir and since apt only runs as root you can't load the key as trusted as root. So run both commands as root and it should work.

owww, just saw that Dead Parrot already gave a solution to the problem using sudo. Well, both ways should work!

Last edited by powadha; 10-21-2005 at 03:22 AM.
 
Old 10-21-2005, 03:21 PM   #7
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Thank you...clearly I had a mind-burp.All good now.
 
  


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
gpg primary key doctor_sniff Linux - Software 3 06-11-2005 09:55 AM
how do i install a gpg key? jaan kaer Linux - Newbie 9 07-31-2004 02:06 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
what is gpg-key salahuddin_66 Slackware 3 05-18-2004 03:10 AM
Problems with GPG Key? Duplicator Fedora - Installation 0 02-07-2004 07:27 AM

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

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