2

While trying to free some space by unistalling some useless applications, I accidently have choosen the python file to be unistalled, then something wrong happens, most of programs of Ubuntu 10.10 were unistalled and much worse, the laptop was not responding.

I tried to restart, then I had the bad surprise: and error message saying that the graphic interface is not available anymore, i can access in a textual mode, do you think that i can get back my installation without reinstalling all the OS?

Please help me if you can.

htorque
  • 66,086
Hopedz
  • 21

1 Answers1

6
  • To reinstall, run this from the command line (you said you can still access 'text mode'):

    sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
    

    This should get your base setup working again, but I cannot say if any programs you manually installed will still be there as python is a critical package as you now know*.

  • If this does not work, you can try to recover your system with a live CD. See this answer about how to access your broken system from a live CD via chroot.

    At point 6 you would need to reinstall all the things that were removed. As I don't know the current state of your broken system, you may or may not need to run the commands from the linked answer. Then, like above, run:

    apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
    

*) If you didn't choose to also delete configuration files, you might be able to easily reinstall the software via Synaptic: select the Not installed (residual config) item in the left pane, then select the software in the right pane for reinstallation:

enter image description here

htorque
  • 66,086