check_latest_version && sudo apt update && sudo apt upgrade -y
Complete interrupted installation:
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt --fix-broken install
Remove corrupted files:
sudo apt clean
sudo apt autoclean
Ensure adequate space:
df -h
sudo apt autoremove
The dpkg package manager was interrupted during installation, leaving the system in an inconsistent state.
dpkg -l | grep "^iU"
cat /var/lib/dpkg/status | grep Status