LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   GPG Key problem (https://www.linuxquestions.org/questions/fedora-35/gpg-key-problem-312645/)

satimis 04-13-2005 01:01 AM

GPG Key problem
 
Hi folks,

FedoraCore2

I tried more than one day and could not get GPG Key problem solved.

I need to install "kdirstat' from Internet with "yum' , adding following repository to /etc/yum.conf
Code:

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

Whenever running
# yum install kdirstat
Code:

......
......
etting kdirstat-2.4.0-3.1.fc2.dag.i386.rpm
kdirstat-2.4.0-3.1.fc2.da 100% |=========================| 298 kB    00:03
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/dag/packages/kdirstat-2.4.0-3.1.fc2.dag.i386.rpm
Error: You may want to run yum clean or remove the file:
 /var/cache/yum/dag/packages/kdirstat-2.4.0-3.1.fc2.dag.i386.rpm
Error: You may also check that you have the correct GPG keys installed

OR
# yum update
Code:

....
....
Getting xmms-1.2.10-11.1.1.fc2.rf.i386.rpm
xmms-1.2.10-11.1.1.fc2.rf 100% |=========================| 2.0 MB    00:13
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/dag/packages/xmms-1.2.10-11.1.1.fc2.rf.i386.rpm
Error: You may want to run yum clean or remove the file:
 /var/cache/yum/dag/packages/xmms-1.2.10-11.1.1.fc2.rf.i386.rpm
Error: You may also check that you have the correct GPG keys installed

However
# gpg --list-keys
Code:

/root/.gnupg/pubring.gpg
------------------------
pub  1024D/DB42A60E 1999-09-23 Red Hat, Inc <security@redhat.com>
sub  2048g/961630A2 1999-09-23

pub  1024D/4F2A6FD2 2003-10-27 Fedora Project <fedora@redhat.com>
sub  1024g/FB939E34 2003-10-27

The key ID differs to "key ID 6b8d79e6" on the warning.

If comment out "Dag RPM Repository for Fedora Core" there is no problem running
# yum update

Please advise how to fix this problem. TIA

B.R.
satimis

reddazz 04-13-2005 01:51 AM

Download the gpg key from dags website and import it as root by doing,
Code:

#rpm --import gpgkeyname

satimis 04-13-2005 03:22 AM

Hi reddazz,

Quote:

Download the gpg key from dags website and import it as root by doing.....
After running
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

Problem solved

Tks

B.R.
satimis


All times are GMT -5. The time now is 09:26 AM.