rpmdb: unable to lock mutex: Invalid argument

I was caught by this when upgrading CentOS servers from 5.2 to 5.3. Should make it a habit to atleast read the release notes!!

When upgrading from an earlier version of Red Hat
Enterprise Linux to 5.3, you may encounter the following
error:

Updating : mypackage ################### [
472/1655]rpmdb: unable to lock mutex: Invalid argument

The cause of the locking issue is that the shared futex
locking in glibc was enhanced with per-process futexes
between 5.2 and 5.3. As a result, programs running against
the 5.2 glibc can not properly perform shared futex locking
against programs running with the 5.3 glibc.

This particular error message is a side effect of a package
calling rpm as part of its install scripts. The rpm
instance performing the upgrade is using the prior glibc
throughout the upgrade, but the rpm instance launched from
within the script is using the new glibc.

To avoid this error, upgrade glibc first in a separate run,
ie

# yum update glibc
# yum update

You will also see this error if you downgrade glibc to an
earlier version on an installed 5.3 system.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

advice is needed

Hi I too was caught out by this issue. I too should have read the release notes but was not aware i was upgrading from 5.2 to 5.3 when i did the yum update.
Question is now this has happened what should i do?
Other than seeing a warning what does this now mean to my system?
Do i need to rebuild the RPM database?

If you have instructions for me, can you please give me the commands to type as i am relatively newbie.

The output from my yum update is:

Oh and thanks in advance for any help you provide. It is much appreciated.

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : libgcc                       ##################### [  1/664]
  Updating  : libgcc                       ##################### [  2/664]
  Updating  : kernel-headers               ##################### [  3/664]
  Updating  : tzdata                       ##################### [  4/664]
  Updating  : glibc-common                 ##################### [  5/664]
  Updating  : glibc                        ##################### [  6/664]
  Updating  : glibc                        ##################### [  7/664]
warning: /etc/ld.so.conf created as /etc/ld.so.conf.rpmnew
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
  Updating  : bash                         ##################### [  8/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : glib2                        ##################### [  9/664]
  Updating  : popt                         ##################### [ 10/664]
  Updating  : glib2                        ##################### [ 11/664]
  Updating  : nspr                         ##################### [ 12/664]
  Updating  : perl                         ##################### [ 13/664]
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
  Updating  : libxml2                      ##################### [ 14/664]
  Updating  : audit-libs                   ##################### [ 15/664]
  Updating  : libstdc++                    ##################### [ 16/664]
  Updating  : ORBit2                       ##################### [ 17/664]
  Updating  : nss                          ##################### [ 18/664]
  Updating  : elfutils-libelf              ##################### [ 19/664]
  Updating  : libxml2                      ##################### [ 20/664]
  Updating  : freetype                     ##################### [ 21/664]
  Updating  : pango                        ##################### [ 22/664]
  Updating  : popt                         ##################### [ 23/664]
  Updating  : tcp_wrappers                 ##################### [ 24/664]
  Updating  : libgcrypt                    ##################### [ 25/664]
  Updating  : gnutls                       ##################### [ 26/664]
  Updating  : ORBit2                       ##################### [ 27/664]
  Updating  : nspr                         ##################### [ 28/664]
  Updating  : nss                          ##################### [ 29/664]
warning: /etc/pki/nssdb/cert8.db created as /etc/pki/nssdb/cert8.db.rpmnew
warning: /etc/pki/nssdb/key3.db created as /etc/pki/nssdb/key3.db.rpmnew
  Updating  : libstdc++                    ##################### [ 30/664]
  Updating  : binutils                     ##################### [ 31/664]
  Updating  : libpng                       ##################### [ 32/664]
  Updating  : procps                       ##################### [ 33/664]
  Updating  : libvolume_id                 ##################### [ 34/664]
  Updating  : freetype                     ##################### [ 35/664]
  Updating  : pango                        ##################### [ 36/664]
  Updating  : libgcrypt                    ##################### [ 37/664]
  Updating  : gnutls                       ##################### [ 38/664]
  Updating  : audit-libs                   ##################### [ 39/664]
