How to fix python3 - after messing it up?
I got it fixed by running sudo apt install --reinstall python3 python python3-minimal --fix-broken
Results of sudo apt install --reinstall python3 python python3-minimal --fix-broken
:
282 sudo apt-get --reinstall python3
283 sudo apt-get install --reinstall python3
284 sudo apt-get install --reinstall python3
285 man apt-get
286 apt list --installed
287 apt list --installed |grep python
288 apt list --installed |grep python > installed.python.txt
289 ls list*
290 ls inst*
291 less installed.python.txt
292 pwd
293 ls -l `which python`
294 which python3
295 which python
296 ls -la /usr/bin/python
297 history
298 sudo apt-get install --reinstall python3
299 sudo apt-get install --reinstall python
300 sudo apt-get install --reinstall python3
301 sudo apt-get install --reinstall python3-minimal
302 sudo apt-get install --fix-broken
303 sudo apt-get install --reinstall python
304 sudo apt-get install --reinstall python3
305 sudo apt-get install --reinstall python3-minimal
306 sudo apt-get install --fix-broken
307 sudo apt autoremove
308 sudo apt-get update
309 sudo apt-get upgrade
310 sudo reboot
Now everything is working as expected.