[Bug 2009892] Re: 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 23:26:49 UTC 2023


apport information

** Tags added: apport-collected dist-upgrade focal

** Description changed:

  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.
+ 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.
+ --- 
+ ProblemType: Bug
+ Architecture: amd64
+ CasperMD5CheckResult: skip
+ 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-release-upgrader (not installed)
+ ProcEnviron:
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
+ 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

** Attachment added: "CurrentDmesg.txt.txt"
   https://bugs.launchpad.net/bugs/2009892/+attachment/5653315/+files/CurrentDmesg.txt.txt

-- 
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.
  --- 
  ProblemType: Bug
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-release-upgrader (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
  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
  CasperMD5CheckResult: skip
  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-release-upgrader (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
  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
  CasperMD5CheckResult: skip
  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-release-upgrader (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
  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

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