warning: /etc/libaudit.conf created as /etc/libaudit.conf.rpmnew
  Updating  : elfutils-libelf              ##################### [ 40/664]
  Updating  : elfutils-libs                ##################### [ 41/664]
  Updating  : gstreamer-tools              ##################### [ 42/664]
  Updating  : gstreamer                    ##################### [ 43/664]
  Updating  : iproute                      ##################### [ 44/664]
  Updating  : zip                          ##################### [ 45/664]
  Updating  : libsoup                      ##################### [ 46/664]
  Updating  : lm_sensors                   ##################### [ 47/664]
  Updating  : libgomp                      ##################### [ 48/664]
  Updating  : file                         ##################### [ 49/664]
  Updating  : libgfortran                  ##################### [ 50/664]
  Updating  : gstreamer                    ##################### [ 51/664]
  Updating  : libsoup                      ##################### [ 52/664]
  Updating  : libvolume_id                 ##################### [ 53/664]
  Updating  : libpng                       ##################### [ 54/664]
  Updating  : elfutils                     ##################### [ 55/664]
  Updating  : crash                        ##################### [ 56/664]
  Updating  : iputils                      ##################### [ 57/664]
  Updating  : ethtool                      ##################### [ 58/664]
  Updating  : patch                        ##################### [ 59/664]
  Updating  : redhat-logos                 ##################### [ 60/664]
  Updating  : redhat-artwork               ##################### [ 61/664]
  Updating  : glibc-headers                ##################### [ 62/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : metacity                     ##################### [ 63/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : glibc-devel                  ##################### [ 64/664]
  Updating  : redhat-menus                 ##################### [ 65/664]
  Updating  : nash                         ##################### [ 66/664]
  Updating  : centos-release-notes         ##################### [ 67/664]
  Updating  : centos-release               ##################### [ 68/664]
  Updating  : setup                        ##################### [ 69/664]
  Updating  : poppler                      ##################### [ 70/664]
  Updating  : libicu                       ##################### [ 71/664]
  Updating  : perl-DBI                     ##################### [ 72/664]
  Updating  : numactl                      ##################### [ 73/664]
  Installing: tk                           ##################### [ 74/664]
  Updating  : cpp                          ##################### [ 75/664]
  Updating  : gcc                          ##################### [ 76/664]
  Updating  : unzip                        ##################### [ 77/664]
  Updating  : vim-common                   ##################### [ 78/664]
  Updating  : gcc-gfortran                 ##################### [ 79/664]
  Updating  : gnome-terminal               ##################### [ 80/664]
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
  Updating  : oprofile                     ##################### [ 81/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : nss-tools                    ##################### [ 82/664]
  Updating  : glib2-devel                  ##################### [ 83/664]
  Updating  : ed                           ##################### [ 84/664]
  Updating  : gdb                          ##################### [ 85/664]
  Updating  : ypbind                       ##################### [ 86/664]
  Updating  : cscope                       ##################### [ 87/664]
  Updating  : cpuspeed                     ##################### [ 88/664]
  Updating  : cdrecord                     ##################### [ 89/664]
  Updating  : tmpwatch                     ##################### [ 90/664]
  Updating  : ftp                          ##################### [ 91/664]
  Updating  : traceroute                   ##################### [ 92/664]
  Updating  : mkisofs                      ##################### [ 93/664]
  Updating  : libhugetlbfs                 ##################### [ 94/664]
  Updating  : strace                       ##################### [ 95/664]
  Updating  : dosfstools                   ##################### [ 96/664]
  Updating  : rdate                        ##################### [ 97/664]
  Updating  : metacity                     ##################### [ 98/664]
  Updating  : libicu                       ##################### [ 99/664]
  Updating  : numactl                      ##################### [100/664]
  Updating  : tcp_wrappers                 ##################### [101/664]
  Updating  : libhugetlbfs                 ##################### [102/664]
  Updating  : filesystem                   ##################### [103/664]
  Updating  : libstdc++-devel              ##################### [104/664]
rpmdb: unable to lock mutex: Invalid argument
  Installing: nspr-devel                   ##################### [105/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : gcc-c++                      ##################### [106/664]
rpmdb: unable to lock mutex: Invalid argument
  Installing: nss-devel                    ##################### [107/664]
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
  Updating  : glibc-devel                  ##################### [108/664]
  Updating  : libgcrypt-devel              ##################### [109/664]
  Updating  : redhat-rpm-config            ##################### [110/664]
  Updating  : pfmon                        ##################### [111/664]
  Updating  : kudzu-devel                  ##################### [112/664]
  Updating  : man-pages                    ##################### [113/664]
  Updating  : desktop-backgrounds-basic    ##################### [114/664]
  Updating  : kudzu-devel                  ##################### [115/664]
  Updating  : words                        ##################### [116/664]
  Updating  : libselinux                   ##################### [117/664]
  Updating  : device-mapper                ##################### [118/664]
  Updating  : e2fsprogs-libs               ##################### [119/664]
  Updating  : libselinux-devel             ##################### [120/664]
  Updating  : elfutils-libelf-devel        ##################### [121/664]
  Updating  : cryptsetup-luks              ##################### [122/664]
  Updating  : parted                       ##################### [123/664]
  Updating  : mesa-libGL                   ##################### [124/664]
  Updating  : elfutils-libelf-devel-static ##################### [125/664]
  Updating  : libselinux-devel             ##################### [126/664]
  Updating  : libselinux                   ##################### [127/664]
  Updating  : shadow-utils                 ##################### [128/664]
  Updating  : device-mapper                ##################### [129/664]
  Updating  : e2fsprogs-libs               ##################### [130/664]
  Updating  : findutils                    ##################### [131/664]
  Updating  : coreutils                    ##################### [132/664]
  Updating  : krb5-libs                    ##################### [133/664]
  Updating  : openssl                      ##################### [134/664]
  Updating  : python                       ##################### [135/664]
  Updating  : pam                          ##################### [136/664]
warning: /etc/pam.d/system-auth created as /etc/pam.d/system-auth.rpmnew
  Updating  : openldap                     ##################### [137/664]
  Updating  : module-init-tools            ##################### [138/664]
  Updating  : newt                         ##################### [139/664]
  Updating  : cups-libs                    ##################### [140/664]
  Updating  : alsa-lib                     ##################### [141/664]
  Updating  : kpartx                       ##################### [142/664]
  Updating  : libxml2-python               ##################### [143/664]
  Updating  : e2fsprogs                    ##################### [144/664]
  Updating  : curl                         ##################### [145/664]
  Updating  : cryptsetup-luks              ##################### [146/664]
  Updating  : mesa-libGL                   ##################### [147/664]
  Updating  : dmraid                       ##################### [148/664]
  Updating  : device-mapper-multipath      ##################### [149/664]
  Updating  : neon                         ##################### [150/664]
  Updating  : nscd                         ##################### [151/664]
  Updating  : mesa-libGLU                  ##################### [152/664]
  Updating  : gstreamer-plugins-base       ##################### [153/664]
  Updating  : ghostscript                  ##################### [154/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : gimp-print                   ##################### [155/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : apr-util                     ##################### [156/664]
  Updating  : bind-libs                    ##################### [157/664]
  Updating  : libpcap                      ##################### [158/664]
  Updating  : net-snmp-libs                ##################### [159/664]
  Updating  : evolution-data-server        ##################### [160/664]
  Updating  : libutempter                  ##################### [161/664]
  Updating  : logrotate                    ##################### [162/664]
  Updating  : audit-libs-python            ##################### [163/664]
  Updating  : libselinux-python            ##################### [164/664]
  Updating  : m2crypto                     ##################### [165/664]
  Updating  : kexec-tools                  ##################### [166/664]
  Updating  : device-mapper-event          ##################### [167/664]
  Updating  : lvm2                         ##################### [168/664]
  Updating  : xorg-x11-server-Xnest        ##################### [169/664]
  Updating  : vim-minimal                  ##################### [170/664]
  Updating  : subversion                   ##################### [171/664]
  Updating  : libgcj                       ##################### [172/664]
  Updating  : samba-common                 ##################### [173/664]
  Updating  : pam_krb5                     ##################### [174/664]
  Installing: fipscheck                    ##################### [175/664]
  Updating  : nss_ldap                     ##################### [176/664]
