I deleted package 'python3' on Ubuntu and I have lost dashboard, terminal and Unity. Help me to restore my data please [duplicate]
Solution 1:
You can press Ctrl+Alt+F1 to get a shell. Once there, try reinstalling Python and anything else you may be missing:
sudo apt-get install python3-all
sudo apt-get install gnome-terminal
If nothing seems to work properly, or your dependencies have been messed up, try installing all of the desktop components again. This should give you all of the dependencies you need.
sudo apt-get remove ubuntu-desktop
sudo apt-get install ubuntu-desktop
Solution 2:
Python3 is used by many system components on Ubuntu.. removing that will break a lot (as you just witnessed). Can you try to simply reïnstal Python3 again with sudo apt-get install python3
?
Solution 3:
Your current install is likely damaged beyond repair and needs to be wiped.
Boot up a live CD and mount your current install drive. Copy any important documents to a flash drive and reinstall Ubuntu.
Note that while you may be able to just reinstall Python, there may still be other (deeper) damage that isn't just apparent yet. You can run the following command to try to repair your OS:
sudo apt-get install --reinstall ubuntu-desktop