Comment 9 for bug 1974196

Revision history for this message
vishnunaini (visred) wrote (last edit ):

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@test100:/home/user# 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) ...