Can it be that sudo dpkg --configure -a
takes more then 10 minutes? I got an error with NVIDIA and now everything is broken it stops right at the first line:
base-files (9.6ubuntu13.1) ...
I am using Gnome Ubuntu 17.03 with Kernel 4.10.0-37
PS: I ran
sudo apt-get clean
sudo apt-get -f install
before using the dpkg command.
sudo dpkg -D1 --configure -a
to see if it's really stuck or just doing something. I don't think 10 minutes is too long to reconfigure all the installed packages. – Katu Oct 24 '17 at 09:13