-1

I gave the command sudo apt-get remove ruby 2.0.0 in Ubuntu 16, but it started deleting all the files including Ubuntu files and now I am not able to switch it back on, it's just showing a black screen!

How can I restore my system to a bootable state?

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
toco
  • 1
  • 4
    What do you mean ubuntu files? – Thermatix Aug 09 '17 at 12:19
  • This question is better suited on https://askubuntu.com/. In any case, please add more details about what actually happened, preferably with the copied output of your commands. – Holger Just Aug 09 '17 at 13:33
  • If your system is corrupted. It if often easier to restart from installing the OS. In that case, just save the home directory in some other media before erasing the whole volume. – sawa Aug 09 '17 at 13:50

1 Answers1

0
sudo apt-get remove ruby 2.0.0

It work as

sudo apt-get remove ruby && sudo apt-get remove 2.0.0

If you want remove all ruby files read this

Also use ruby version meneger for remove single ruby version/ For example:

rvm uninstall VERSION_NUMBER

For restoring ubuntu read this

Leo
  • 1,673
  • 1
  • 13
  • 15