cannot import keys

Tony Nelson tonynelson at georgeanelson.com
Thu Jul 5 17:16:54 UTC 2007


At 9:52 PM -0600 7/4/07, Frank Cox wrote:
>On Wed, 04 Jul 2007 19:42:11 -0700 (PDT)
>"charles f. zeitler" <cfzeitler at yahoo.com> wrote:
>
>> when i attempt, (as root) for example,
>> rpm --import linux_signing_key.pub
>> i get:
>> cannot get exclusive lock on /var/lib/rpm/Packages
>
>Do you have the automatic yum doodad (whose name I can't remember offhand)
>running as a daemon?

yum-updatesd


>Are you sure you're root?

Also, possibly there are stale locks.  The locks can be removed with `rm -f
/var/lib/rpm/__db*`, but it is safer to reboot, which will remove the locks
at a time when it is certainly safe.  And the advice to use lsof first is
good.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list