Today I went over to my grandma because she had some problems with her computer, running Xubuntu 12.04LTS. After fixing 'the problem' (Firefox was set fullscreen..) I ran the usual
apt-get update && apt-get dist-upgrade to immediately update everything. Instead I was greeted by an error that some packages where not correctly installed. So I ran
dpkg --configure -a. My guess is that, because Firefox was fullscreen, she couldn't figure out how to turn of her computer and had simply turned it of, probably at the exact moment when it was installing automatic security updates.
dpkg --configure -a however only left me with an error message about unmet dependencies for
linux-generic. When running
apt-get dist-upgrade again, it told me the same and I should try the
-f option. However, even while trying to force the upgrade it still wont install them.
This is the output from the commands (added LANG=C because default language is Dutch).
jeroen@Bomma:/home/bomma$ LANG=C sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-generic : Depends: linux-image-generic (= 220.127.116.11.45) but 18.104.22.168.46 is installed Depends: linux-headers-generic (= 22.214.171.124.45) but 126.96.36.199.46 is installed E: Unmet dependencies. Try using -f.
Running it with
jeroen@Bomma:/home/bomma$ LANG=C sudo apt-get -f dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done Calculating upgrade... Done The following packages will be upgraded: linux-generic 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/1.722 B of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 188.8.131.52.45); however: Version of linux-image-generic on system is 184.108.40.206.46. linux-generic depends on linux-headers-generic (= 220.127.116.11.45); however: Version of linux-headers-generic on system is 18.104.22.168.46. dpkg: error processing linux-generic (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing: linux-generic E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm out of ideas on how to solve this (other than quickly reinstalling her pretty default xubuntu)? Trying to remove and reinstall the
linux-generic package seems rather risky, but maybe that would solve it?