I've tried to update Python and I didn't know about isollation of version instead delete the versions, so, I've deleted all of my Python version inside my Ubuntu 16.04 VPS. Now i'm not able to install nothing trough apt-get.
:
root@vps15:/# apt-get install --reinstall python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
dh-python : Depends: python3:any (>= 3.3.2-2~)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I tried to install manually to source Python 2.7 to /usr/lib and that works now, but the problem now is this dependency: "dh-python".
# apt-get install python3.5-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.5-minimal is already the newest version (3.5.2-2ubuntu0~16.04.5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python3.5-minimal : Depends: libpython3.5-minimal (= 3.5.2-2ubuntu0~16.04.5) but it is not installable
Recommends: python3.5 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I've tried all the methods listed and I can't fix the dependencies.
Before trying the fixing, the problem was Python2.7 instead python3, now python3 by manual installation didn't fix the problem.