warning: /etc/ldap.conf created as /etc/ldap.conf.rpmnew
  Updating  : parted                       ##################### [177/664]
  Installing: libselinux-utils             ##################### [178/664]
  Updating  : xterm                        ##################### [179/664]
  Updating  : nautilus-sendto              ##################### [180/664]
  Updating  : bind-utils                   ##################### [181/664]
  Updating  : gimp-print-utils             ##################### [182/664]
  Updating  : glx-utils                    ##################### [183/664]
  Updating  : gnupg                        ##################### [184/664]
  Updating  : alsa-utils                   ##################### [185/664]
  Updating  : system-config-printer-libs   ##################### [186/664]
  Updating  : autofs                       ##################### [187/664]
  Updating  : python-devel                 ##################### [188/664]
  Updating  : stunnel                      ##################### [189/664]
  Updating  : tcpdump                      ##################### [190/664]
  Updating  : pkinit-nss                   ##################### [191/664]
  Updating  : ksh                          ##################### [192/664]
  Updating  : audit                        ##################### [193/664]
  Updating  : psacct                       ##################### [194/664]
  Updating  : tcsh                         ##################### [195/664]
  Updating  : mlocate                      ##################### [196/664]
  Updating  : xorg-x11-server-Xvfb         ##################### [197/664]
  Updating  : vim-enhanced                 ##################### [198/664]
  Updating  : pam                          ##################### [199/664]
warning: /etc/pam.d/config-util created as /etc/pam.d/config-util.rpmnew
warning: /etc/pam.d/other created as /etc/pam.d/other.rpmnew
warning: /etc/pam.d/system-auth created as /etc/pam.d/system-auth.rpmnew
warning: /etc/security/access.conf created as /etc/security/access.conf.rpmnew
warning: /etc/security/chroot.conf created as /etc/security/chroot.conf.rpmnew
warning: /etc/security/console.handlers created as /etc/security/console.handlers.rpmnew
warning: /etc/security/group.conf created as /etc/security/group.conf.rpmnew
warning: /etc/security/limits.conf created as /etc/security/limits.conf.rpmnew
warning: /etc/security/namespace.conf created as /etc/security/namespace.conf.rpmnew
warning: /etc/security/namespace.init created as /etc/security/namespace.init.rpmnew
warning: /etc/security/opasswd created as /etc/security/opasswd.rpmnew
warning: /etc/security/pam_env.conf created as /etc/security/pam_env.conf.rpmnew
warning: /etc/security/time.conf created as /etc/security/time.conf.rpmnew
  Updating  : krb5-libs                    ##################### [200/664]
warning: /etc/krb5.conf created as /etc/krb5.conf.rpmnew
  Updating  : udev                         ##################### [201/664]
  Updating  : util-linux                   ##################### [202/664]
  Updating  : usermode                     ##################### [203/664]
  Updating  : openssl                      ##################### [204/664]
rpmdb: unable to lock mutex: Invalid argument
warning: /etc/pki/tls/certs/ca-bundle.crt created as /etc/pki/tls/certs/ca-bundle.crt.rpmnew
warning: /etc/pki/tls/openssl.cnf created as /etc/pki/tls/openssl.cnf.rpmnew
  Updating  : authconfig                   ##################### [205/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : openldap                     ##################### [206/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : curl                         ##################### [207/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : apr-util                     ##################### [208/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : neon                         ##################### [209/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : newt                         ##################### [210/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : alsa-lib                     ##################### [211/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : usermode-gtk                 ##################### [212/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : SysVinit                     ##################### [213/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : initscripts                  ##################### [214/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : mcstrans                     ##################### [215/664]
  Updating  : dhclient                     ##################### [216/664]
  Updating  : openssh                      ##################### [217/664]
  Updating  : mkinitrd                     ##################### [218/664]
  Updating  : kbd                          ##################### [219/664]
  Installing: dnsmasq                      ##################### [220/664]
  Updating  : ppp                          ##################### [221/664]
  Updating  : gstreamer-plugins-base       ##################### [222/664]
  Updating  : cups-libs                    ##################### [223/664]
  Updating  : subversion                   ##################### [224/664]
  Installing: fipscheck                    ##################### [225/664]
  Updating  : nss_ldap                     ##################### [226/664]
warning: /etc/ldap.conf created as /etc/ldap.conf.rpmnew
  Updating  : evolution-data-server        ##################### [227/664]
  Updating  : pam_krb5                     ##################### [228/664]
  Updating  : libutempter                  ##################### [229/664]
  Installing: kernel                       ##################### [230/664]
