I've just upgraded my Ubuntu from focal(20.04) to jammy(22.04), and now my python is broken. which causes a lot of headache all over, like Apt wont update and some applications won't start.
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.6-1~22.04.2) but 3.10.9-1+focal2 is to be installed
As the ubuntu package documentation 3.10.6.1 is the current (jammy) version. but why does it try to install a focal package (3.10.9.1 = lunar(23.04)).
i have tried to install python 3.11 instead (i used to run 3.10). but Apt still throws this error.
sources.list:
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy main restricted
deb-src https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy universe main multiverse restricted
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-updates main restricted
deb-src https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-updates universe main multiverse restricted
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy universe
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-updates universe
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy multiverse
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-updates multiverse
deb-src https://nl.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://nl.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-security main restricted
deb-src https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-security universe main multiverse restricted
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-security universe
deb https://ftp.snt.utwente.nl/pub/os/linux/ubuntu/ jammy-security multiverse