In case there were some problems during the last apt-get operation, is there a command that checks if something has to be continued in apt-get?
3 Answers
Use the command:
sudo apt-get -f installIf that doesn't work, you can direct dpkg to finish setting up any packages that were only partially set up:
sudo dpkg --configure -aIf it doesn't work than you can reconfigure all the packages with:
sudo dpkg-reconfigure -a 6 In addition to the response by @Frantique, I would like to add:
sudo dpkg --configure -aThat solved my issue when the upgrade was interrupted during the process.
I had the same issue and in my case a Deb package was corrupted. I had to
delete the cached packages from
/var/cache/apt/archiveswithsudo apt-get cleanbefore running
sudo apt-get -f install