I'm trying to do-release-upgrade to 23.04 but I'm unable to
do-release-upgrade
because python 3.10 packages are unupgradeable I'm not sure if it's related but I can't run neither zoom nor teams on this OS which is my main motivation for an upgrade.
Checking for a new Ubuntu release
Please install all available updates
for your release before upgrading.
root@:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libpython3.10-minimal libpython3.10-stdlib python3.10 python3.10-minimal
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
So I tried upgrading libpython3.10-stdlib which seems like the base package which leads to a libssl issue and a fixing that leads to libpython3.10-stdlib : Depends: libffi7 (>= 3.3~20180313) but it is not installable E: Broken packages
sudo apt -oDebug::pkgAcquire::Worker=1 upgrade libpython3.10-stdlib
Reading package lists... Done
...
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpython3.10-stdlib : Depends: libpython3.10-minimal (= 3.10.11-1+focal1) but 3.10.7-1ubuntu0.3 is to be installed
Depends: libffi7 (>= 3.3~20180313) but it is not installable
python3.10 : Depends: libpython3.10-stdlib (= 3.10.7-1ubuntu0.3) but 3.10.11-1+focal1 is to be installed
E: Broken packages
sudo update-alternatives --config python3
to change the system python interpreter or did you uninstall the default python version? If you uninstalled the default python version you need to reinstall it and runsudo update-alternatives --config python3
and select it as the default version again. – karel Apr 24 '23 at 02:433.10.11-1+focal1
is NOT an Ubuntu version string, it's a PPA or otherwise. Show the output ofapt-cache policy python3.10
before continuing to debug this. You have something providing Python 3.10 that is not the Ubuntu repos. – Thomas Ward Apr 24 '23 at 17:33