upgrade from 20.04 -> 22.04 fails due to python conflict from focal-updates repo
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
I assumed this was due to me installing some random ppa from somewhere, but I eventually tracked this down to a conflict between python3-ldb and libldb2 from official repositories:
2:2.4.
2:2.4.
I found this by updating apt with the jammy repos and running "apt-cache policy" on the broken packages, but you can see the package lists in the official locations for verification:
https:/
https:/
This is not the only package, there are a number of python-related packages with this naming scheme, and I can't seem to get apt to resolve all of them. I can downgrade to the python version (2:2.0.8-2) in focal main, but then do-release-upgrade complains that I have updates.
I have worked around this by removing those packages (which also transitively removes: gnome-control-
---
ProblemType: Bug
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-07-25 (957 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: ubuntu-
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: focal dist-upgrade
Uname: Linux 5.15.0-67-generic x86_64
UpgradeStatus: Upgraded to focal on 2023-03-09 (0 days ago)
UserGroups: N/A
_MarkForUpload: True
---
ProblemType: Bug
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-07-25 (957 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: ubuntu-
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: focal dist-upgrade
Uname: Linux 5.15.0-67-generic x86_64
UpgradeStatus: Upgraded to focal on 2023-03-09 (0 days ago)
UserGroups: N/A
_MarkForUpload: True
---
ProblemType: Bug
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-07-25 (957 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: ubuntu-
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: focal dist-upgrade
Uname: Linux 5.15.0-67-generic x86_64
UpgradeStatus: Upgraded to focal on 2023-03-09 (0 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Can you please run apport-collect 2009892 so that the appropriate logs from the upgrade process are attached to this bug report?