distro upgrade crashes due to python3 from the deadsnakes PPA
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Even when removing all other 3rd party repositories, the distro upgrade from 20.04 to 22.04 is not working.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-124-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 16 12:37:28 2022
InstallationDate: Installed on 2021-09-18 (331 days ago)
InstallationMedia: Xubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to focal on 2022-08-16 (0 days ago)
| summary: |
- distro upgrade crashes + distro upgrade crashes due to python3 from the deadsnakes PPA |

It looks like you have installed python3 from the deadsnakes PPA:
Installing python3.10-dev as Depends of python3-dev 10-dev: amd64 Depends on python3.10:amd64 < 3.10.6-1+focal1 @ii mK > (= 3.10.4-3ubuntu0.1) can't be satisfied!
python3.
To resolve the issue, please use the ppa-purge tool to remove any packages installed from ppa:deadsnakes/ppa, and then try the upgrade again.