LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-06-2004, 01:33 PM   #1
lehumphr
Member
 
Registered: Sep 2003
Location: VA
Distribution: Fedora Core 2 (Tettnang)
Posts: 35

Rep: Reputation: 15
Question How do I import a GPG key from RPMfind.net


I have a package I want to install (xmms-mp3 plugin for xmms 1.2.10) . I try to install it using the following:

***************************************************************************************************
apt-get -f install xmms-mp3-1.2.10-1.1.fr.i386.rpm

Reading Package Lists... Done
Building Dependency Tree... Done
Selecting xmms-mp3 for 'xmms-mp3-1.2.10-1.1.fr.i386.rpm'
The following NEW packages will be installed:
xmms-mp3 (1.2.10-1.1.fr)
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/86.0kB of archives.
After unpacking 169kB of additional disk space will be used.


Checking GPG signatures...
Unknown signature /home/lehumphr/downloads/xmms-mp3-1.2.10-1.1.fr.i386.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#e42d547b)
E: Error(s) while checking package signatures:



0 unsigned package(s)
1 package(s) with unknown signatures
0 package(s) with illegal/corrupted signatures[
***************************************************************************************************


I need to know how to import that key or something....please help.
 
Old 05-06-2004, 02:53 PM   #2
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Rep: Reputation: 15
Links:The GPG key used to sign all packages

"Since Red Hat Linux 8.0, rpm handles package signature checking internally. This is why you should feed rpm the public keys used to sign the packages you want to install, although it isn't mandatory. This can be easily done by downloading the RPM-GPG-KEY.txt file above then running :

rpm --import RPM-GPG-KEY.txt
rpm --import /usr/share/doc/redhat-release-*/RPM-GPG-KEY

The second line will import Red Hat's main public key, which is recommended. This needs te be done as root of course, and after, you will be able to install packages that have a valid gpg signature by simply double-clicking them from nautilus, the GNOME file manager (although I don't find that very intuitive). Using a dependency tool like apt or yum is much more practical. "

Copyed from www.freshrpms.net

copyrights reserved to www.freshrpms.net

GoodLuck Hope that works for you
 
Old 05-06-2004, 03:23 PM   #3
lehumphr
Member
 
Registered: Sep 2003
Location: VA
Distribution: Fedora Core 2 (Tettnang)
Posts: 35

Original Poster
Rep: Reputation: 15
The first import worked and then i was able to install the package but for some reason the second command did not work and resulted in an error.

rpm --import /usr/share/doc/redhat-release-*/RPM-GPG-KEY
error: /usr/share/doc/redhat-release-*/RPM-GPG-KEY: import read failed.

more help por favor
 
Old 05-07-2004, 01:51 PM   #4
tiger7007
Member
 
Registered: Aug 2003
Distribution: RedHat9/FedoraCore1
Posts: 73

Rep: Reputation: 15
did u do the 2nd command as root also try
"rpm --import /usr/share/doc/redhat-release-*/RPM-GPG-KEY.txt"
 
  


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
YUM --import public.gpg.key Fredstar Linux - Newbie 8 03-25-2005 06:31 PM
what happened to rpmfind.net? boopers General 4 12-20-2004 05:16 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
freshrpms.net & rpmfind.net are down! JoeyJoeJo General 4 08-28-2003 05:05 PM
Alternative for rpmfind.net? eross Linux - Software 6 06-24-2003 05:47 PM


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

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