Yum update error

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
mevans
New Forum User
New Forum User
Posts: 2
Joined: Wed Nov 21, 2012 12:34 pm
Location: UK

Yum update error

Unread post by mevans »

I am trying to update two servers from the aromic repo but get the following error:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt

The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

One server is an old one which has used the repo before with no issues and the other is a new install, both running Centos 6.3
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Yum update error

Unread post by prupert »

Try

Code: Select all

yum clean all
Lemonbit Internet Dedicated Server Management
mevans
New Forum User
New Forum User
Posts: 2
Joined: Wed Nov 21, 2012 12:34 pm
Location: UK

Re: Yum update error

Unread post by mevans »

Thanks, all seems to be working now
saosangmo
New Forum User
New Forum User
Posts: 2
Joined: Tue Jul 02, 2013 11:39 am
Location: Vietnam

Re: Yum update error

Unread post by saosangmo »

hi,
I have the same issue, already run "yum clean all" but the error is till there.
How can I do?
Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
libvirt x86_64 0.10.2-18.el6_4.9 updates 2.3 M
libvirt-client x86_64 0.10.2-18.el6_4.9 updates 4.0 M
libvirt-python x86_64 0.10.2-18.el6_4.9 updates 463 k
tnef x86_64 1.4.9-2.el6.art atomic 53 k

Transaction Summary
================================================================================
Upgrade 4 Package(s)

Total size: 6.8 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt

The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
saosangmo
New Forum User
New Forum User
Posts: 2
Joined: Tue Jul 02, 2013 11:39 am
Location: Vietnam

Re: Yum update error

Unread post by saosangmo »

Sorry, that error is still there. Can anyone help me?
hostinggeek
New Forum User
New Forum User
Posts: 1
Joined: Wed Sep 10, 2008 5:58 am

Re: Yum update error

Unread post by hostinggeek »

Has anyone actually solved this? If you have, can you share? I'm running into the same issue, and I've tried all the solutions I can find.

This is my error, which looks like many others I've seen for the same key ID:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt


The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository

Thanks in advance.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Yum update error

Unread post by scott »

New atomic-release should be out now with the alternate keys referenced by default.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Yum update error

Unread post by faris »

remember to re-add any exclude=php php-* to atomic.repo if you don't want php 5.4 ;-) (similarly for MySQL).

Scott, is there any way for an rpm to read the contents of the old .repo so that excludes don't get overwritten?
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Yum update error

Unread post by scott »

Not natively, I think there might be a few plugins out there in Fedora 20 that look at rpmnew files, as well as a few new abstraction layers like yum-config-manager
bob83
Forum User
Forum User
Posts: 33
Joined: Wed Oct 28, 2009 8:42 pm

Re: Yum update error

Unread post by bob83 »

I have same problem again, yum clean all doesnt solve.

Total download size: 797 k
Is this ok [y/N]: y
Downloading Packages:
(1/5): atomic-release-1.0-19.el6.art.noarch.rpm | 7.6 kB 00:00
(2/5): mod_security-2.7.7-18.el6.art.x86_64.rpm | 220 kB 00:00
(3/5): nss-softokn-3.14.3-10.el6_5.x86_64.rpm | 265 kB 00:00
(4/5): nss-softokn-freebl-3.14.3-10.el6_5.i686.rpm | 147 kB 00:00
(5/5): nss-softokn-freebl-3.14.3-10.el6_5.x86_64.rpm | 157 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.8 MB/s | 797 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 4520afa9: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt


The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
[root@plesk101 logs]#

How to fix? Tnx!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Yum update error

Unread post by scott »

what version of atomic-release are you using
bob83
Forum User
Forum User
Posts: 33
Joined: Wed Oct 28, 2009 8:42 pm

Re: Yum update error

Unread post by bob83 »

[root@plesk101 ~]# rpm -q atomic-release
atomic-release-1.0-18.el6.art.noarch
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Yum update error

Unread post by scott »

The latest release, atomic-release-1.0-19 has the updated keys
jbouv55151
New Forum User
New Forum User
Posts: 1
Joined: Mon May 19, 2014 5:48 am
Location: France

Re: Yum update error

Unread post by jbouv55151 »

Hello,
I do have the same problem.
Version http://www.atomicorp.com/installers/atomic seems to be 1.0-18. How can I get 1.0-19 to solve this ?

Thanks a lot for your work
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Yum update error

Unread post by prupert »

jbouv55151 wrote:Hello,
I do have the same problem.
Version http://www.atomicorp.com/installers/atomic seems to be 1.0-18. How can I get 1.0-19 to solve this ?

Thanks a lot for your work

Code: Select all

yum update atomic-release
Lemonbit Internet Dedicated Server Management
Post Reply