WARNING: No module qla2300 found for kernel 2.6.18-128.1.16.el5, continuing anyway
WARNING: No module qla2400 found for kernel 2.6.18-128.1.16.el5, continuing anyway
  Updating  : hwdata                       ##################### [231/664]
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
  Updating  : e2fsprogs-devel              ##################### [232/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : krb5-devel                   ##################### [233/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : openssl-devel                ##################### [234/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : authconfig-gtk               ##################### [235/664]
  Updating  : python-urlgrabber            ##################### [236/664]
  Updating  : cyrus-imapd-perl             ##################### [237/664]
  Updating  : systemtap-runtime            ##################### [238/664]
  Updating  : systemtap                    ##################### [239/664]
  Updating  : openssh-askpass              ##################### [240/664]
  Updating  : openssh-clients              ##################### [241/664]
  Updating  : openssh-server               ##################### [242/664]
  Updating  : rhgb                         ##################### [243/664]
  Updating  : ipsec-tools                  ##################### [244/664]
  Updating  : ccid                         ##################### [245/664]
  Updating  : vixie-cron                   ##################### [246/664]
  Updating  : acpid                        ##################### [247/664]
  Updating  : smartmontools                ##################### [248/664]
warning: /etc/smartd.conf created as /etc/smartd.conf.rpmnew
  Updating  : dhcpv6-client                ##################### [249/664]
  Updating  : quota                        ##################### [250/664]
  Updating  : gdm                          ##################### [251/664]
  Updating  : vnc-server                   ##################### [252/664]
  Updating  : krb5-workstation             ##################### [253/664]
  Updating  : nfs-utils                    ##################### [254/664]
  Updating  : prelink                      ##################### [255/664]
  Updating  : sudo                         ##################### [256/664]
warning: /etc/sudoers created as /etc/sudoers.rpmnew
  Updating  : krb5-devel                   ##################### [257/664]
warning: /etc/profile.d/krb5-devel.csh created as /etc/profile.d/krb5-devel.csh.rpmnew
warning: /etc/profile.d/krb5-devel.sh created as /etc/profile.d/krb5-devel.sh.rpmnew
  Updating  : mkinitrd                     ##################### [258/664]
  Updating  : python-devel                 ##################### [259/664]
  Updating  : sabayon-apply                ##################### [260/664]
  Updating  : sabayon                      ##################### [261/664]
  Updating  : cyrus-imapd-utils            ##################### [262/664]
  Updating  : curl-devel                   ##################### [263/664]
  Updating  : curl-devel                   ##################### [264/664]
  Updating  : openssl-devel                ##################### [265/664]
  Updating  : system-config-kdump          ##################### [266/664]
  Updating  : newt-devel                   ##################### [267/664]
  Updating  : openldap-devel               ##################### [268/664]
  Updating  : system-config-lvm            ##################### [269/664]
  Updating  : pam-devel                    ##################### [270/664]
  Updating  : pam-devel                    ##################### [271/664]
  Updating  : sos                          ##################### [272/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : newt-devel                   ##################### [273/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : openldap-devel               ##################### [274/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : libxml2-devel                ##################### [275/664]
  Updating  : libxml2-devel                ##################### [276/664]
  Updating  : ntp                          ##################### [277/664]
  Installing: kernel-devel                 ##################### [278/664]
  Updating  : rpm-libs                     ##################### [279/664]
  Installing: dbus-libs                    ##################### [280/664]
  Updating  : dbus-glib                    ##################### [281/664]
  Updating  : xulrunner                    ##################### [282/664]
  Updating  : yum-fastestmirror            ##################### [283/664]
  Updating  : net-snmp                     ##################### [284/664]
  Updating  : dbus                         ##################### [285/664]
  Updating  : firefox                      ##################### [286/664]
  Installing: dbus-libs                    ##################### [287/664]
  Updating  : dbus                         ##################### [288/664]
  Updating  : dbus-glib                    ##################### [289/664]
  Updating  : rpm                          ##################### [290/664]
  Updating  : rpm-libs                     ##################### [291/664]
  Updating  : xulrunner                    ##################### [292/664]
  Updating  : rpm-python                   ##################### [293/664]
  Updating  : policycoreutils              ##################### [294/664]
  Updating  : avahi                        ##################### [295/664]
  Updating  : dbus-x11                     ##################### [296/664]
  Updating  : wpa_supplicant               ##################### [297/664]
  Updating  : dhcdbd                       ##################### [298/664]
  Updating  : yelp                         ##################### [299/664]
  Updating  : rpm-build                    ##################### [300/664]
  Updating  : rpm-devel                    ##################### [301/664]
  Updating  : gnome-session                ##################### [302/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : avahi                        ##################### [303/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Installing: avahi-compat-libdns_sd       ##################### [304/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : avahi-glib                   ##################### [305/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : avahi-glib                   ##################### [306/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : cups                         ##################### [307/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : rpm-devel                    ##################### [308/664]
  Updating  : selinux-policy               ##################### [309/664]
  Updating  : xorg-x11-server-Xorg         ##################### [310/664]
  Updating  : yum                          ##################### [311/664]
warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
  Updating  : xorg-x11-drv-i810            ##################### [312/664]
  Updating  : xorg-x11-drv-ati             ##################### [313/664]
  Updating  : xorg-x11-drv-mga             ##################### [314/664]
  Updating  : xorg-x11-drv-nv              ##################### [315/664]
  Updating  : linuxwacom                   ##################### [316/664]
  Updating  : xorg-x11-drv-mutouch         ##################### [317/664]
  Updating  : selinux-policy-targeted      ##################### [318/664]
  Updating  : firefox                      ##################### [319/664]
  Updating  : dbus-devel                   ##################### [320/664]
  Updating  : dbus-devel                   ##################### [321/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : esc                          ##################### [322/664]
