Public bug reported:

## Description

`sudo do-release-upgrade` aborts after “Reading state information...
Done”:

```text
E:Error, pkgProblemResolver::Resolve generated breaks,
this may be caused by held packages.
```

The resolver loops on an orphan automatically-installed `lintian`:

```text
Broken libyaml-libyaml-perl:amd64 Breaks on lintian:amd64 (< 2.119.0~)
  Upgrading lintian:amd64 due to Breaks field in libyaml-libyaml-perl:amd64

Broken lintian:amd64 Depends on libdistro-info-perl:amd64 (>= 1.15ubuntu0.1~)
  MarkKeep lintian:amd64
  Holding Back lintian:amd64 rather than change libdistro-info-perl:amd64
```

`apt-mark showhold` is empty, and the pre-upgrade `apt-get -s dist-upgrade` is
clean. Removing `lintian` removes only that package and lets the upgrade
proceed.


## Classification

- Owner rule: release-upgrader package resolver; failing component is
  `ubuntu-release-upgrader`.
- Component: `ubuntu-release-upgrader` with `lintian`,
  `libyaml-libyaml-perl`, and `libdistro-info-perl`.
- No user holds or local pins are involved.


## Reproduction

1. On Ubuntu 24.04.5, install `lintian` and mark it auto-installed:
   ```bash
   sudo apt install lintian
   sudo apt-mark auto lintian
   ```
2. Confirm no user holds:
   ```bash
   apt-mark showhold
   ```
3. Run:
   ```bash
   sudo do-release-upgrade
   ```
4. Observe the resolver loop and the `pkgProblemResolver::Resolve generated
   breaks` error.

Reproduction viability: **High** — deterministic whenever `lintian` 2.117 is
present and `libdistro-info-perl` is held back during the target-release
resolution.


## Evidence

- `/var/log/dist-upgrade/main.log` — `Dist-upgrade failed` entry.
- `/var/log/dist-upgrade/apt.log` — `libyaml-libyaml-perl` / `lintian` /
  `libdistro-info-perl` resolver loop.
- `apt-mark showhold` — empty.
- `apt-get -s dist-upgrade` before the upgrade — clean.
- Workaround verified: `sudo apt remove lintian` removes only `lintian`;
  `do-release-upgrade` then completes.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ubuntu-release-upgrader-core 1:26.04.27
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports: 644:0:124:0:2026-11-19 16:17:35.298712059 +0100:2026-11-19 
16:17:35.108712073 +0100:/var/crash/kdump_lock
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 19 17:26:27 2026
InstallationDate: Installed on 2023-04-30 (1299 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to resolute on 2026-11-19 (0 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

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


** Tags: amd64 apport-bug dist-upgrade resolute wayland-session

** Attachment added: "001-release-upgrade-lintian-loop.md"
   
https://bugs.launchpad.net/bugs/2175069/+attachment/6019463/+files/001-release-upgrade-lintian-loop.md

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

Title:
  ubuntu-release-upgrader: 24.04 → 26.04.1 upgrade aborts in
  pkgProblemResolver

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


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

Reply via email to