Skip to content

Instantly share code, notes, and snippets.

@pcdinh
Created November 1, 2010 04:20
Show Gist options
  • Select an option

  • Save pcdinh/657603 to your computer and use it in GitHub Desktop.

Select an option

Save pcdinh/657603 to your computer and use it in GitHub Desktop.
rpmdb: unable to lock mutex: Invalid argument
# Got this message printed out repeatedly on the terminal screen while trying to install some packages using yum
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
# rpmdb: unable to lock mutex: Invalid argument
Redhat recommends you to upgrade glibc using yum -y update glibc. (https://bugzilla.redhat.com/show_bug.cgi?id=463921)
Sometimes it does not help. If it is the case do this
rpmdb --rebuilddb -vv
@zhdying
Copy link
Copy Markdown

zhdying commented Mar 8, 2016

I reboot the system, then i can yum the file without error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment