Not better :-(

Best Regards / Mit Grüßen aus Baden

Frank Pfattheicher

---------------------------------------------------------------------

ICT BADEN GmbH, D-76227 Karlsruhe, Seboldstraße 9

fon: 0172-7207196, e-mail: [email protected]

Geschäftsführer: Frank Pfattheicher

Amtsgericht Mannheim: HRB 706949

USt-IdNr: DE 265276745


Am Di., 2. Juni 2026 um 12:35 Uhr schrieb Julian Andres Klode <
[email protected]>:

> Hello Ari, or anyone else affected,
>
> Accepted ubuntu-release-upgrader into resolute-proposed. The package
> will build now and be available at
> https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:26.04.22
> in a few hours, and then in the -proposed repository.
>
> Please help us by testing this new package.  See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
> to enable and use -proposed.  Your feedback will aid us getting this
> update out to other Ubuntu users.
>
> If this package fixes the bug for you, please add a comment to this bug,
> mentioning the version of the package you tested, what testing has been
> performed on the package and change the tag from verification-needed-
> resolute to verification-done-resolute. If it does not fix the bug for
> you, please add a comment stating that, and change the tag to
> verification-failed-resolute. In either case, without details of your
> testing we will not be able to proceed.
>
> Further information regarding the verification process can be found at
> https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
> advance for helping!
>
> N.B. The updated package will be released to -updates after the bug(s)
> fixed by this package have been verified and the package has been in
> -proposed for a minimum of 7 days.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2151860).
> https://bugs.launchpad.net/bugs/2150319
>
> Title:
>   [SRU] lintian breaks upgrade from 24.04 to 26.04
>
> Status in libfile-libmagic-perl package in Ubuntu:
>   Won't Fix
> Status in libyaml-libyaml-perl package in Ubuntu:
>   Won't Fix
> Status in lintian package in Ubuntu:
>   Won't Fix
> Status in ubuntu-release-upgrader package in Ubuntu:
>   In Progress
> Status in libfile-libmagic-perl source package in Resolute:
>   Won't Fix
> Status in libyaml-libyaml-perl source package in Resolute:
>   Won't Fix
> Status in lintian source package in Resolute:
>   Won't Fix
> Status in ubuntu-release-upgrader source package in Resolute:
>   Fix Committed
>
> Bug description:
>   [ Impact ]
>
>   The bug prevents upgrades from 24.04 LTS to 26.04 LTS if `lintian` is
> alonsgide
>   a larger number of packages, such as `ubuntu-desktop`. This is caused by
> the
>   APT resolver's strictness in introducing the new dependency required by
>   `lintian` in 26.04 LTS. Without the fix, users need to manually identify
> the
>   issue and uninstall `lintian` before upgrading, which is a significant
> barrier
>   to adoption of the new LTS release.
>
>   The fix solves the bug by marking `lintian`'s new dependency
>   `libfile-libmagic-perl` for install if `lintian` is installed, which
> allows the
>   APT resolver to successfully resolve the upgrade path without requiring
> users
>   to manually intervene.
>
>   [ Test Plan ]
>
>   ## Reproduce the bug
>
>   1. Launch a 24.04 LTS container or VM, using e.g. LXD:
>
>      $ lxc launch ubuntu:24.04 sru-lintian-fix
>
>   (See
>   https://documentation.ubuntu.com/lxd/latest/tutorial/first_steps/)
>
>   2. Install `lintian` and the `ubuntu-desktop` meta-package (this can
>   take a while):
>
>      $ lxc exec sru-lintian-fix -- apt update && apt upgrade -y
>      $ lxc exec sru-lintian-fix -- apt install lintian ubuntu-desktop
>
>   3. Attempt to upgrade to 26.04 LTS:
>      $ lxc exec sru-lintian-fix -- do-release-upgrade -d
>      # this may complain about the Snap store, say "y" to continuing in
> that case
>
>   This will fail with the following error:
>
>       "Could not calculate the upgrade
>
>       An unresolvable problem occurred while calculating the upgrade."
>
>   ## Verify the fix
>
>   Note: as there is no upgrade path from 24.04 to 26.04 without the
>   --devel-release flag, this step will use the -proposed branch of the
>   u-r-u repository.
>
>   1. Shell into the previous container (alternatively, skip this step and
> run steps 2-4 on an affected system instead):
>      $ lxc shell sru-lintian-fix
>
>   2. Clone the release upgrader repository:
>      $ git clone -b ubuntu/resolute-proposed
> https://git.launchpad.net/ubuntu/+source/ubuntu-release-upgrader
>
>   3. Enter the DistUpgrade directory:
>      $ cd ubuntu-release-upgrader/DistUpgrade
>
>   4. Perform the upgrade:
>      $ ./dist-upgrade.py --datadir=../data --frontend=DistUpgradeViewText
>
>      If the upgrade is performed with a GUI, --frontend can also use
> either:
>      - DistUpgradeViewGtk
>      - DistUpgradeViewKDE
>
>   This should succeed with the following prompt:
>
>      "Do you want to start the upgrade?"
>
>   [ Where problems could occur ]
>
>   The fix itself should only affect upgrades from Noble on systems with
> `lintian`
>   installed. On these systems, the most prominent error arises if the
> added quirk
>   is run too early or too late in the upgrade process, which would cause
> the APT
>   resolver to still fail to resolve the upgrade path.
>
>   Another breakage could occur if some other package conflicts with the new
>   dependency `libfile-libmagic-perl`, which would cause the upgrade to
> fail with
>   a different error message.
>
>   [ Other Info ]
>
>   ## Why this SRU should not be in devel
>
>   Typically, a normal SRU would see changes mirrored from devel. In this
>   case however, the update is only relevant to upgrades from Noble to
>   Resolute as this is the only path that introduces the problematic
>   conditions. Consequently there is no reason to keep this in upgrades
>   to later releases.
>
>   ## Fix rationale
>
>   This specific bug is caused by a combination of resolver strictness and
> the
>   dependency graph for `lintian`. More specifically:
>
>   1. The new version of the dependency `libyaml-libyaml-perl` on Resolute
> breaks
>      the `lintian` version on Noble.
>   2. `lintian` needs to be upgraded to its latest version to be compatible
> with
>      `libyaml-libyaml-perl`.
>   3. The latest version of `lintian` introduces a new dependency
>      `libfile-libmagic-perl`, but the APT resolver does not favor this
> upgrade
>      path.
>
>   As such the most apparent fix was to add a quirk since nothing in the
> packaging
>   itself was broken, but the resolver's behavior was not ideal for this
> specific
>   case.
>
>   [ Original Bug Description ]
>
>   Checking package manager
>   Reading package lists... Done
>   Building dependency tree... Done
>   Reading state information... Done
>
>   Calculating the changes
>
>   Calculating the changes
>
>   Could not calculate the upgrade
>
>   An unresolvable problem occurred while calculating the upgrade.
>
>   If none of this applies, then please report this bug using the
>   command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
>   you want to investigate this yourself the log files in
>   '/var/log/dist-upgrade' will contain details about the upgrade.
>   Specifically, look at 'main.log' and 'apt.log'.
>
>   Restoring original system state
>
>   Aborting
>   Reading package lists... Done
>   Building dependency tree... Done
>   Reading state information... Done
>
>   ---
>
>   From /var/log/dist-upgrade/main.log:
>
>   2026-04-25 10:49:52,862 DEBUG running doUpdate() (showErrors=True)
>   2026-04-25 10:49:55,388 DEBUG openCache()
>   2026-04-25 10:49:55,746 DEBUG Comparing 6.8.0-107 with
>   2026-04-25 10:49:55,746 DEBUG Comparing 6.8.0-110 with 6.8.0-107
>   2026-04-25 10:49:55,785 DEBUG /openCache(), new cache size 81819
>   2026-04-25 10:49:55,883 DEBUG Foreign (before rewriting sources):
> 1password 1password-cli buildah ffmpeg fig2dev firefox gh gimp gimp-data
> gir1.2-gst-plugins-bad-1.0 google-chrome-stable gstreamer1.0-plugins-bad
> imagemagick imagemagick-6-common imagemagick-6.q16 libavcodec60
> libavdevice60 libavfilter9 libavformat60 libavutil58 libcjson1
> libgimp2.0t64 libgstreamer-plugins-bad1.0-0 libimage-magick-perl
> libimage-magick-q16-perl libmagick++-6.q16-9t64 libmagickcore-6.q16-7-extra
> libmagickcore-6.q16-7t64 libmagickwand-6.q16-7t64 libmbedcrypto7t64
> libmbedtls14t64 libmbedx509-1t64 libpostproc57 libqt5core5t64
> libqt5dbus5t64 libqt5gui5t64 libqt5network5t64 libqt5widgets5t64
> libswresample4 libswscale7 libvlc-bin libvlc5 libvlccore9 libzvbi-common
> libzvbi0t64 podman podman-docker python3-filelock python3-fonttools
> python3-virtualenv qt5-gtk-platformtheme vlc vlc-bin vlc-data vlc-l10n
> vlc-plugin-access-extra vlc-plugin-base vlc-plugin-notify vlc-plugin-qt
> vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
> vlc-plugin-video-splitter vlc-plugin-visualization
>   2026-04-25 10:49:55,883 DEBUG Foreign (after rewriting sources):
>   2026-04-25 10:49:55,883 DEBUG running Quirks.PreDistUpgradeCache
>   2026-04-25 10:49:56,344 ERROR Dist-upgrade failed: 'W:Skipping acquire
> of configured file 'main/binary-i386/Packages' as repository '
> https://dl.google.com/linux/chrome-stable/deb stable InRelease' doesn't
> support architecture 'i386', E:Error, pkgProblemResolver::Resolve generated
> breaks, this may be caused by held packages.'
>   2026-04-25 10:49:56,348 DEBUG abort called
>   2026-04-25 10:49:56,349 DEBUG openCache()
>   2026-04-25 10:49:57,552 DEBUG Comparing 6.8.0-107 with
>   2026-04-25 10:49:57,552 DEBUG Comparing 6.8.0-110 with 6.8.0-107
>   2026-04-25 10:49:57,628 DEBUG /openCache(), new cache size 103198
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 24.04
>   Package: ubuntu-release-upgrader-core 1:24.04.28
>   ProcVersionSignature: Ubuntu 6.8.0-107.107-generic 6.8.12
>   Uname: Linux 6.8.0-107-generic x86_64
>   ApportVersion: 2.28.1-0ubuntu3.8
>   Architecture: amd64
>   CasperMD5CheckResult: pass
>   CrashDB: ubuntu
>   CurrentDesktop: ubuntu:GNOME
>   Date: Sat Apr 25 10:51:38 2026
>   InstallationDate: Installed on 2022-06-07 (1418 days ago)
>   InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64
> (20220419)
>   PackageArchitecture: all
>   ProcEnviron:
>    LANG=en_US.UTF-8
>    PATH=(custom, no user)
>    SHELL=/bin/zsh
>    TERM=xterm-256color
>    XDG_RUNTIME_DIR=<set>
>   SourcePackage: ubuntu-release-upgrader
>   UpgradeStatus: Upgraded to noble on 2026-04-25 (0 days ago)
>   VarLogDistupgradeAptHistorylog:
>    Start-Date: 2026-04-25  10:49:40
>    Requested-By: ari (1000)
>    End-Date: 2026-04-25  10:49:40
>   VarLogDistupgradeApttermlog:
>    Log started: 2026-04-25  10:49:40
>    Log ended: 2026-04-25  10:49:40
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/libfile-libmagic-perl/+bug/2150319/+subscriptions
>
>


** Attachment added: "main.log"
   https://bugs.launchpad.net/bugs/2150319/+attachment/5975012/+files/main.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150319

Title:
  [SRU] lintian breaks upgrade from 24.04 to 26.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libfile-libmagic-perl/+bug/2150319/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to