Verification done. First I downgraded all systemd packages to the release pocket using
# apt install '?installed?version(247.3-3ubuntu3.1$)=247.3-3ubuntu3' Then I hacked in Phased-Update-Percentage: 0 fields for all src:systemd packages in my local hirsute-updates Packages file in /var/lib/apt/lists using vim, resulting in # apt install libsystemd-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libsystemd-dev : Depends: libsystemd0 (= 247.3-3ubuntu3.1) but 247.3-3ubuntu3 is to be installed E: Unable to correct problems, you have held broken packages. I upgraded libapt-pkg6.0 to 2.2.4ubuntu0.1, yielding root@h:~# apt install libsystemd-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. The following NEW packages will be installed: libsystemd-dev 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 299 kB of archives. After this operation, 1153 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu hirsute/main amd64 libsystemd-dev amd64 247.3-3ubuntu3 [299 kB] Fetched 299 kB in 0s (2408 kB/s) Selecting previously unselected package libsystemd-dev:amd64. (Reading database ... 32918 files and directories currently installed.) Preparing to unpack .../libsystemd-dev_247.3-3ubuntu3_amd64.deb ... Unpacking libsystemd-dev:amd64 (247.3-3ubuntu3) ... Setting up libsystemd-dev:amd64 (247.3-3ubuntu3) ... Processing triggers for man-db (2.9.4-2) ... Scanning processes... Scanning candidates... Yay! Phasing back to 100 made it upgrade to -updates as expected: root@h:~# sed -i "s#Phased-Update-Percentage: 0#Phased-Update-Percentage: 100#g" /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hirsute-updates_main_binary-amd64_Packages root@h:~# apt install libsystemd-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'apt autoremove' to remove it. The following additional packages will be installed: libnss-systemd libpam-systemd libsystemd0 systemd systemd-sysv systemd-timesyncd Suggested packages: systemd-container The following NEW packages will be installed: libsystemd-dev The following packages will be upgraded: libnss-systemd libpam-systemd libsystemd0 systemd systemd-sysv systemd-timesyncd 6 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 5217 kB of archives. After this operation, 1159 kB of additional disk space will be used. Do you want to continue? [Y/n] ** Tags removed: verification-needed verification-needed-hirsute ** Tags added: verification-done verification-done-hirsute -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1925745 Title: Hirsute: Cannot install ubuntu-desktop due to unmet dependencies Status in apt package in Ubuntu: Fix Released Status in apt source package in Hirsute: Fix Committed Status in apt source package in Impish: Fix Released Bug description: [Impact] Phased upgrades were only applied to already installed packages, so if we had a source package foo building foo-core and foo-extra, and foo-core=1 was installed, and we tried to install foo-extra, it would fail because it would try to install 0% foo-extra=2 while blocking foo-core as it's "not for us". [Test Plan] The autopkgtests ensure we don't regress and they kind of check this by checking the policy output to see that "foo-extra=2" above is also not the candidate, but foo-extra=1 is (so installing it alongside foo-core=1 would work fine) but they don't install it, so it might be nice to verify this too: Find a package that is phased, but not for us (maybe just setting the never-include-phased flag?), install one binary from it from the release pocket, and then try to install another from the updates pocket. At the moment, installing libsystemd-dev would trigger it. [Where problems could occur] This is a change in behavior when installing new packages that might cause regression in image building tools for example, if those don't use a chroot (chroots being detected). Apart from that risk, the change is just removing a flag check inside an if, so not much else. [Original bug report] I'm using the ubuntu-21.04-live-server-amd64 ISO to install my hirsute desktop machines so I can automate the installation. After installation, I'm trying to install the desktop via "apt install ubuntu-desktop". This fails with: "Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ubuntu-release-upgrader-gtk : Depends: ubuntu-release-upgrader-core (= 1:21.04.11) but 1:21.04.10 is to be installed Depends: python3-distupgrade (= 1:21.04.11) but 1:21.04.10 is to be installed E: Unable to correct problems, you have held broken packages." "apt policy ubuntu-release-upgrader-core" shows: "ubuntu-release-upgrader-core: Installed: 1:21.04.10 Candidate: 1:21.04.10 Version table: 1:21.04.11 1 (phased 20%) 500 http://at.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages *** 1:21.04.10 500 500 http://at.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages 100 /var/lib/dpkg/status" I could not find any information what "phased 20%" means. It's obviously a major problem not being able to install the desktop on a fresh installation. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1925745/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp