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(a)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@georgeanelson.com>
' <
http://www.georgeanelson.com/>