I am going to drop this from the 24.04.1 milestone. I don't see a straight forward way that someone would get in this situation by using supported upgrade mechanisms. E.g., I tried:
$ lxc launch ubuntu:bionic bionic $ lxc exec bionic bash # cat > /etc/apt/apt.conf.d/no-recommends.conf << EOF APT::Install-Recommends "false"; APT::Install-Suggests "false"; EOF # do-release-upgrade After upgrading to focal, usrmerge is not installed. Okay. Now upgrade to Jammy: # do-release-upgrade After that, usrmerge is installed during the upgrade despite the no- recommends.conf being in place: # cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy # cat /etc/apt/apt.conf.d/no-recommends.conf APT::Install-Recommends "false"; APT::Install-Suggests "false"; # apt policy usrmerge usrmerge: Installed: 25ubuntu2 Candidate: 25ubuntu2 Version table: *** 25ubuntu2 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status # grep usrmerge /var/log/dist-upgrade/main.log 2024-08-07 20:05:43,302 DEBUG Installing 'usrmerge' (priority in required set 'required' but not scheduled for install) 2024-08-07 20:05:45,782 DEBUG Install: bsdextrautils fuse3 gcc-12-base libbpf0 libcbor0.8 libdns-export1110 libdw1 libevent-core-2.1-7 libffi8 libfuse3-3 libhogweed6 libicu70 libinih1 libjansson4 libjson-c5 libldap-2.5-0 libmd0 libmpdec3 libnettle8 libnftables1 libnl-3-200 libnl-genl-3-200 libnsl2 libntfs-3g89 libopeniscsiusr libperl5.34 libpython3.10 libpython3.10-minimal libpython3.10-stdlib libsemanage2 libsepol2 libsodium23 libsoup2.4-common libssl3 libtirpc-common libtirpc3 liburcu8 libxmlb2 libxxhash0 mailcap media-types ncal nftables perl-modules-5.34 pkexec polkitd python-babel-localedata python3-babel python3-bcrypt python3-jeepney python3-magic python3-pyparsing python3-tz python3.10 python3.10-minimal session-migration tnftp usrmerge zstd 2024-08-07 20:05:46,393 DEBUG toinstall: '['bsdextrautils', 'fuse3', 'gcc-12-base', 'libbpf0', 'libcbor0.8', 'libdns-export1110', 'libdw1', 'libevent-core-2.1-7', 'libffi8', 'libfuse3-3', 'libhogweed6', 'libicu70', 'libinih1', 'libjansson4', 'libjson-c5', 'libldap-2.5-0', 'libmd0', 'libmpdec3', 'libnettle8', 'libnftables1', 'libnl-3-200', 'libnl-genl-3-200', 'libnsl2', 'libntfs-3g89', 'libopeniscsiusr', 'libperl5.34', 'libpython3.10', 'libpython3.10-minimal', 'libpython3.10-stdlib', 'libsemanage2', 'libsepol2', 'libsodium23', 'libsoup2.4-common', 'libssl3', 'libtirpc-common', 'libtirpc3', 'liburcu8', 'libxmlb2', 'libxxhash0', 'mailcap', 'media-types', 'ncal', 'nftables', 'perl-modules-5.34', 'pkexec', 'polkitd', 'python-babel-localedata', 'python3-babel', 'python3-bcrypt', 'python3-jeepney', 'python3-magic', 'python3-pyparsing', 'python3-tz', 'python3.10', 'python3.10-minimal', 'session-migration', 'tnftp', 'usrmerge', 'zstd']' 2024-08-07 20:06:14,730 DEBUG Installing 'usrmerge' (priority in required set 'required' but not scheduled for install) 2024-08-07 20:06:17,203 DEBUG Install: bsdextrautils fuse3 gcc-12-base libbpf0 libcbor0.8 libdns-export1110 libdw1 libevent-core-2.1-7 libffi8 libfuse3-3 libhogweed6 libicu70 libinih1 libjansson4 libjson-c5 libldap-2.5-0 libmd0 libmpdec3 libnettle8 libnftables1 libnl-3-200 libnl-genl-3-200 libnsl2 libntfs-3g89 libopeniscsiusr libperl5.34 libpython3.10 libpython3.10-minimal libpython3.10-stdlib libsemanage2 libsepol2 libsodium23 libsoup2.4-common libssl3 libtirpc-common libtirpc3 liburcu8 libxmlb2 libxxhash0 mailcap media-types ncal nftables perl-modules-5.34 pkexec polkitd python-babel-localedata python3-babel python3-bcrypt python3-jeepney python3-magic python3-pyparsing python3-tz python3.10 python3.10-minimal session-migration tnftp usrmerge zstd Not saying this cannot be SRU'd still in the future, but it does not seem common enough to be prioritized for 24.04.1. ** Changed in: ubuntu-release-upgrader (Ubuntu) Importance: High => Medium ** Changed in: ubuntu-release-upgrader (Ubuntu) Milestone: ubuntu-24.04.1 => None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2058648 Title: Support upgrades from unmerged 22.04 - was: package libc6 2.35-0ubuntu3.6 [modified: usr/share/doc/libc6/NEWS.Debian.gz usr/share/doc/libc6/NEWS.gz usr/share/doc/libc6/README.hesiod.gz usr/share/doc/libc6/changelog.Debian.gz usr/share/lintian/overrides/libc6] failed to install/upgrade: new libc6:amd64 package pre-installation script subprocess returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2058648/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs