Hi, I'm affected by this bug as well.

To large extent, I've tracked down the real issue. It looks like the
culprit is the existence of `nsight-systems:amd64` on affected systems
before the 20.04 => 22.04 upgrade.

That package causes cascades of package removals (including the pivotal
`ubuntu-desktop`, leading to the AttributeError) at one of phased
package upgrades of `do-release-upgrades` as part of difficult
dependency resolution. I think the logic is broken or the `nsight-
systems:amd64` is specifying something confusing to it. I'm not that
familiar with internal workings of `do-release-upgrade`, but the big
one-go `apt dist-upgrade` after manual rewrite of `focal` => `jammy`
doesn't cause such large package purge, for reference.


working (just removed `nsight-systems`):


```
  MarkInstall libc6:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU Ib > 
FU=1
    MarkInstall fakeroot:amd64 < 1.24-1 -> 1.28-1ubuntu1 @ii umU Ib > FU=0
    Installing libfakeroot as Depends of fakeroot
      MarkInstall libfakeroot:amd64 < 1.24-1 -> 1.28-1ubuntu1 @ii umU > FU=0
    MarkInstall locales:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU Ib 
> FU=0
    Installing libc-bin as Depends of locales
      MarkInstall libc-bin:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU 
> FU=0
  new important dependency: libnss-nis:amd64
  Installing libnss-nis as Recommends of libc6
    MarkInstall libnss-nis:amd64 < none -> 3.1-0ubuntu6 @un uN Ib > FU=0
    Installing libnsl2 as Depends of libnss-nis
      MarkInstall libnsl2:amd64 < none -> 1.3.0-2build2 @un uN Ib > FU=0
      Installing libtirpc3 as Depends of libnsl2
        MarkInstall libtirpc3:amd64 < none -> 1.3.2-2ubuntu0.1 @un uN Ib > FU=0
        Installing libtirpc-common as Depends of libtirpc3
          MarkInstall libtirpc-common:amd64 < none -> 1.3.2-2ubuntu0.1 @un uN > 
FU=0
      MarkInstall libc6:i386 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU IPb 
> FU=0
      new important dependency: libnss-nis:i386
      Installing libnss-nis as Recommends of libc6
        MarkInstall libnss-nis:i386 < none -> 3.1-0ubuntu6 @un uN Ib > FU=0
        Installing libnsl2 as Depends of libnss-nis
          MarkInstall libnsl2:i386 < none -> 1.3.0-2build2 @un uN Ib > FU=0
          Installing libtirpc3 as Depends of libnsl2
            MarkInstall libtirpc3:i386 < none -> 1.3.2-2ubuntu0.1 @un uN > FU=0
      new important dependency: libnss-nisplus:i386
      Installing libnss-nisplus as Recommends of libc6
        MarkInstall libnss-nisplus:i386 < none -> 1.3-0ubuntu6 @un uN > FU=0
  new important dependency: libnss-nisplus:amd64
  Installing libnss-nisplus as Recommends of libc6
    MarkInstall libnss-nisplus:amd64 < none -> 1.3-0ubuntu6 @un uN > FU=0
Starting pkgProblemResolver with broken count: 2
Starting 2 pkgProblemResolver with broken count: 2
Investigating (0) libc6-dev:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii 
umU Ib >
Broken libc6-dev:amd64 Depends on rpcsvc-proto:amd64 < none | 1.4.2-0ubuntu6 
@un uH >
  Considering rpcsvc-proto:amd64 1 as a solution to libc6-dev:amd64 136
  MarkKeep libc6-dev:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU Ib > 
FU=0
  Re-Instated rpcsvc-proto:amd64
  Re-Instated libtirpc-dev:amd64
  Re-Instated libnsl-dev:amd64
  Re-Instated libc6-dev:amd64
Investigating (0) libc6-dev:i386 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU 
Ib >
Broken libc6-dev:i386 Depends on libtirpc-dev:i386 < none | 1.3.2-2ubuntu0.1 
@un uH >
  Considering libtirpc-dev:i386 1 as a solution to libc6-dev:i386 7
  MarkKeep libc6-dev:i386 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU Ib > 
FU=0
  Re-Instated libtirpc-dev:i386
  Re-Instated libnsl-dev:i386
  Re-Instated libc6-dev:i386
Done
```

NOT working (nsight-systems are installed):

```
Starting pkgProblemResolver with broken count: 3
Starting 2 pkgProblemResolver with broken count: 3
Investigating (0) libc6-dev:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii 
umU Ib >
Broken libc6-dev:amd64 Depends on rpcsvc-proto:amd64 < none | 1.4.2-0ubuntu6 
@un uH >
  Considering rpcsvc-proto:amd64 1 as a solution to libc6-dev:amd64 136
  MarkKeep libc6-dev:amd64 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU Ib > 
FU=0
  Re-Instated rpcsvc-proto:amd64
  Re-Instated libtirpc-dev:amd64
  Re-Instated libnsl-dev:amd64
  Re-Instated libc6-dev:amd64
Investigating (0) libc6-dev:i386 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU 
Ib >
Broken libc6-dev:i386 Depends on libtirpc-dev:i386 < none | 1.3.2-2ubuntu0.1 
@un uH >
  Considering libtirpc-dev:i386 1 as a solution to libc6-dev:i386 7
  MarkKeep libc6-dev:i386 < 2.31-0ubuntu9.18 -> 2.35-0ubuntu3.10 @ii umU Ib > 
FU=0
  Re-Instated libtirpc-dev:i386
  Re-Instated libnsl-dev:i386
  Re-Instated libc6-dev:i386
Investigating (0) nsight-systems:amd64 < 10.1.243-3 -> 
2021.3.3.2~11.5.1-1ubuntu1 @ii umU Ib >
Broken nsight-systems:amd64 Depends on nsight-systems-target:amd64 < none | 
2021.3.3.2~11.5.1-1ubuntu1 @un uH > (= 2021.3.3.2~11.5.1-1ubuntu1)
  Considering nsight-systems-target:amd64 0 as a solution to 
nsight-systems:amd64 0
  MarkKeep nsight-systems:amd64 < 10.1.243-3 -> 2021.3.3.2~11.5.1-1ubuntu1 @ii 
umU Ib > FU=0
  Re-Instated libssl3:amd64
  Re-Instated libnvidia-compute-535:amd64
  Re-Instated libnvidia-compute-510:amd64
  Re-Instated libnvidia-compute-495:amd64
  Re-Instated nsight-systems-target:amd64
  Re-Instated libicu70:amd64
  Re-Instated gcc-12-base:amd64
  Re-Instated gcc-12-base:i386
  Re-Instated libstdc++6:i386
  Re-Instated libstdc++6:amd64
  Re-Instated libqt5core5a:amd64
  Re-Instated libqt5dbus5:amd64
  Re-Instated libqt5network5:amd64
  Re-Instated libx11-6:i386
  Re-Instated libx11-xcb1:i386
  Re-Instated libx11-6:amd64
  Re-Instated libx11-xcb1:amd64
  Re-Instated nsight-systems:amd64

... (4000 lines later with many MarkRemove) ...

Done
```

Additionally, I confirmed existence of `nsight-systems:amd64` from the
logs at bug 1985966

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

Title:
  Upgrade from 20.04 to 22.04 failed: AttributeError:
  'DistUpgradeController' object has no attribute 'tasks'

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


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

Reply via email to