Troubleshooting
An administrator's SSH session dropped while apt upgrade was running on a Debian server. Now every apt install command stops, reporting that dpkg was interrupted and that the problem must be corrected manually. What is the BEST next step?
Show the answer
Correct answerB. Run dpkg --configure -a to finish configuring the packages left half-installed
The interrupted upgrade left packages unpacked but not configured, and dpkg --configure -a completes that pending work. Running apt clean only removes cached archives and leaves the dpkg state unchanged, so the same error returns.