i'm working on Ubuntu 16.04 and after having some troubles with pip and python, i've decided to try to unistall both python and python3, with the command:
sudo apt-get purge python
and
sudo apt-get purge python3
Now the thing is that if i type python or python3, i get nothing but the python shell opens, like everything is still there. So i don't understand what i've done/unistalled with my commands. Plus i've tried to reinstall what i've deleted by typing:
sudo apt-get install python
but instead of getting some download, it gives me a message of the type:
`Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python : Pre-Depends: python-minimal (= 2.7.11-1~) but version 2.7.12-1~16.04 it is going to be installed
Depends: libpython-stdlib(=2.7.11-1) but version 2.7.12-1~16.04 it is going to be installed
E: Unable to correct problems, you have held broken packages.`
I'm practically new to all this world, so i don't really have a guess on what is happening here, also because i've read that default python shall not be unistalled, otherwise system get broken. Thanks for any help!!