Fix an interrupted installation and broken dependencies
fix apt unmet dependencies | dpkg was interrupted you must manually run dpkg --configure -a | apt install fails with dependency error | repair broken packages debian | apt | dpkg | repairCaution: This command changes the system. Understand what it does before you run it.
dpkg --configure -a && apt --fix-broken installFirst finishes configuring all packages that were unpacked but not fully set up, for example after an interrupted update or the message dpkg was interrupted. Then apt tries to resolve unmet dependencies by installing or removing packages. Before confirming, apt shows what will be changed.
Note: Read the displayed list carefully. If apt proposes to remove many or central packages (on Plesk servers, for example, psa-* or plesk-*), abort and find the cause first.
Also searched as
- fix apt unmet dependencies
- dpkg was interrupted you must manually run dpkg --configure -a
- apt install fails with dependency error
- repair broken packages debian