Paul Howarth wrote:

You can import a key directly into the rpm database yourself by doing:
# rpm --import /path/to/keyfile
The location of this file does not matter.

You can get a list of keys known in the rpm database by doing:
rpm -q gpg-pubkey

Paul.


I already tried this before I wrote to the discussion list, and this was the result:

[...@localhost ~]$su rpm --import /Download/RPM-GPG-KEY-rpmfusion-free-fedora
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
error: ./Download/RPM-GPG-KEY-rpmfusion-free-fedora: import failed.
[...@localhost ~]$su rpm --checksig -v /Download/rpmfusion-free-release-stable.noarch.rpm
/Download/rpmfusion-free-release-stable.noarch.rpm:
    Header V3 DSA signature: NOKEY, key ID 49c8885a
    Header SHA1 digest: OK (99f2f9277c6673f6c70b7870c67889f3c24f680a)
    MD5 digest: OK (6f614230f5bed787ce70ab2c9081245d)
    V3 DSA signature: NOKEY, key ID 49c8885a

exit

Import failed, so I still have "NOKEY".



Reply via email to