Run:
sudo dpkg --configure -a
Then:
sudo apt --fix-broken install
.list files by reinstalling packagesEven though apt says they’re installed, we force reinstall:
sudo apt install --reinstall libcrypt1 libcrypt-dev meld
This is the simplest fix and works in many cases.
Then manually remove the broken dpkg info entries and reinstall.
First check:
ls /var/lib/dpkg/info/libcrypt1*
If the .list file is missing but others remain, do:
sudo rm /var/lib/dpkg/info/libcrypt1.* sudo apt install --reinstall libcrypt1
Repeat for meld:
sudo rm /var/lib/dpkg/info/meld.* sudo apt install --reinstall meld
⚠️ Don’t worry — you are not deleting the actual program, only dpkg’s metadata.
If you start seeing this for lots of packages, do:
sudo apt clean sudo apt update sudo apt --fix-broken install sudo dpkg --configure -a
Then rebuild package state:
sudo apt install -f
This warning often happens after disk problems.
Check disk space:
df -h
Check for filesystem errors (recommended):
sudo dmesg | grep -i ext4
Or:
sudo dmesg | grep -i error
If errors appear, you may need an fsck from recovery mode.
Mint keeps archives here:
/var/backups/dpkg.status.*
If the dpkg database is badly damaged, you can restore from backup, but that’s only needed in extreme cases.
Since it’s only a few packages, do this:
sudo apt install --reinstall libcrypt1 libcrypt-dev meld sudo apt --fix-broken install sudo dpkg --configure -a
If that still prints missing .list, then: