I have confused to uninstall python3 or fix my VPS Ubuntu
Im using Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-31-generic x86_64)
I tried to uninstall all python packages
sudo apt-get purge python3
And getting this error
dpkg: error processing package python3-pkg-resources (--remove):
subprocess installed pre-removal script returned error exit status 127 Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
python3-lxml
python3-pip
python3-apt
python3-pyparsing
gir1.2-ibus-1.0:amd64
hplip-data
python3-blinker
python3-bs4
python3-cairo
python3-chardet
python3-dbus
python3-defer
python3-feedparser
python3-gi
python3-guacamole
python3-httplib2
python3-idna
python3-jwt
python3-louis
python3-markupsafe
python3-padme
python3-setuptools
python3-problem-report
python3-ptyprocess
python3-pyasn1
python3-pycurl
python3-six
python3-wheel
python3-xdg
python3-xkit
python3-xlsxwriter
dh-python
python3
python3-pkg-resources
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried other way from other site,error still same And i tried to reinstall my ubuntu with command line
apt-get install --reinstall ubuntu-desktop
I dont know should i do to fix my ubuntu and reinstall my python.
Note:
I tried to run python3
it not working with reasons python3 is not package and i run python3.7
it working fine,idk python3.7 thats reall python package i have or something else :/
Im so appreciate any help