Dist upgrade from focal to jammy fails to calculate due to libsmbclient being greater in focal

Bug #1951096 reported by Olivier Tilloy
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned

Bug Description

Yesterday (2021-11-15) I attempted to dist-upgrade my laptop running focal to jammy (`update-manager -d`). The upgrade initially proceeded, but failed early after apt reported gnome-control-center would be broken. I'm attaching the full logs from /var/log/dist-upgrade/.

Note: I eventually managed to upgrade to jammy by doing all intermediate upgrades (focal -> hirsute -> impish -> jammy), and overall the process was quite smooth. I didn't have to sort out updates breaking installed packages in that scenario, so the issue only affects the focal -> jammy upgrade, somehow.

Tags: fr-1871
Revision history for this message
Olivier Tilloy (osomon) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

The problematic dependency chain appears to be:

 ubuntu-desktop
  gnome-control-center
   libsmbclient
    samba-libs
     python3-ldb
      python3

Revision history for this message
Olivier Tilloy (osomon) wrote :

Just tested in a clean and fully up-to-date focal VM, and the exact same error happens when trying to upgrade to jammy, so it's easily reproducible.

tags: added: rls-jj-incoming
tags: added: fr-1871
tags: removed: rls-jj-incoming
Changed in ubuntu-release-upgrader (Ubuntu Jammy):
importance: Undecided → High
Revision history for this message
Olivier Tilloy (osomon) wrote :

Still failing today with the same error in a fully up-to-date focal VM.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Editing /etc/apt/sources.list and replacing focal with jammy "works" but would end up removing the following packages which includes ubuntu-desktop.

The following packages will be REMOVED:
  gir1.2-mutter-6 gir1.2-unity-5.0 gnome-control-center gnome-shell-extension-desktop-icons gvfs-backends gvfs-bin libgc1c2 libmutter-6-0
  libsemanage1 libsmbclient libtss2-esys0 python3-ldb samba-libs ubuntu-desktop ubuntu-desktop-minimal

Revision history for this message
Brian Murray (brian-murray) wrote :

Ah, the upgrade isn't possible because the version of libsmbclient in Focal(-security and -updates) is greater than the version in Jammy. Hopefully, the version of samba in jammy-proposed will migrate soon.

summary: - Dist upgrade from focal to jammy fails when upgrading ubuntu-desktop,
- breaking gnome-control-center
+ Dist upgrade from focal to jammy fails to calculate due to libsmbclient
+ being greater in focal
Revision history for this message
Brian Murray (brian-murray) wrote :

samba has now migrated in jammy and when I tested an upgrade from Focal to Jammy it was successfully calculated, subsequently I'm setting this to Fix Released.

Changed in ubuntu-release-upgrader (Ubuntu Jammy):
status: Confirmed → Fix Released
Revision history for this message
Olivier Tilloy (osomon) wrote :

I can confirm that a dist-upgrade from focal to jammy now works in a fully up-to-date focal VM.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.