RPM waiting for transaction lock: find the holder and wait
The rpm warning waiting for transaction lock means a live dnf, yum or rpm process holds the lock. Find its PID with fuser or lsof, then wait or stop it.
Updated 19 min read
2 guides with this tag
The rpm warning waiting for transaction lock means a live dnf, yum or rpm process holds the lock. Find its PID with fuser or lsof, then wait or stop it.
Fix the rpm DB_RUNRECOVERY error (BDB0087): stop rpm and yum, remove the stale __db files in /var/lib/rpm, run rpm --rebuilddb, then repair the Packages file.