We have tested the proposed patched version 2.4.7 against the current
release version 2.4.5 posted at the above launchpad link via bug
reproduction and general package installation process via standard cli
and via python bindings and have no adverse observations.

We have also tested against a package we built from the accepted source
and the upstream salsa.debian.org source

Test environment:
root@test100:/home/sre# lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy

Test Cases for both versions 2.4.5 and 2.4.7:
1. Manual APT Bash CLI
2. SaltStack 3004.2 via APT Python bindings

Current release version 2.4.5:

root@test100:/home/user# apt --version
apt 2.4.5 (amd64)
root@test100:/home/user# dpkg -l | grep apt
ii  apt                               2.4.5                                     
     amd64        commandline package manager
ii  apt-utils                         2.4.5                                     
     amd64        package management related utility programs
ii  libapt-pkg6.0:amd64               2.4.5                                     
     amd64        package management runtime library
ii  libpcap0.8:amd64                  1.10.1-4build1                            
     amd64        system interface for user-level packet capture
ii  python-apt-common                 2.3.0ubuntu2                              
     all          Python interface to libapt-pkg (locales)
ii  python3-apt                       2.3.0ubuntu2                              
     amd64        Python 3 interface to libapt-pkg

root@cor-uefitest100:/home/sre# apt install libudev1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  busybox-initramfs cryptsetup finalrd gir1.2-packagekitglib-1.0 
initramfs-tools-bin klibc-utils libappstream4 libdw1 libglib2.0-bin 
libgstreamer1.0-0 libisns0 libklibc libnetplan0 libopeniscsiusr 
libpackagekit-glib2-18 libplymouth5
  libpolkit-agent-1-0 libpolkit-gobject-1-0 libsgutils2-2 libstemmer0d liburcu8 
libxmlb2 python3-software-properties sg3-utils
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libnetplan0
The following packages will be REMOVED:
  cloud-init cloud-initramfs-copymods cloud-initramfs-dyn-netconf 
cryptsetup-initramfs dbus-user-session friendly-recovery initramfs-tools 
initramfs-tools-core kpartx libnss-systemd libpam-systemd mdadm multipath-tools 
netplan.io open-iscsi
  overlayroot packagekit packagekit-tools pkexec plymouth 
plymouth-theme-ubuntu-text policykit-1 polkitd sg3-utils-udev 
software-properties-common ubuntu-minimal ubuntu-server ubuntu-standard udev
The following packages will be upgraded:
  libnetplan0 libudev1
2 upgraded, 0 newly installed, 29 to remove and 35 not upgraded.
Need to get 166 kB of archives.
After this operation, 22.4 MB disk space will be freed.
Do you want to continue? [Y/n]

Proposed release version 2.4.7:
root@test101:/home/user/apt# apt install ./apt_2.4.7_amd64.deb 
./libapt-pkg6.0_2.4.7_amd64.deb ./apt-utils_2.4.7_amd64.deb

root@test101:/home/user/apt# apt --version
apt 2.4.7 (amd64)

root@test101:/home/user/apt# dpkg -l | grep apt
ii  apt                               2.4.7                                     
     amd64        commandline package manager
ii  apt-utils                         2.4.7                                     
     amd64        package management related utility programs
ii  libapt-pkg6.0:amd64               2.4.7                                     
     amd64        package management runtime library
ii  libpcap0.8:amd64                  1.10.1-4build1                            
     amd64        system interface for user-level packet capture
ii  python-apt-common                 2.3.0ubuntu2                              
     all          Python interface to libapt-pkg (locales)
ii  python3-apt                       2.3.0ubuntu2                              
     amd64        Python 3 interface to libapt-pkg

root@test101:/home/user/apt# apt install libudev1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libnss-systemd libpam-systemd libsystemd0 systemd systemd-sysv udev
Suggested packages:
  systemd-container libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0
The following packages will be upgraded:
  libnss-systemd libpam-systemd libsystemd0 libudev1 systemd systemd-sysv udev
7 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
Need to get 6875 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnss-systemd 
amd64 249.11-0ubuntu3.4 [133 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsystemd0 
amd64 249.11-0ubuntu3.4 [316 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-sysv 
amd64 249.11-0ubuntu3.4 [10.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpam-systemd 
amd64 249.11-0ubuntu3.4 [203 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd amd64 
249.11-0ubuntu3.4 [4580 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 udev amd64 
249.11-0ubuntu3.4 [1557 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libudev1 amd64 
249.11-0ubuntu3.4 [75.9 kB]
Fetched 6875 kB in 4s (1650 kB/s)
(Reading database ... 86936 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_249.11-0ubuntu3.4_amd64.deb ...
Unpacking libnss-systemd:amd64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Preparing to unpack .../libsystemd0_249.11-0ubuntu3.4_amd64.deb ...
Unpacking libsystemd0:amd64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Setting up libsystemd0:amd64 (249.11-0ubuntu3.4) ...
(Reading database ... 86936 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_249.11-0ubuntu3.4_amd64.deb ...
Unpacking systemd-sysv (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Preparing to unpack .../libpam-systemd_249.11-0ubuntu3.4_amd64.deb ...
Unpacking libpam-systemd:amd64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Preparing to unpack .../systemd_249.11-0ubuntu3.4_amd64.deb ...
Unpacking systemd (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Preparing to unpack .../udev_249.11-0ubuntu3.4_amd64.deb ...
Unpacking udev (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Preparing to unpack .../libudev1_249.11-0ubuntu3.4_amd64.deb ...
Unpacking libudev1:amd64 (249.11-0ubuntu3.4) over (249.11-0ubuntu3.3) ...
Setting up libudev1:amd64 (249.11-0ubuntu3.4) ...
Setting up systemd (249.11-0ubuntu3.4) ...



** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
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/1974196

Title:
  Installing libudev1 on a new Jammy installation uninstalls many
  packages.

Status in apt package in Ubuntu:
  In Progress
Status in apt source package in Jammy:
  Fix Committed
Status in apt source package in Kinetic:
  In Progress

Bug description:
  [Impact]
  On an Ubuntu 22.04 desktop system created using the current installation 
image without enabling package updates over the network, installing the package 
libudev1 results in a large number of critical packages being removed and 
rendering the system essentially unusable.

  [Test plan]
  Comprehensive regression test suite validating a full solver dump with the 
issue is run as autopkgtest.

  [Where problems could occur]
  We could break other things from resolving. The solver is a bit finicky. 
Hopefully this is isolated enough.

  [Other info]

  https://github.com/tfoote/udevdebug/blob/main/Dockerfile is a Dockerfile 
which also demonstrates the issue.
  Building the image, which will install udev 249.11-0ubuntu3 and init 1.62, 
and then running `apt install libudev1` in the generated image results in

  The following packages will be REMOVED:
    libnss-systemd libpam-systemd systemd-timesyncd udev
  The following packages will be upgraded:
    libudev1

  This is completely prevented by ensuring that updates are installed
  from the jammy-updates repository before installing any additional
  packages and that is almost certainly the correct thing to do. But
  this is a punishing result for such a mistake.

  I would expect the installation to either force the upgrade of the
  other systemd packages or refuse to install libudev1 at the incorrect
  version relative to the other systemd packages until the system is
  upgraded.

  We found this out via a user report for ROS 2 Humble which is
  releasing on top of Ubuntu 22.04 next week:
  https://github.com/ros2/ros2/issues/1272

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1974196/+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

Reply via email to