0

Just installed 14.04 so I gave the software centre about 5 programs to install and I left it and went away. Then the electricity went out.

What is the correct thing to do now?

Most importantly I want to clean up (remove) the "parts of softwares" that were installed.

...Is there something like a restore point to go back to?

1

Run:

sudo dpkg --configure -a

followed by:

sudo apt-get install -f

This will fix and then continue the installation of any software which was interrupted when the power went out; although if the installation had not yet reached, say, the fourth program then you will need to manually install that and the fifth again.

There's no equivalent of a restore point to uninstall packages - you will have to do this manually if you don't want the software anymore.

If you get an error when running the above command then post it here and I will tell you how to resolve it.

  • okay so you mean that "the one software that was interrupted" will be "fixed" or "resumed" right? – Mina Michael Jun 1 '14 at 13:33
  • ...anyway I ran the command and it gave the error E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. @Sman789 – Mina Michael Jun 1 '14 at 14:19
  • Run the command it tells you to run (without the quotes), and then run "sudo apt-get install -f" again. – Sman789 Jun 1 '14 at 16:11
  • And yes. The dpkg command will fix the package it was currently installing, and the apt-get command will make sure that all the other packages that are needed for it to work are present and installed. But there's no way for it to know what other, unrelated packages you wanted to install afterwards, so you'll have to start those again. – Sman789 Jun 1 '14 at 16:17
  • mmm okay thanks :D ...to be honest; I didn't wait for your reply and reinstalled my system but it really looks like it will work ... followed by Minos' answer down here to install the unrelated programs – Mina Michael Jun 1 '14 at 17:03
0

Unless something went terribly wrong I would just try reinstalling the programs:

sudo apt-get update && sudo apt-get install --reinstall <packagenames here>
  • hmmm great! so where do I find the packages installed today? – Mina Michael Jun 1 '14 at 13:27
  • what where you trying to install? – Minos Jun 1 '14 at 13:27
  • google chrome, VLC (which has apparently finished installation), gimp, wine, uuuuuuuuh and two more things (I'll say when I remember) – Mina Michael Jun 1 '14 at 13:30
  • then try sudo apt-get update && sudo apt-get install --reinstall google-chrome-stable vlc gimp wine and whatever else you installed – Minos Jun 1 '14 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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