rpmdb: unable to lock mutex: Invalid argument
  Updating  : hal                          ##################### [323/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Updating  : kudzu                        ##################### [324/664]
  Updating  : pm-utils                     ##################### [325/664]
  Updating  : NetworkManager-glib          ##################### [326/664]
  Updating  : rhpxl                        ##################### [327/664]
  Updating  : NetworkManager               ##################### [328/664]
  Updating  : gstreamer-plugins-good       ##################### [329/664]
  Updating  : NetworkManager-gnome         ##################### [330/664]
  Updating  : gnome-power-manager          ##################### [331/664]
  Updating  : hal-gnome                    ##################### [332/664]
  Updating  : system-config-network-tui    ##################### [333/664]
  Updating  : hal                          ##################### [334/664]
  Updating  : system-config-network        ##################### [335/664]
  Updating  : firstboot-tui                ##################### [336/664]
  Updating  : firstboot                    ##################### [337/664]
  Cleanup   : glx-utils                    ##################### [338/664]
  Cleanup   : xorg-x11-server-Xorg         ##################### [339/664]
  Cleanup   : mesa-libGL                   ##################### [340/664]
  Cleanup   : kudzu                        ##################### [341/664]
  Cleanup   : firstboot-tui                ##################### [342/664]
  Cleanup   : shadow-utils                 ##################### [343/664]
  Cleanup   : hwdata                       ##################### [344/664]
  Cleanup   : xorg-x11-drv-ati             ##################### [345/664]
  Cleanup   : gstreamer                    ##################### [346/664]
  Cleanup   : tmpwatch                     ##################### [347/664]
  Cleanup   : wpa_supplicant               ##################### [348/664]
  Cleanup   : glib2                        ##################### [349/664]
  Cleanup   : libsoup                      ##################### [350/664]
  Cleanup   : words                        ##################### [351/664]
  Cleanup   : kernel                       ##################### [352/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : gstreamer-plugins-base       ##################### [353/664]
  Cleanup   : rhpxl                        ##################### [354/664]
  Cleanup   : cyrus-imapd-perl             ##################### [355/664]
  Cleanup   : yelp                         ##################### [356/664]
  Cleanup   : rhgb                         ##################### [357/664]
  Cleanup   : rpm-build                    ##################### [358/664]
  Cleanup   : dmraid                       ##################### [359/664]
  Cleanup   : dbus-devel                   ##################### [360/664]
  Cleanup   : dbus-devel                   ##################### [361/664]
  Cleanup   : ghostscript                  ##################### [362/664]
  Cleanup   : mkinitrd                     ##################### [363/664]
  Cleanup   : device-mapper-event          ##################### [364/664]
  Cleanup   : ftp                          ##################### [365/664]
  Cleanup   : libpng                       ##################### [366/664]
  Cleanup   : krb5-libs                    ##################### [367/664]
  Cleanup   : hal                          ##################### [368/664]
  Cleanup   : ipsec-tools                  ##################### [369/664]
  Cleanup   : dbus                         ##################### [370/664]
  Cleanup   : openssl                      ##################### [371/664]
  Cleanup   : binutils                     ##################### [372/664]
  Cleanup   : dbus                         ##################### [373/664]
  Cleanup   : glibc-devel                  ##################### [374/664]
  Cleanup   : stunnel                      ##################### [375/664]
  Cleanup   : rpm-devel                    ##################### [376/664]
  Cleanup   : openldap-devel               ##################### [377/664]
  Cleanup   : openldap-devel               ##################### [378/664]
  Cleanup   : xorg-x11-drv-mga             ##################### [379/664]
  Cleanup   : glibc                        ##################### [380/664]
  Cleanup   : ccid                         ##################### [381/664]
  Cleanup   : yum                          ##################### [382/664]
  Cleanup   : libgcj                       ##################### [383/664]
  Cleanup   : python-devel                 ##################### [384/664]
  Cleanup   : libstdc++                    ##################### [385/664]
  Cleanup   : findutils                    ##################### [386/664]
  Cleanup   : openssh-askpass              ##################### [387/664]
  Cleanup   : cups-libs                    ##################### [388/664]
  Cleanup   : logrotate                    ##################### [389/664]
  Cleanup   : libicu                       ##################### [390/664]
  Cleanup   : vnc-server                   ##################### [391/664]
  Cleanup   : module-init-tools            ##################### [392/664]
  Cleanup   : newt                         ##################### [393/664]
  Cleanup   : autofs                       ##################### [394/664]
  Cleanup   : openldap                     ##################### [395/664]
  Cleanup   : gcc-c++                      ##################### [396/664]
  Cleanup   : rpm-libs                     ##################### [397/664]
  Cleanup   : popt                         ##################### [398/664]
  Cleanup   : openssh-clients              ##################### [399/664]
  Cleanup   : xulrunner                    ##################### [400/664]
  Cleanup   : kudzu-devel                  ##################### [401/664]
  Cleanup   : kudzu-devel                  ##################### [402/664]
  Cleanup   : vixie-cron                   ##################### [403/664]
  Cleanup   : SysVinit                     ##################### [404/664]
  Cleanup   : file                         ##################### [405/664]
  Cleanup   : pam_krb5                     ##################### [406/664]
  Cleanup   : setup                        ##################### [407/664]
  Cleanup   : centos-release-notes         ##################### [408/664]
  Cleanup   : libgcc                       ##################### [409/664]
  Cleanup   : ed                           ##################### [410/664]
  Cleanup   : ethtool                      ##################### [411/664]
  Cleanup   : xorg-x11-server-Xnest        ##################### [412/664]
  Cleanup   : bind-libs                    ##################### [413/664]
  Cleanup   : libgcrypt-devel              ##################### [414/664]
  Cleanup   : redhat-artwork               ##################### [415/664]
  Cleanup   : pam_krb5                     ##################### [416/664]
  Cleanup   : pam                          ##################### [417/664]
  Cleanup   : nss-tools                    ##################### [418/664]
  Cleanup   : libicu                       ##################### [419/664]
  Cleanup   : popt                         ##################### [420/664]
  Cleanup   : net-snmp                     ##################### [421/664]
  Cleanup   : libgcrypt                    ##################### [422/664]
  Cleanup   : sabayon-apply                ##################### [423/664]
  Cleanup   : curl-devel                   ##################### [424/664]
  Cleanup   : curl-devel                   ##################### [425/664]
  Cleanup   : desktop-backgrounds-basic    ##################### [426/664]
  Cleanup   : system-config-lvm            ##################### [427/664]
  Cleanup   : gnome-session                ##################### [428/664]
  Cleanup   : iproute                      ##################### [429/664]
  Cleanup   : gimp-print                   ##################### [430/664]
  Cleanup   : alsa-utils                   ##################### [431/664]
  Cleanup   : perl-DBI                     ##################### [432/664]
  Cleanup   : gstreamer                    ##################### [433/664]
  Cleanup   : python                       ##################### [434/664]
  Cleanup   : glib2-devel                  ##################### [435/664]
  Cleanup   : rpm                          ##################### [436/664]
  Cleanup   : openssh                      ##################### [437/664]
  Cleanup   : iputils                      ##################### [438/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : newt                         ##################### [439/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : rpm-libs                     ##################### [440/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : bind-utils                   ##################### [441/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : xorg-x11-drv-nv              ##################### [442/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : cups-libs                    ##################### [443/664]
