Bug 244257 - error installing fedora-gpg-key for flash plugin
error installing fedora-gpg-key for flash plugin
Status: CLOSED DUPLICATE of bug 246564
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Panu Matilainen
Depends On:
  Show dependency treegraph
Reported: 2007-06-14 14:37 EDT by Ric
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-24 03:07:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ric 2007-06-14 14:37:56 EDT
Description of problem: error when trying to install fedora-gpg-key

Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce:
1. su --login
2. rpm --import http://macromedia.mplug.org/FEDORA-GPG-KEY
Actual results:
" warning: cannot get exclusive lock on /var/lib/rpm/Packages "

Expected results:
ehh, doing the job? It had worked many other times.

Additional info:

Fresh install F7, full updated, I am following
http://www.fedorasolved.org/browser-solutions/flash/ this howto has always work.

[crash@localhost ~]$ su -c 'yum -y update'
Loading "installonlyn" plugin
Setting up Update Process
No Packages marked for Update/Obsoletion
[crash@localhost ~]$ su --login
[root@localhost ~]# rpm --import http://macromedia.mplug.org/FEDORA-GPG-KEY
warning: cannot get exclusive lock on /var/lib/rpm/Packages
[root@localhost ~]#
Comment 1 Andre Robatino 2007-06-14 15:45:41 EDT
  This probably means that some other process such as yum-updatesd or rpmq
currently has a lock on the database.  Try again later.  Someone I was helping
got the same warning during a rpm --import command, but it worked later.
Comment 2 Ric 2007-06-14 17:36:50 EDT
Tried several times, for around 6h, no luck, it worked flawlessly after a reboot
Comment 3 Andre Robatino 2007-06-14 17:39:54 EDT
  If it actually requires a reboot, then the lock isn't getting released after
the other process is finished, which _would_ be a bug.  I don't remember whether
the person I was helping rebooted between the time it failed and when it
succeeded, but it's possible.
Comment 4 Jeff Johnson 2007-06-15 22:50:04 EDT
Yep. Contention for an rpmdb lock is orders of magnitude worse
now that yum has *several* competing daemons.

    rm -f /var/lib/rpm/__db*
and attempting the --import before the next acquisition of the rpmdb lock
by yum-updatesd is recommended.
Comment 5 Panu Matilainen 2007-08-15 04:24:42 EDT
Sounds like a possible side-effect of bug 245389, which in short appears to be
setroubleshoot tracebacking a lot for some people and causing stale rpmdb locks
to be left behind. The rpm package from updates-testing should help, if not 100%
fix the problem.
Comment 6 Panu Matilainen 2007-08-24 03:07:07 EDT

*** This bug has been marked as a duplicate of 246564 ***

Note You need to log in before you can comment on or make changes to this bug.