Scans the dpkg database for packages that are half-installed, half-removed, or otherwise inconsistent, and lists them. A broken package blocks most apt operations. Fix what it reports with dpkg --configure -a or apt install -f.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.