LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I import a GPG key from RPMfind.net (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-import-a-gpg-key-from-rpmfind-net-178630/)

lehumphr 05-06-2004 01:33 PM

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.

tiger7007 05-06-2004 02:53 PM

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 :jawa:

lehumphr 05-06-2004 03:23 PM

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

tiger7007 05-07-2004 01:51 PM

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


All times are GMT -5. The time now is 03:21 PM.