By mistake I ran
sudo apt-get purge 7.0.*
instead of
sudo apt-get purge PHP 7.0.*
Now my system is not opening. What to do now?
I updated the system but still no progress.
I made the same mistake a few months ago. The best option you have is to use a bootable USB drive and take a backup of your data. Then you can try to restore Ubuntu.
/etc/
and /home/
then install Ubuntu home
directory contains all your desktop and local configurations files and /etc/
contains all global configuration files.
Apr 29, 2017 at 4:49
(if you mean it won't boot by not opening) There's probably a more efficient solution than this (that I don't know, of course), but I would boot it from a live USB, back up all of your files onto another USB if you haven't already backed your files up, and reinstall Ubuntu.