Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a problem when I try to update my ubuntu "12.04LTS": Accidentally I turn off my computer, while the update was running. When I turn it on and try to complete the update, he always told me, that it´s a problem with the "apt-get". I just decide not to install it and then I couldn´t start my ubuntu any more, I always come in a point at the beginning like a terminal, where I have to give my username, but I forgot it. Any suggestions?! Thanx!.J :)

share|improve this question

Boot into recovery mode command line and have a look at the directories under /home

cd /home

The directory you see there will most likely be your username. If you've also forgotten the password you can reset it by following the instructions given in this question.

To repair the broken upgrade try the following:

  • Boot into recovery mode
  • Start networking services
  • Select Repair broken packages with dpkg
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.