PDA

View Full Version : update repository gpg keys problem?



jsanza@terra.es
22nd November 2006, 09:51 PM
Hello,

I am to update my system after a fc 6 installation, and i get the following error about
fedora core 6 update repository

... bla bla bla ....
Total download size: 26 M
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Public key for initscripts-8.45.5-1.i386.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2) is already installed
The GPG keys listed for the "Fedora Core 6 - i386 - Updates" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

how can i get the right keys to the update repo?

thank you

Seve
22nd November 2006, 10:11 PM
Hello:
Do these work?
http://www.fedorafaq.org/#gpgsig

Seve

mamoo
22nd November 2006, 10:48 PM
i got error ntfs is not signed
i tried the site u gave me
but it does not worked

jsanza@terra.es
22nd November 2006, 11:07 PM
Hello,

Thank you Seve, but bad news, sorry, no running ... maybe i think i am doing something wrong ...

[root@darkstar yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
[root@darkstar yum.repos.d]# yum update
Setting up Update Process
Setting up repositories
livna [1/4]
core [2/4]
updates [3/4]
extras [4/4]
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package initscripts.i386 0:8.45.5-1 set to be updated
---> Package tar.i386 2:1.15.1-21.fc6 set to be updated
---> Package audit-libs.i386 0:1.2.9-1.fc6 set to be updated
---> Package info.i386 0:4.8-14.fc6 set to be updated
---> Package util-linux.i386 0:2.13-0.45.1.fc6 set to be updated
---> Package python.i386 0:2.4.4-1.fc6 set to be updated
---> Package shadow-utils.i386 2:4.0.17-10.fc6 set to be updated
---> Package libsepol.i386 0:1.15.1-1.fc6 set to be updated
---> Package kernel.i586 0:2.6.18-1.2849.fc6 set to be installed
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kernel i586 2.6.18-1.2849.fc6 updates 15 M
Updating:
audit-libs i386 1.2.9-1.fc6 updates 38 k
info i386 4.8-14.fc6 updates 172 k
initscripts i386 8.45.5-1 updates 1.3 M
libsepol i386 1.15.1-1.fc6 updates 129 k
python i386 2.4.4-1.fc6 updates 5.9 M
shadow-utils i386 2:4.0.17-10.fc6 updates 1.0 M
tar i386 2:1.15.1-21.fc6 updates 746 k
util-linux i386 2.13-0.45.1.fc6 updates 1.7 M

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 8 Package(s)
Remove 0 Package(s)
Total download size: 26 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Public key for initscripts-8.45.5-1.i386.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2) is already installed


The GPG keys listed for the "Fedora Core 6 - i386 - Updates" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
[root@darkstar yum.repos.d]#


My repo files:

fedore-core.repo
[root@darkstar yum.repos.d]# more fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[root@darkstar yum.repos.d]#

what am i doing wrong?

thank you

Seve
22nd November 2006, 11:54 PM
Hello:
The error seems odd?
Try updating with
yum --exclude=initscripts update
or you could change your
gpgcheck=1
to
gpgcheck=0
to bypass the key check
Everything you have posted looks okay, so it may be a temporary mirror issue?

Seve