Score:0

Unable to do-release-upgade linux because python 3.10 packages are unupgradeable

jp flag

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
Artur Meinild avatar
vn flag
Did you somehow update Python to a non-standard version earlier? This can lead to unexpected problems.
Nmath avatar
ng flag
Changing the python interpreter can be a system killer. You may need to reinstall the OS. Don't change the python interpreter on your system. Use virtual environments instead.
jp flag
Totally right about not changing system python interpreter but I'm trying to work throught this! I did find a problem with libssl
karel avatar
sa flag
Did you use `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 run `sudo update-alternatives --config python3` and select it as the default version again.
jp flag
@karel that returns "update-alternatives: error: no alternatives for python3.10" even though 3.8, 3.9 and 3.12 are installed.
ru flag
You have some type of PPA enabled right now which supersedes the system Python. `3.10.11-1+focal1` is NOT an Ubuntu version string, it's a PPA or otherwise. Show the output of `apt-cache policy python3.10` before continuing to debug this. You have *something* providing Python 3.10 that is not the Ubuntu repos.
jp flag
Thomas if you care to post this as an answer I will accept it as correct.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.