[CentOS] yum --import of RPMforge

Fri Dec 23 17:00:16 UTC 2011
Johnny Hughes <johnny at centos.org>

On 12/23/2011 10:33 AM, Frank M. Ramaekers wrote:
> Using the instructions on:
> http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-f0
> c3ecee3dbb407e4eed79a56ec0ae92d1398e01
> 
>  
> 
> I enter the command: rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
> and it comes back to the prompt, like it worked, but attempting to
> confirm the download:
>  
> rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm
>  
> results in:
>  
> error: rpmforge-release-0.5.2-2.el6.rf.*.rpm: open failed: No such file
> or directory
>  
> (Turning -vv on the -import)
>  
> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
> D: loading keyring from rpmdb
> D: opening  db environment /var/lib/rpm cdb:mpool:joinenv
> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
> D: locked   db index       /var/lib/rpm/Packages
> D: opening  db index       /var/lib/rpm/Name rdonly mode=0x0
> D:  read h#     983 Header sanity check: OK
> D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring
> D:  read h#    1018 Header sanity check: OK
> D: added key gpg-pubkey-6b8d79e6-3f49313d to keyring
> D: Using legacy gpg-pubkey(s) from rpmdb
> D: closed   db index       /var/lib/rpm/Name
> D: closed   db index       /var/lib/rpm/Packages
> D: closed   db environment /var/lib/rpm
>  
> What is going on here?

The command that you used:

"rpm -K"

requires that you have an file named, in your case,
rpmforge-release-0.5.2-2.el6.rf.*.rpm, in the directory where you are at.

The error that you got is telling you that in the terminal where you are
when you type the command ... there are are no files named
rpmforge-release-0.5.2-2.el6.rf.*.rpm in the directory.

What is it that you are trying to do?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20111223/21463390/attachment-0004.sig>