Re: cannot install public key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-09-08 at 23:48, Andre Kirchner wrote:
> Hi,
> 
> when I try to run up2date, it returns a message saying
> that I should install the public-key with the commands
> 
> rpm --import /usr/share/rhn/RPM-GPG-KEY
> rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
> 
> But when I execute them, the following error messages
> are shown
> 
> [root@Deutschland root]# rpm --import
> /usr/share/rhn/RPM-GPG-KEY-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: /usr/share/rhn/RPM-GPG-KEY-fedora: import
> failed.
> [root@Deutschland root]# rpm --import
> /usr/share/rhn/RPM-GPG-KEY
> 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: /usr/share/rhn/RPM-GPG-KEY: import failed.
> 
> How do I fix it?
> 
> Thanks,
> 
> Andre

Make sure that nothing else is running RPM. Like Up2date maybe open.
Close them all down, then run the rpm --import again.

Wolf




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux