[Bug 2009892] [NEW] upgrade from 20.04 -> 22.04 fails due to python conflict from focal-updates repo

Robin Battey 2009892 at bugs.launchpad.net
Thu Mar 9 21:13:06 UTC 2023


Public bug reported:

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.4-0ubuntu0.20.04.1 from the focal-updates repo 
  2:2.4.4-0ubuntu0.1 from the jammy-updates repo

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://packages.ubuntu.com/focal-updates/allpackages
  https://packages.ubuntu.com/jammy-updates/allpackages

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-center gvfs-backends libsmbclient
samba-libs ubuntu-desktop ubuntu-desktop-minimal vlc-plugin-samba), and
then running the upgrade.  But, this is clearly a bug in the upgrade
process.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2009892

Title:
  upgrade from 20.04 -> 22.04 fails due to python conflict from focal-
  updates repo

Status in ubuntu-release-upgrader package in Ubuntu:
  New

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.4-0ubuntu0.20.04.1 from the focal-updates repo 
    2:2.4.4-0ubuntu0.1 from the jammy-updates repo

  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://packages.ubuntu.com/focal-updates/allpackages
    https://packages.ubuntu.com/jammy-updates/allpackages

  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-center gvfs-backends libsmbclient
  samba-libs ubuntu-desktop ubuntu-desktop-minimal vlc-plugin-samba),
  and then running the upgrade.  But, this is clearly a bug in the
  upgrade process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2009892/+subscriptions




More information about the foundations-bugs mailing list