Ubuntu 22.04.01 LTS Gnome
Changed python version which resulted in inability to access Terminal and a few other things.
Used a liveUSB and then selected to try ubuntu.
In that terminal entered:
sudo fdisk -l
sudo mount /dev/sda1 /mnt/
sudo mount --bind /proc/ /mnt/proc/
sudo mount --bind /sys/ /mnt/sys/
sudo mount --bind /dev/ /mnt/dev/
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
sudo chroot /mnt/
That code executed fine. I then wanted to change python3.11 to python 3.10 with
sudo update-alternatives  --set python /usr/bin/python3.6
However I get the error listed in the title. Other attemps with various code to change python also raise the same error. Can't find any similar questions on here.
 
     
    