rpmdb: unable to lock mutex: Invalid argument
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : mlocate                      ##################### [444/664]
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : subversion                   ##################### [445/664]
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : nash                         ##################### [446/664]
  Cleanup   : system-config-kdump          ##################### [447/664]
  Cleanup   : procps                       ##################### [448/664]
  Cleanup   : mcstrans                     ##################### [449/664]
  Cleanup   : e2fsprogs-libs               ##################### [450/664]
  Cleanup   : gnome-power-manager          ##################### [451/664]
  Cleanup   : pam-devel                    ##################### [452/664]
  Cleanup   : pam-devel                    ##################### [453/664]
  Cleanup   : gdb                          ##################### [454/664]
  Cleanup   : lm_sensors                   ##################### [455/664]
  Cleanup   : neon                         ##################### [456/664]
  Cleanup   : python-urlgrabber            ##################### [457/664]
  Cleanup   : redhat-rpm-config            ##################### [458/664]
  Cleanup   : libxml2                      ##################### [459/664]
  Cleanup   : ksh                          ##################### [460/664]
  Cleanup   : traceroute                   ##################### [461/664]
  Cleanup   : lvm2                         ##################### [462/664]
  Cleanup   : nss_ldap                     ##################### [463/664]
  Cleanup   : audit-libs                   ##################### [464/664]
  Cleanup   : krb5-devel                   ##################### [465/664]
  Cleanup   : xterm                        ##################### [466/664]
  Cleanup   : alsa-lib                     ##################### [467/664]
  Cleanup   : libhugetlbfs                 ##################### [468/664]
  Cleanup   : libxml2-devel                ##################### [469/664]
  Cleanup   : libxml2-devel                ##################### [470/664]
  Cleanup   : glibc-devel                  ##################### [471/664]
  Cleanup   : NetworkManager               ##################### [472/664]
  Cleanup   : ypbind                       ##################### [473/664]
  Cleanup   : pkinit-nss                   ##################### [474/664]
  Cleanup   : gcc                          ##################### [475/664]
  Cleanup   : glibc-headers                ##################### [476/664]
  Cleanup   : dhclient                     ##################### [477/664]
  Cleanup   : xorg-x11-server-Xvfb         ##################### [478/664]
  Cleanup   : mkisofs                      ##################### [479/664]
  Cleanup   : linuxwacom                   ##################### [480/664]
  Cleanup   : man-pages                    ##################### [481/664]
  Cleanup   : NetworkManager-glib          ##################### [482/664]
  Cleanup   : centos-release               ##################### [483/664]
  Cleanup   : cryptsetup-luks              ##################### [484/664]
  Cleanup   : gnupg                        ##################### [485/664]
  Cleanup   : libgfortran                  ##################### [486/664]
  Cleanup   : authconfig-gtk               ##################### [487/664]
  Cleanup   : firstboot                    ##################### [488/664]
  Cleanup   : vim-enhanced                 ##################### [489/664]
  Cleanup   : firefox                      ##################### [490/664]
  Cleanup   : firefox                      ##################### [491/664]
  Cleanup   : initscripts                  ##################### [492/664]
  Cleanup   : libhugetlbfs                 ##################### [493/664]
  Cleanup   : cryptsetup-luks              ##################### [494/664]
  Cleanup   : audit-libs                   ##################### [495/664]
  Cleanup   : parted                       ##################### [496/664]
  Cleanup   : mkinitrd                     ##################### [497/664]
  Cleanup   : filesystem                   ##################### [498/664]
  Cleanup   : glibc-common                 ##################### [499/664]
  Cleanup   : yum-fastestmirror            ##################### [500/664]
  Cleanup   : libutempter                  ##################### [501/664]
  Cleanup   : device-mapper-multipath      ##################### [502/664]
  Cleanup   : nautilus-sendto              ##################### [503/664]
  Cleanup   : sudo                         ##################### [504/664]
  Cleanup   : xorg-x11-drv-mutouch         ##################### [505/664]
  Cleanup   : libxml2-python               ##################### [506/664]
  Cleanup   : poppler                      ##################### [507/664]
  Cleanup   : sos                          ##################### [508/664]
  Cleanup   : dhcdbd                       ##################### [509/664]
  Cleanup   : avahi-glib                   ##################### [510/664]
  Cleanup   : gnutls                       ##################### [511/664]
  Cleanup   : cpp                          ##################### [512/664]
  Cleanup   : pm-utils                     ##################### [513/664]
  Cleanup   : apr-util                     ##################### [514/664]
  Cleanup   : openldap                     ##################### [515/664]
  Cleanup   : unzip                        ##################### [516/664]
  Cleanup   : curl                         ##################### [517/664]
  Cleanup   : cscope                       ##################### [518/664]
  Cleanup   : freetype                     ##################### [519/664]
  Cleanup   : perl                         ##################### [520/664]
  Cleanup   : bash                         ##################### [521/664]
  Cleanup   : vim-minimal                  ##################### [522/664]
  Cleanup   : newt-devel                   ##################### [523/664]
  Cleanup   : newt-devel                   ##################### [524/664]
  Cleanup   : udev                         ##################### [525/664]
  Cleanup   : elfutils                     ##################### [526/664]
  Cleanup   : gdm                          ##################### [527/664]
  Cleanup   : strace                       ##################### [528/664]
  Cleanup   : ntp                          ##################### [529/664]
  Cleanup   : pam                          ##################### [530/664]
  Cleanup   : parted                       ##################### [531/664]
  Cleanup   : glibc                        ##################### [532/664]
  Cleanup   : libselinux-devel             ##################### [533/664]
  Cleanup   : libselinux-devel             ##################### [534/664]
  Cleanup   : e2fsprogs                    ##################### [535/664]
  Cleanup   : ORBit2                       ##################### [536/664]
  Cleanup   : util-linux                   ##################### [537/664]
  Cleanup   : avahi                        ##################### [538/664]
  Cleanup   : libsoup                      ##################### [539/664]
  Cleanup   : elfutils-libelf-devel-static ##################### [540/664]
  Cleanup   : esc                          ##################### [541/664]
  Cleanup   : dosfstools                   ##################### [542/664]
  Cleanup   : device-mapper                ##################### [543/664]
  Cleanup   : rdate                        ##################### [544/664]
  Cleanup   : rpm-python                   ##################### [545/664]
  Cleanup   : nss_ldap                     ##################### [546/664]
  Cleanup   : usermode-gtk                 ##################### [547/664]
  Cleanup   : mesa-libGL                   ##################### [548/664]
  Cleanup   : dbus-x11                     ##################### [549/664]
  Cleanup   : kernel-devel                 ##################### [550/664]
