Uninstalling package python3.10 nuked half of my system

I upgraded to the latest Ubuntu 22.04 LTS. Before I had python 3.9 but I needed 3.10 so I installed,

sudo apt install python3.10

After the update, the standard python was bumped to 3.10 so I no longer needed the python3.10 package. I checked that python3 and python3.10 were different installations by,

which python3
/usr/bin/python3
which python3.10
/usr/bin/python3.10

So i decided to purge the 3.10.

sudo apt purge python3.10

This uninstalled a lot of packages like xserver-common and gnome-terminal. I was lucky enough to catch that so I ran,

sudo apt install python3

Which installed most of them back. I am so confused and petrified. python3.10 and python3 have reappeared in bin. Why? Where did I go wrong?

7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like