Hi,
I'll start with saying that I had my Debian Squeeze installed on a USB pendrive. I simply wanted to upgrade it to Wheezy so I started to follow steps on one of the sites.
Everything was going on alright (it seemed so) but after apt-get upgrade, I executed apt-get dist-upgrade which lasted very long that I had to go to sleep...
When I woke up, I was prompted with some file access error and I noticed that, somehow, my pendrive was, hmm, unmounted? Or there was some interruption between the system and the physical USB drive? I had similar problems in the past, when system was working properly but some fonts/icons were lost suddenly and I had no access to my drive. I normally rebooted the whole system as I thought it was an accident.
So, this morning, I just shut the system down, thinking that I will need to finish the upgrade process later.
How surprised I was when it turned out I cannot start my system. Gnome didn't want to start:
Code:
[FAIL] startpar: service(s) returned failure: gdm3 ... failed!
I tried to execute
Code:
apt-get upgrade
apt-get dist-upgrade
again but with no luck. I only get tons of errors with dependency issues, e.g.:
Code:
gdm3 : Requires: libaccountsservice0 (>= 0.6.8) but is not installed
Requires: libgtk-3-0 (>=3.0.0) but is not installed
and many more.
Code:
dpkg --configure -a
shows too many errors and stops
Code:
dpkg --configure -a --abort-after=99999
finishes but doesn't do nothing essential...
Anytime I execute apt-get with whichever option (e.g. I don't have gimp, so I execute apt-get install gimp) it shows the above errors with tons of packages that have dependencies that cannot be installed. Referring to gdm3 problem: If I run
Code:
apt-get install libgtk-3-0
I still get the tons of error messages saying that other packages have unresolved dependencies. It doesn't make any sens to me. I don't understand that output. Whenever I wanted to install a program apt-get didn't complain about other programs... Is there some kind of a lock file that wasn't deleted due to a hardware failure? What could I do to clean the error? I assume that the problem can be reproduced by interrupting an apt-get upgrade by physically unmounting the device...
Thanks for any clues on the case. I wasn't able to find anything useful to answer my concerns...