rpmdb: unable to lock mutex: Invalid argument
  Cleanup   : elfutils-libs                ##################### [551/664]
  Cleanup   : numactl                      ##################### [552/664]
  Cleanup   : hal                          ##################### [553/664]
  Cleanup   : acpid                        ##################### [554/664]
  Cleanup   : audit-libs-python            ##################### [555/664]
  Cleanup   : elfutils-libelf              ##################### [556/664]
  Cleanup   : libutempter                  ##################### [557/664]
  Cleanup   : system-config-network-tui    ##################### [558/664]
  Cleanup   : metacity                     ##################### [559/664]
  Cleanup   : libselinux-python            ##################### [560/664]
  Cleanup   : ppp                          ##################### [561/664]
  Cleanup   : cyrus-imapd-utils            ##################### [562/664]
  Cleanup   : gnutls                       ##################### [563/664]
  Cleanup   : subversion                   ##################### [564/664]
  Cleanup   : smartmontools                ##################### [565/664]
  Cleanup   : libselinux                   ##################### [566/664]
  Cleanup   : gnome-terminal               ##################### [567/664]
  Cleanup   : apr-util                     ##################### [568/664]
  Cleanup   : redhat-menus                 ##################### [569/664]
  Cleanup   : metacity                     ##################### [570/664]
  Cleanup   : krb5-libs                    ##################### [571/664]
  Cleanup   : freetype                     ##################### [572/664]
  Cleanup   : neon                         ##################### [573/664]
  Cleanup   : libgcrypt                    ##################### [574/664]
  Cleanup   : NetworkManager-gnome         ##################### [575/664]
  Cleanup   : libpcap                      ##################### [576/664]
  Cleanup   : kexec-tools                  ##################### [577/664]
  Cleanup   : libstdc++                    ##################### [578/664]
  Cleanup   : e2fsprogs-devel              ##################### [579/664]
  Cleanup   : cups                         ##################### [580/664]
  Cleanup   : libvolume_id                 ##################### [581/664]
  Cleanup   : zip                          ##################### [582/664]
  Cleanup   : authconfig                   ##################### [583/664]
  Cleanup   : xorg-x11-drv-i810            ##################### [584/664]
  Cleanup   : pango                        ##################### [585/664]
  Cleanup   : crash                        ##################### [586/664]
  Cleanup   : kbd                          ##################### [587/664]
  Cleanup   : avahi-glib                   ##################### [588/664]
  Cleanup   : libgomp                      ##################### [589/664]
  Cleanup   : gimp-print-utils             ##################### [590/664]
  Cleanup   : tcpdump                      ##################### [591/664]
  Cleanup   : avahi                        ##################### [592/664]
  Cleanup   : libvolume_id                 ##################### [593/664]
  Cleanup   : pango                        ##################### [594/664]
  Cleanup   : mesa-libGLU                  ##################### [595/664]
  Cleanup   : libgcc                       ##################### [596/664]
  Cleanup   : numactl                      ##################### [597/664]
  Cleanup   : gstreamer-plugins-good       ##################### [598/664]
  Cleanup   : tcp_wrappers                 ##################### [599/664]
  Cleanup   : net-snmp-libs                ##################### [600/664]
  Cleanup   : elfutils-libelf-devel        ##################### [601/664]
  Cleanup   : gstreamer-tools              ##################### [602/664]
  Cleanup   : openssl-devel                ##################### [603/664]
  Cleanup   : openssl-devel                ##################### [604/664]
  Cleanup   : krb5-workstation             ##################### [605/664]
  Cleanup   : audit                        ##################### [606/664]
  Cleanup   : libpng                       ##################### [607/664]
  Cleanup   : nspr                         ##################### [608/664]
  Cleanup   : nspr                         ##################### [609/664]
  Cleanup   : samba-common                 ##################### [610/664]
  Cleanup   : m2crypto                     ##################### [611/664]
  Cleanup   : dhcpv6-client                ##################### [612/664]
  Cleanup   : psacct                       ##################### [613/664]
  Cleanup   : rpm-devel                    ##################### [614/664]
  Cleanup   : python-devel                 ##################### [615/664]
  Cleanup   : patch                        ##################### [616/664]
  Cleanup   : gcc-gfortran                 ##################### [617/664]
  Cleanup   : cpuspeed                     ##################### [618/664]
  Cleanup   : nss                          ##################### [619/664]
  Cleanup   : system-config-printer-libs   ##################### [620/664]
  Cleanup   : curl                         ##################### [621/664]
  Cleanup   : libselinux                   ##################### [622/664]
  Cleanup   : selinux-policy               ##################### [623/664]
  Cleanup   : evolution-data-server        ##################### [624/664]
  Cleanup   : systemtap                    ##################### [625/664]
  Cleanup   : tzdata                       ##################### [626/664]
  Cleanup   : coreutils                    ##################### [627/664]
  Cleanup   : cdrecord                     ##################### [628/664]
  Cleanup   : policycoreutils              ##################### [629/664]
  Cleanup   : quota                        ##################### [630/664]
  Cleanup   : e2fsprogs-libs               ##################### [631/664]
  Cleanup   : kpartx                       ##################### [632/664]
  Cleanup   : alsa-lib                     ##################### [633/664]
  Cleanup   : openssl                      ##################### [634/664]
  Cleanup   : tcsh                         ##################### [635/664]
  Cleanup   : selinux-policy-targeted      ##################### [636/664]
  Cleanup   : krb5-devel                   ##################### [637/664]
  Cleanup   : oprofile                     ##################### [638/664]
  Cleanup   : elfutils-libelf              ##################### [639/664]
  Cleanup   : device-mapper                ##################### [640/664]
  Cleanup   : usermode                     ##################### [641/664]
  Cleanup   : nscd                         ##################### [642/664]
  Cleanup   : tcp_wrappers                 ##################### [643/664]
  Cleanup   : vim-common                   ##################### [644/664]
  Cleanup   : libxml2                      ##################### [645/664]
  Cleanup   : libstdc++-devel              ##################### [646/664]
  Cleanup   : evolution-data-server        ##################### [647/664]
  Cleanup   : openssh-server               ##################### [648/664]
  Cleanup   : redhat-logos                 ##################### [649/664]
  Cleanup   : nss                          ##################### [650/664]
  Cleanup   : hal-gnome                    ##################### [651/664]
  Cleanup   : pfmon                        ##################### [652/664]
  Cleanup   : system-config-network        ##################### [653/664]
  Cleanup   : glib2                        ##################### [654/664]
  Cleanup   : xulrunner                    ##################### [655/664]
  Cleanup   : dbus-glib                    ##################### [656/664]
  Cleanup   : gstreamer-plugins-base       ##################### [657/664]
  Cleanup   : nfs-utils                    ##################### [658/664]
  Cleanup   : prelink                      ##################### [659/664]
  Cleanup   : ORBit2                       ##################### [660/664]
  Cleanup   : sabayon                      ##################### [661/664]
  Cleanup   : systemtap-runtime            ##################### [662/664]
  Cleanup   : dbus-glib                    ##################### [663/664]
  Cleanup   : kernel-headers               ##################### [664/664]

Update glibc first

Did you try the above mentioned solution of upgrading glibc first?

too late

well no. i did not realise i was updating from 5.2 to 5.3 and to read the release notes until after it had happened. Meaning i just did 'yum update'.

now when i type 'yum update', or 'yum update glibc' it tells me the system is all up to date.

But the process has produced these errors which worries me and so i am thinking my rpm db is corrupt.

I am worried about rebuilding it, as i dont really know anything about this and what effect it will have, or if it is required.

(sorry about replying in the wrong section (can someone clean up))

Forced yum update

I don't think I can recall anything bad happening after the upgrade since I had encountered this on a development box. You could do a forced yum update on all installed packages.

im running

http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=19693&forum=37

i followed the instructions on the link provided above to some degreee. i did yum reinstall for the packages from my list above that complained.
i then crossed fingers and rebooted. i ahve not had any issues so far and new kernal is running.
what do you think?

good to know

Yes, I would have done the same. Good to know everything is working for you.

Comment