Dpkg Was Interrupted You Must Manually - Run Sudo Dpkg Configure To Correct The Problem Top ~upd~

Some users report seeing the error as:

sudo rm /var/lib/dpkg/lock* sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock Use code with caution. Copied to clipboard

If you are certain no process is running, manually remove the lock files: Some users report seeing the error as: sudo

: Wait until you see your normal command prompt line ( user@hostname:~$ ) return before closing the application.

I can give you the exact command to target that specific package if it stays stuck! Some users report seeing the error as: sudo

If you have a backup of /var/lib/dpkg/status (e.g., /var/backups/dpkg.status.0 ), you can restore it:

sudo dpkg --configure -a

dpkg --clear-avail erases the old information about what packages are available, forcing the system to build a fresh index when you run sudo apt update . Best Practices to Prevent dpkg Interruptions