0s autopkgtest [14:25:48]: starting date and time: 2025-07-07 14:25:48+0000 0s autopkgtest [14:25:48]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [14:25:48]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.5mm3zqlf/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:systemd --apt-upgrade apport --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=systemd/255.4-1ubuntu8.10 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-21.secgroup --name adt-noble-ppc64el-apport-20250707-142548-juju-7f2275-prod-proposed-migration-environment-2-b18e4c3f-ea99-4897-975e-9bf5486c2c56 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-noble-ppc64el-apport-20250707-142548-juju-7f2275-prod-proposed-migration-environment-2-b18e4c3f-ea99-4897-975e-9bf5486c2c56 from image adt/ubuntu-noble-ppc64el-server-20250707.img (UUID b9a45075-eeb1-400b-9982-7de64727ff8d)... 112s autopkgtest [14:27:40]: testbed dpkg architecture: ppc64el 112s autopkgtest [14:27:40]: testbed apt version: 2.8.3 113s autopkgtest [14:27:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 113s autopkgtest [14:27:41]: testbed release detected to be: None 113s autopkgtest [14:27:41]: updating testbed package index (apt update) 114s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [265 kB] 114s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 114s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 114s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 114s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [62.9 kB] 114s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [11.4 kB] 114s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [60.6 kB] 114s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [27.4 kB] 114s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [106 kB] 114s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [2224 B] 114s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [2880 B] 114s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 114s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [391 kB] 114s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [6116 B] 114s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [1540 B] 114s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 119s Fetched 938 kB in 1s (1403 kB/s) 120s Reading package lists... 121s autopkgtest [14:27:49]: upgrading testbed (apt dist-upgrade and autopurge) 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 121s Starting 2 pkgProblemResolver with broken count: 0 121s Done 121s Entering ResolveByKeep 122s 122s The following packages will be upgraded: 122s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 122s libnss-systemd libpam-systemd libsmartcols1 libssh-4 libsystemd-shared 122s libsystemd0 libudev1 libuuid1 mount systemd systemd-dev systemd-resolved 122s systemd-sysv systemd-timesyncd udev util-linux uuid-runtime 122s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Need to get 12.4 MB of archives. 122s After this operation, 80.9 kB of additional disk space will be used. 122s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el bsdutils ppc64el 1:2.39.3-9ubuntu6.3 [99.5 kB] 122s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el util-linux ppc64el 2.39.3-9ubuntu6.3 [1193 kB] 122s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el mount ppc64el 2.39.3-9ubuntu6.3 [124 kB] 122s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libnss-systemd ppc64el 255.4-1ubuntu8.10 [207 kB] 122s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-dev all 255.4-1ubuntu8.10 [105 kB] 122s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libblkid1 ppc64el 2.39.3-9ubuntu6.3 [155 kB] 122s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-timesyncd ppc64el 255.4-1ubuntu8.10 [37.6 kB] 122s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-resolved ppc64el 255.4-1ubuntu8.10 [345 kB] 122s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsystemd-shared ppc64el 255.4-1ubuntu8.10 [2349 kB] 122s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsystemd0 ppc64el 255.4-1ubuntu8.10 [527 kB] 122s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-sysv ppc64el 255.4-1ubuntu8.10 [11.9 kB] 122s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libpam-systemd ppc64el 255.4-1ubuntu8.10 [304 kB] 122s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd ppc64el 255.4-1ubuntu8.10 [3771 kB] 123s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el udev ppc64el 255.4-1ubuntu8.10 [2036 kB] 123s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libudev1 ppc64el 255.4-1ubuntu8.10 [201 kB] 123s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libmount1 ppc64el 2.39.3-9ubuntu6.3 [167 kB] 123s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libuuid1 ppc64el 2.39.3-9ubuntu6.3 [39.6 kB] 123s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libfdisk1 ppc64el 2.39.3-9ubuntu6.3 [170 kB] 123s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsmartcols1 ppc64el 2.39.3-9ubuntu6.3 [79.0 kB] 123s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el uuid-runtime ppc64el 2.39.3-9ubuntu6.3 [33.8 kB] 123s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el eject ppc64el 2.39.3-9ubuntu6.3 [28.0 kB] 123s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el bsdextrautils ppc64el 2.39.3-9ubuntu6.3 [78.4 kB] 123s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el fdisk ppc64el 2.39.3-9ubuntu6.3 [132 kB] 123s Get:24 http://ftpmaster.internal/ubuntu noble-security/main ppc64el libssh-4 ppc64el 0.10.6-2ubuntu0.1 [232 kB] 123s Fetched 12.4 MB in 1s (12.2 MB/s) 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 123s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu6.3_ppc64el.deb ... 123s Unpacking bsdutils (1:2.39.3-9ubuntu6.3) over (1:2.39.3-9ubuntu6.2) ... 123s Setting up bsdutils (1:2.39.3-9ubuntu6.3) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 123s Preparing to unpack .../util-linux_2.39.3-9ubuntu6.3_ppc64el.deb ... 123s Unpacking util-linux (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 124s Setting up util-linux (2.39.3-9ubuntu6.3) ... 124s fstrim.service is a disabled or a static unit not running, not starting it. 124s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 124s Preparing to unpack .../mount_2.39.3-9ubuntu6.3_ppc64el.deb ... 124s Unpacking mount (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 125s Preparing to unpack .../libnss-systemd_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking libnss-systemd:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../systemd-dev_255.4-1ubuntu8.10_all.deb ... 125s Unpacking systemd-dev (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../libblkid1_2.39.3-9ubuntu6.3_ppc64el.deb ... 125s Unpacking libblkid1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 125s Setting up libblkid1:ppc64el (2.39.3-9ubuntu6.3) ... 125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 125s Preparing to unpack .../systemd-timesyncd_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking systemd-timesyncd (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../systemd-resolved_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking systemd-resolved (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../libsystemd-shared_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking libsystemd-shared:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../libsystemd0_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking libsystemd0:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Setting up libsystemd0:ppc64el (255.4-1ubuntu8.10) ... 125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 125s Preparing to unpack .../systemd-sysv_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking systemd-sysv (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../libpam-systemd_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking libpam-systemd:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../systemd_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking systemd (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 125s Preparing to unpack .../udev_255.4-1ubuntu8.10_ppc64el.deb ... 125s Unpacking udev (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 126s Preparing to unpack .../libudev1_255.4-1ubuntu8.10_ppc64el.deb ... 126s Unpacking libudev1:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 126s Setting up libudev1:ppc64el (255.4-1ubuntu8.10) ... 126s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 126s Preparing to unpack .../libmount1_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking libmount1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Setting up libmount1:ppc64el (2.39.3-9ubuntu6.3) ... 126s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 126s Preparing to unpack .../libuuid1_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking libuuid1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Setting up libuuid1:ppc64el (2.39.3-9ubuntu6.3) ... 126s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 126s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking libfdisk1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking libsmartcols1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Setting up libsmartcols1:ppc64el (2.39.3-9ubuntu6.3) ... 126s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 126s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking uuid-runtime (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Preparing to unpack .../eject_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking eject (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Preparing to unpack .../bsdextrautils_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking bsdextrautils (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Preparing to unpack .../fdisk_2.39.3-9ubuntu6.3_ppc64el.deb ... 126s Unpacking fdisk (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 126s Preparing to unpack .../libssh-4_0.10.6-2ubuntu0.1_ppc64el.deb ... 126s Unpacking libssh-4:ppc64el (0.10.6-2ubuntu0.1) over (0.10.6-2build2) ... 126s Setting up bsdextrautils (2.39.3-9ubuntu6.3) ... 126s Setting up systemd-dev (255.4-1ubuntu8.10) ... 126s Setting up eject (2.39.3-9ubuntu6.3) ... 126s Setting up libsystemd-shared:ppc64el (255.4-1ubuntu8.10) ... 126s Setting up libssh-4:ppc64el (0.10.6-2ubuntu0.1) ... 126s Setting up libfdisk1:ppc64el (2.39.3-9ubuntu6.3) ... 126s Setting up mount (2.39.3-9ubuntu6.3) ... 126s Setting up uuid-runtime (2.39.3-9ubuntu6.3) ... 127s uuidd.service is a disabled or a static unit not running, not starting it. 127s Setting up systemd (255.4-1ubuntu8.10) ... 127s Setting up fdisk (2.39.3-9ubuntu6.3) ... 127s Setting up systemd-timesyncd (255.4-1ubuntu8.10) ... 128s Setting up udev (255.4-1ubuntu8.10) ... 129s Setting up systemd-resolved (255.4-1ubuntu8.10) ... 129s Setting up systemd-sysv (255.4-1ubuntu8.10) ... 129s Setting up libnss-systemd:ppc64el (255.4-1ubuntu8.10) ... 129s Setting up libpam-systemd:ppc64el (255.4-1ubuntu8.10) ... 130s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 130s Processing triggers for man-db (2.12.0-4build2) ... 133s Processing triggers for dbus (1.14.10-4ubuntu4.1) ... 133s Processing triggers for initramfs-tools (0.142ubuntu25.5) ... 133s update-initramfs: Generating /boot/initrd.img-6.8.0-63-generic 142s Reading package lists... 142s Building dependency tree... 142s Reading state information... 142s Starting pkgProblemResolver with broken count: 0 142s Starting 2 pkgProblemResolver with broken count: 0 142s Done 142s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 142s autopkgtest [14:28:10]: rebooting testbed after setup commands that affected boot 184s autopkgtest [14:28:52]: testbed running kernel: Linux 6.8.0-63-generic #66-Ubuntu SMP Fri Jun 13 20:32:24 UTC 2025 186s autopkgtest [14:28:54]: @@@@@@@@@@@@@@@@@@@@ apt-source apport 192s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main apport 2.28.1-0ubuntu3.7 (dsc) [3557 B] 192s Get:2 http://ftpmaster.internal/ubuntu noble-updates/main apport 2.28.1-0ubuntu3.7 (tar) [641 kB] 192s Get:3 http://ftpmaster.internal/ubuntu noble-updates/main apport 2.28.1-0ubuntu3.7 (asc) [833 B] 192s Get:4 http://ftpmaster.internal/ubuntu noble-updates/main apport 2.28.1-0ubuntu3.7 (diff) [204 kB] 192s gpgv: Signature made Wed Jun 4 21:16:19 2025 UTC 192s gpgv: using RSA key 47F22AE7A2754291722BF090F6E140F6DB359E58 192s gpgv: Can't check signature: No public key 192s dpkg-source: warning: cannot verify inline signature for ./apport_2.28.1-0ubuntu3.7.dsc: no acceptable signature found 192s autopkgtest [14:29:00]: testing package apport version 2.28.1-0ubuntu3.7 193s autopkgtest [14:29:01]: build not needed 193s autopkgtest [14:29:01]: test unit-and-integration-tests: preparing testbed 193s Reading package lists... 194s Building dependency tree... 194s Reading state information... 194s Starting pkgProblemResolver with broken count: 0 194s Starting 2 pkgProblemResolver with broken count: 0 194s Done 194s The following NEW packages will be installed: 194s adwaita-icon-theme apport-gtk apport-retrace apport-valgrind at-spi2-common 194s ca-certificates-java cpp cpp-13 cpp-13-powerpc64le-linux-gnu 194s cpp-powerpc64le-linux-gnu dconf-gsettings-backend dconf-service 194s default-jdk-headless default-jre-headless dictionaries-common emacsen-common 194s fontconfig gcc gcc-13 gcc-13-base gcc-13-powerpc64le-linux-gnu 194s gcc-powerpc64le-linux-gnu gdb gir1.2-atk-1.0 gir1.2-freedesktop 194s gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 gir1.2-harfbuzz-0.0 gir1.2-pango-1.0 194s gir1.2-wnck-3.0 gnome-terminal gnome-terminal-data gsettings-desktop-schemas 194s gtk-update-icon-cache hicolor-icon-theme humanity-icon-theme java-common 194s libasan8 libatk-bridge2.0-0t64 libatk1.0-0t64 libatomic1 libatspi2.0-0t64 194s libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 194s libc6-dbg libcairo-gobject2 libcairo2 libcc1-0 libcolord2 libcups2t64 194s libdatrie1 libdconf1 libdebuginfod-common libdebuginfod1t64 libepoxy0 194s libgcc-13-dev libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgomp1 194s libgraphite2-3 libgtk-3-0t64 libgtk-3-common libhandy-1-0 194s libharfbuzz-gobject0 libharfbuzz0b libice6 libisl23 libitm1 liblcms2-2 194s liblsan0 libmpc3 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 194s libpangoxft-1.0-0 libpcsclite1 libpixman-1-0 libquadmath0 libsm6 194s libsource-highlight-common libsource-highlight4t64 libstartup-notification0 194s libthai-data libthai0 libtsan2 libubsan1 libvte-2.91-0 libvte-2.91-common 194s libwayland-client0 libwayland-cursor0 libwayland-egl1 194s libwhoopsie-preferences0 libwhoopsie0 libwnck-3-0 libwnck-3-common 194s libx11-xcb1 libxaw7 libxcb-render0 libxcb-shm0 libxcb-util1 libxcomposite1 194s libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 194s libxrandr2 libxrender1 libxres1 libxt6t64 openjdk-21-jdk-headless 194s openjdk-21-jre-headless python3-iniconfig python3-packaging python3-pluggy 194s python3-psutil python3-pytest python3-zstandard session-migration 194s ubuntu-mono valgrind whoopsie-preferences x11-common xbitmaps xterm 194s 0 upgraded, 129 newly installed, 0 to remove and 0 not upgraded. 194s Need to get 208 MB of archives. 194s After this operation, 634 MB of additional disk space will be used. 194s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libdebuginfod-common all 0.190-1.1ubuntu0.1 [14.6 kB] 194s Get:2 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgdk-pixbuf2.0-common all 2.42.10+dfsg-3ubuntu3.1 [8024 B] 194s Get:3 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgdk-pixbuf-2.0-0 ppc64el 2.42.10+dfsg-3ubuntu3.1 [188 kB] 194s Get:4 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gtk-update-icon-cache ppc64el 3.24.41-4ubuntu1.3 [54.6 kB] 194s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el hicolor-icon-theme all 0.17-2 [9976 B] 194s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el humanity-icon-theme all 0.6.16 [1282 kB] 194s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el ubuntu-mono all 24.04-0ubuntu1 [151 kB] 194s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el adwaita-icon-theme all 46.0-1 [723 kB] 194s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el at-spi2-common all 2.52.0-1build1 [8674 B] 194s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libatk1.0-0t64 ppc64el 2.52.0-1build1 [60.4 kB] 194s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-atk-1.0 ppc64el 2.52.0-1build1 [23.1 kB] 194s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1build1 [336 kB] 194s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-render0 ppc64el 1.15-1ubuntu2 [17.7 kB] 194s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1ubuntu2 [6184 B] 195s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 195s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el libcairo2 ppc64el 1.18.0-3build1 [751 kB] 195s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libcairo-gobject2 ppc64el 1.18.0-3build1 [127 kB] 195s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-freedesktop ppc64el 1.80.1-1 [49.7 kB] 195s Get:19 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gir1.2-gdkpixbuf-2.0 ppc64el 2.42.10+dfsg-3ubuntu3.1 [9492 B] 195s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libgraphite2-3 ppc64el 1.3.14-2build1 [84.6 kB] 195s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libharfbuzz0b ppc64el 8.3.0-2build2 [580 kB] 195s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libharfbuzz-gobject0 ppc64el 8.3.0-2build2 [34.8 kB] 195s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-harfbuzz-0.0 ppc64el 8.3.0-2build2 [44.5 kB] 195s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el fontconfig ppc64el 2.15.0-1.1ubuntu2 [192 kB] 195s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libthai-data all 0.1.29-2build1 [158 kB] 195s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el libdatrie1 ppc64el 0.2.13-3build1 [22.7 kB] 195s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libthai0 ppc64el 0.1.29-2build1 [21.8 kB] 195s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el libpango-1.0-0 ppc64el 1.52.1+ds-1build1 [271 kB] 195s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libpangoft2-1.0-0 ppc64el 1.52.1+ds-1build1 [50.5 kB] 195s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libpangocairo-1.0-0 ppc64el 1.52.1+ds-1build1 [31.1 kB] 195s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el libxft2 ppc64el 2.3.6-1build1 [61.5 kB] 195s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el libpangoxft-1.0-0 ppc64el 1.52.1+ds-1build1 [22.9 kB] 195s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-pango-1.0 ppc64el 1.52.1+ds-1build1 [34.8 kB] 195s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libxi6 ppc64el 2:1.8.1-1build1 [37.9 kB] 195s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libatspi2.0-0t64 ppc64el 2.52.0-1build1 [98.9 kB] 195s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libatk-bridge2.0-0t64 ppc64el 2.52.0-1build1 [77.8 kB] 195s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el liblcms2-2 ppc64el 2.14-2build1 [233 kB] 195s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libcolord2 ppc64el 1.4.7-1build2 [164 kB] 195s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libavahi-common-data ppc64el 0.8-13ubuntu6 [29.7 kB] 195s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libavahi-common3 ppc64el 0.8-13ubuntu6 [26.3 kB] 195s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libavahi-client3 ppc64el 0.8-13ubuntu6 [30.8 kB] 195s Get:42 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libcups2t64 ppc64el 2.4.7-1.2ubuntu7.3 [344 kB] 195s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libepoxy0 ppc64el 1.5.10-1build1 [241 kB] 195s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-client0 ppc64el 1.22.0-2.1build1 [29.9 kB] 195s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-cursor0 ppc64el 1.22.0-2.1build1 [11.5 kB] 195s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-egl1 ppc64el 1.22.0-2.1build1 [5766 B] 195s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcomposite1 ppc64el 1:0.4.5-1build3 [6600 B] 195s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2build1 [11.8 kB] 195s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcursor1 ppc64el 1:1.2.1-1build1 [26.4 kB] 195s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el libxdamage1 ppc64el 1:1.1.6-1build1 [6550 B] 195s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el libxinerama1 ppc64el 2:1.1.4-3build1 [6908 B] 195s Get:52 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2build1 [22.1 kB] 195s Get:53 http://ftpmaster.internal/ubuntu noble/main ppc64el libdconf1 ppc64el 0.40.0-4build2 [44.0 kB] 195s Get:54 http://ftpmaster.internal/ubuntu noble/main ppc64el dconf-service ppc64el 0.40.0-4build2 [31.1 kB] 195s Get:55 http://ftpmaster.internal/ubuntu noble/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4build2 [26.5 kB] 195s Get:56 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgtk-3-common all 3.24.41-4ubuntu1.3 [1426 kB] 195s Get:57 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgtk-3-0t64 ppc64el 3.24.41-4ubuntu1.3 [3347 kB] 195s Get:58 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gir1.2-gtk-3.0 ppc64el 3.24.41-4ubuntu1.3 [245 kB] 195s Get:59 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1build1 [7910 B] 195s Get:60 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-util1 ppc64el 0.4.0-1build3 [11.2 kB] 195s Get:61 http://ftpmaster.internal/ubuntu noble/main ppc64el libstartup-notification0 ppc64el 0.12-6build3 [22.3 kB] 195s Get:62 http://ftpmaster.internal/ubuntu noble/main ppc64el libxres1 ppc64el 2:1.2.1-1build1 [7560 B] 195s Get:63 http://ftpmaster.internal/ubuntu noble/main ppc64el libwnck-3-common all 43.0-3build4 [19.5 kB] 195s Get:64 http://ftpmaster.internal/ubuntu noble/main ppc64el libwnck-3-0 ppc64el 43.0-3build4 [130 kB] 195s Get:65 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-wnck-3.0 ppc64el 43.0-3build4 [10.2 kB] 195s Get:66 http://ftpmaster.internal/ubuntu noble/main ppc64el gnome-terminal-data all 3.52.0-1ubuntu2 [38.5 kB] 195s Get:67 http://ftpmaster.internal/ubuntu noble/main ppc64el session-migration ppc64el 0.3.9build1 [9458 B] 195s Get:68 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gsettings-desktop-schemas all 46.1-0ubuntu1 [35.6 kB] 195s Get:69 http://ftpmaster.internal/ubuntu noble/main ppc64el libhandy-1-0 ppc64el 1.8.3-1build2 [266 kB] 195s Get:70 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libvte-2.91-common ppc64el 0.76.0-1ubuntu0.1 [13.5 kB] 195s Get:71 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libvte-2.91-0 ppc64el 0.76.0-1ubuntu0.1 [263 kB] 195s Get:72 http://ftpmaster.internal/ubuntu noble/main ppc64el gnome-terminal ppc64el 3.52.0-1ubuntu2 [242 kB] 195s Get:73 http://ftpmaster.internal/ubuntu noble/main ppc64el xbitmaps all 1.1.1-2.2 [22.4 kB] 195s Get:74 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 195s Get:75 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build3 [49.1 kB] 196s Get:76 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build3 [17.6 kB] 196s Get:77 http://ftpmaster.internal/ubuntu noble/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 196s Get:78 http://ftpmaster.internal/ubuntu noble/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 196s Get:79 http://ftpmaster.internal/ubuntu noble/main ppc64el libxaw7 ppc64el 2:1.0.14-1build2 [231 kB] 196s Get:80 http://ftpmaster.internal/ubuntu noble/universe ppc64el xterm ppc64el 390-1ubuntu3 [994 kB] 196s Get:81 http://ftpmaster.internal/ubuntu noble/main ppc64el libwhoopsie-preferences0 ppc64el 23build3 [15.3 kB] 196s Get:82 http://ftpmaster.internal/ubuntu noble/main ppc64el libwhoopsie0 ppc64el 0.2.77build3 [11.3 kB] 196s Get:83 http://ftpmaster.internal/ubuntu noble/main ppc64el whoopsie-preferences ppc64el 23build3 [9014 B] 196s Get:84 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el apport-gtk all 2.28.1-0ubuntu3.7 [9750 B] 196s Get:85 http://ftpmaster.internal/ubuntu noble/main ppc64el libbabeltrace1 ppc64el 1.5.11-3build3 [209 kB] 196s Get:86 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libdebuginfod1t64 ppc64el 0.190-1.1ubuntu0.1 [18.4 kB] 196s Get:87 http://ftpmaster.internal/ubuntu noble/main ppc64el libsource-highlight-common all 3.1.9-4.3build1 [64.2 kB] 196s Get:88 http://ftpmaster.internal/ubuntu noble/main ppc64el libsource-highlight4t64 ppc64el 3.1.9-4.3build1 [288 kB] 196s Get:89 http://ftpmaster.internal/ubuntu noble/main ppc64el gdb ppc64el 15.0.50.20240403-0ubuntu1 [5088 kB] 196s Get:90 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libc6-dbg ppc64el 2.39-0ubuntu8.4 [8217 kB] 196s Get:91 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el apport-retrace all 2.28.1-0ubuntu3.7 [14.4 kB] 196s Get:92 http://ftpmaster.internal/ubuntu noble/main ppc64el valgrind ppc64el 1:3.22.0-0ubuntu3 [10.3 MB] 197s Get:93 http://ftpmaster.internal/ubuntu noble-updates/universe ppc64el apport-valgrind all 2.28.1-0ubuntu3.7 [5230 B] 197s Get:94 http://ftpmaster.internal/ubuntu noble/main ppc64el ca-certificates-java all 20240118 [11.6 kB] 197s Get:95 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gcc-13-base ppc64el 13.3.0-6ubuntu2~24.04 [51.5 kB] 197s Get:96 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libisl23 ppc64el 0.26-3build1.1 [875 kB] 197s Get:97 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libmpc3 ppc64el 1.3.1-1build1.1 [61.7 kB] 197s Get:98 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.3.0-6ubuntu2~24.04 [9753 kB] 197s Get:99 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el cpp-13 ppc64el 13.3.0-6ubuntu2~24.04 [1044 B] 197s Get:100 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 197s Get:101 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 197s Get:102 http://ftpmaster.internal/ubuntu noble/main ppc64el java-common all 0.75+exp1 [6798 B] 197s Get:103 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcsclite1 ppc64el 2.0.3-1build1 [28.7 kB] 197s Get:104 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el openjdk-21-jre-headless ppc64el 21.0.7+6~us1-0ubuntu1~24.04 [45.7 MB] 198s Get:105 http://ftpmaster.internal/ubuntu noble/main ppc64el default-jre-headless ppc64el 2:1.21-75+exp1 [3102 B] 198s Get:106 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el openjdk-21-jdk-headless ppc64el 21.0.7+6~us1-0ubuntu1~24.04 [82.0 MB] 200s Get:107 http://ftpmaster.internal/ubuntu noble/main ppc64el default-jdk-headless ppc64el 2:1.21-75+exp1 [968 B] 200s Get:108 http://ftpmaster.internal/ubuntu noble/main ppc64el emacsen-common all 3.0.5 [12.1 kB] 200s Get:109 http://ftpmaster.internal/ubuntu noble/main ppc64el dictionaries-common all 1.29.7 [188 kB] 200s Get:110 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libcc1-0 ppc64el 14.2.0-4ubuntu2~24.04 [48.3 kB] 200s Get:111 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgomp1 ppc64el 14.2.0-4ubuntu2~24.04 [161 kB] 200s Get:112 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libitm1 ppc64el 14.2.0-4ubuntu2~24.04 [32.2 kB] 200s Get:113 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libatomic1 ppc64el 14.2.0-4ubuntu2~24.04 [10.8 kB] 200s Get:114 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libasan8 ppc64el 14.2.0-4ubuntu2~24.04 [2970 kB] 200s Get:115 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el liblsan0 ppc64el 14.2.0-4ubuntu2~24.04 [1328 kB] 200s Get:116 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libtsan2 ppc64el 14.2.0-4ubuntu2~24.04 [2702 kB] 200s Get:117 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libubsan1 ppc64el 14.2.0-4ubuntu2~24.04 [1196 kB] 200s Get:118 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libquadmath0 ppc64el 14.2.0-4ubuntu2~24.04 [158 kB] 200s Get:119 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgcc-13-dev ppc64el 13.3.0-6ubuntu2~24.04 [1580 kB] 200s Get:120 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.3.0-6ubuntu2~24.04 [19.1 MB] 201s Get:121 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gcc-13 ppc64el 13.3.0-6ubuntu2~24.04 [494 kB] 201s Get:122 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 201s Get:123 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 201s Get:124 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 201s Get:125 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 201s Get:126 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 201s Get:127 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-psutil ppc64el 5.9.8-2build2 [197 kB] 201s Get:128 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 201s Get:129 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-zstandard ppc64el 0.22.0-1build1 [452 kB] 201s Preconfiguring packages ... 201s Fetched 208 MB in 6s (32.1 MB/s) 201s Selecting previously unselected package libdebuginfod-common. 202s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 202s Preparing to unpack .../000-libdebuginfod-common_0.190-1.1ubuntu0.1_all.deb ... 202s Unpacking libdebuginfod-common (0.190-1.1ubuntu0.1) ... 202s Selecting previously unselected package libgdk-pixbuf2.0-common. 202s Preparing to unpack .../001-libgdk-pixbuf2.0-common_2.42.10+dfsg-3ubuntu3.1_all.deb ... 202s Unpacking libgdk-pixbuf2.0-common (2.42.10+dfsg-3ubuntu3.1) ... 202s Selecting previously unselected package libgdk-pixbuf-2.0-0:ppc64el. 202s Preparing to unpack .../002-libgdk-pixbuf-2.0-0_2.42.10+dfsg-3ubuntu3.1_ppc64el.deb ... 202s Unpacking libgdk-pixbuf-2.0-0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 202s Selecting previously unselected package gtk-update-icon-cache. 202s Preparing to unpack .../003-gtk-update-icon-cache_3.24.41-4ubuntu1.3_ppc64el.deb ... 202s Unpacking gtk-update-icon-cache (3.24.41-4ubuntu1.3) ... 202s Selecting previously unselected package hicolor-icon-theme. 202s Preparing to unpack .../004-hicolor-icon-theme_0.17-2_all.deb ... 202s Unpacking hicolor-icon-theme (0.17-2) ... 202s Selecting previously unselected package humanity-icon-theme. 202s Preparing to unpack .../005-humanity-icon-theme_0.6.16_all.deb ... 202s Unpacking humanity-icon-theme (0.6.16) ... 203s Selecting previously unselected package ubuntu-mono. 203s Preparing to unpack .../006-ubuntu-mono_24.04-0ubuntu1_all.deb ... 203s Unpacking ubuntu-mono (24.04-0ubuntu1) ... 203s Selecting previously unselected package adwaita-icon-theme. 203s Preparing to unpack .../007-adwaita-icon-theme_46.0-1_all.deb ... 203s Unpacking adwaita-icon-theme (46.0-1) ... 204s Selecting previously unselected package at-spi2-common. 204s Preparing to unpack .../008-at-spi2-common_2.52.0-1build1_all.deb ... 204s Unpacking at-spi2-common (2.52.0-1build1) ... 204s Selecting previously unselected package libatk1.0-0t64:ppc64el. 204s Preparing to unpack .../009-libatk1.0-0t64_2.52.0-1build1_ppc64el.deb ... 204s Unpacking libatk1.0-0t64:ppc64el (2.52.0-1build1) ... 204s Selecting previously unselected package gir1.2-atk-1.0:ppc64el. 204s Preparing to unpack .../010-gir1.2-atk-1.0_2.52.0-1build1_ppc64el.deb ... 204s Unpacking gir1.2-atk-1.0:ppc64el (2.52.0-1build1) ... 204s Selecting previously unselected package libpixman-1-0:ppc64el. 204s Preparing to unpack .../011-libpixman-1-0_0.42.2-1build1_ppc64el.deb ... 204s Unpacking libpixman-1-0:ppc64el (0.42.2-1build1) ... 204s Selecting previously unselected package libxcb-render0:ppc64el. 204s Preparing to unpack .../012-libxcb-render0_1.15-1ubuntu2_ppc64el.deb ... 204s Unpacking libxcb-render0:ppc64el (1.15-1ubuntu2) ... 204s Selecting previously unselected package libxcb-shm0:ppc64el. 204s Preparing to unpack .../013-libxcb-shm0_1.15-1ubuntu2_ppc64el.deb ... 204s Unpacking libxcb-shm0:ppc64el (1.15-1ubuntu2) ... 204s Selecting previously unselected package libxrender1:ppc64el. 204s Preparing to unpack .../014-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 204s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 204s Selecting previously unselected package libcairo2:ppc64el. 204s Preparing to unpack .../015-libcairo2_1.18.0-3build1_ppc64el.deb ... 204s Unpacking libcairo2:ppc64el (1.18.0-3build1) ... 204s Selecting previously unselected package libcairo-gobject2:ppc64el. 204s Preparing to unpack .../016-libcairo-gobject2_1.18.0-3build1_ppc64el.deb ... 204s Unpacking libcairo-gobject2:ppc64el (1.18.0-3build1) ... 204s Selecting previously unselected package gir1.2-freedesktop:ppc64el. 204s Preparing to unpack .../017-gir1.2-freedesktop_1.80.1-1_ppc64el.deb ... 204s Unpacking gir1.2-freedesktop:ppc64el (1.80.1-1) ... 204s Selecting previously unselected package gir1.2-gdkpixbuf-2.0:ppc64el. 204s Preparing to unpack .../018-gir1.2-gdkpixbuf-2.0_2.42.10+dfsg-3ubuntu3.1_ppc64el.deb ... 204s Unpacking gir1.2-gdkpixbuf-2.0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 204s Selecting previously unselected package libgraphite2-3:ppc64el. 204s Preparing to unpack .../019-libgraphite2-3_1.3.14-2build1_ppc64el.deb ... 204s Unpacking libgraphite2-3:ppc64el (1.3.14-2build1) ... 204s Selecting previously unselected package libharfbuzz0b:ppc64el. 204s Preparing to unpack .../020-libharfbuzz0b_8.3.0-2build2_ppc64el.deb ... 204s Unpacking libharfbuzz0b:ppc64el (8.3.0-2build2) ... 204s Selecting previously unselected package libharfbuzz-gobject0:ppc64el. 204s Preparing to unpack .../021-libharfbuzz-gobject0_8.3.0-2build2_ppc64el.deb ... 204s Unpacking libharfbuzz-gobject0:ppc64el (8.3.0-2build2) ... 204s Selecting previously unselected package gir1.2-harfbuzz-0.0:ppc64el. 204s Preparing to unpack .../022-gir1.2-harfbuzz-0.0_8.3.0-2build2_ppc64el.deb ... 204s Unpacking gir1.2-harfbuzz-0.0:ppc64el (8.3.0-2build2) ... 204s Selecting previously unselected package fontconfig. 204s Preparing to unpack .../023-fontconfig_2.15.0-1.1ubuntu2_ppc64el.deb ... 204s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 204s Selecting previously unselected package libthai-data. 204s Preparing to unpack .../024-libthai-data_0.1.29-2build1_all.deb ... 204s Unpacking libthai-data (0.1.29-2build1) ... 204s Selecting previously unselected package libdatrie1:ppc64el. 204s Preparing to unpack .../025-libdatrie1_0.2.13-3build1_ppc64el.deb ... 204s Unpacking libdatrie1:ppc64el (0.2.13-3build1) ... 204s Selecting previously unselected package libthai0:ppc64el. 204s Preparing to unpack .../026-libthai0_0.1.29-2build1_ppc64el.deb ... 204s Unpacking libthai0:ppc64el (0.1.29-2build1) ... 204s Selecting previously unselected package libpango-1.0-0:ppc64el. 204s Preparing to unpack .../027-libpango-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 204s Unpacking libpango-1.0-0:ppc64el (1.52.1+ds-1build1) ... 204s Selecting previously unselected package libpangoft2-1.0-0:ppc64el. 204s Preparing to unpack .../028-libpangoft2-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 204s Unpacking libpangoft2-1.0-0:ppc64el (1.52.1+ds-1build1) ... 204s Selecting previously unselected package libpangocairo-1.0-0:ppc64el. 204s Preparing to unpack .../029-libpangocairo-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 204s Unpacking libpangocairo-1.0-0:ppc64el (1.52.1+ds-1build1) ... 204s Selecting previously unselected package libxft2:ppc64el. 204s Preparing to unpack .../030-libxft2_2.3.6-1build1_ppc64el.deb ... 204s Unpacking libxft2:ppc64el (2.3.6-1build1) ... 204s Selecting previously unselected package libpangoxft-1.0-0:ppc64el. 204s Preparing to unpack .../031-libpangoxft-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 204s Unpacking libpangoxft-1.0-0:ppc64el (1.52.1+ds-1build1) ... 204s Selecting previously unselected package gir1.2-pango-1.0:ppc64el. 204s Preparing to unpack .../032-gir1.2-pango-1.0_1.52.1+ds-1build1_ppc64el.deb ... 204s Unpacking gir1.2-pango-1.0:ppc64el (1.52.1+ds-1build1) ... 204s Selecting previously unselected package libxi6:ppc64el. 204s Preparing to unpack .../033-libxi6_2%3a1.8.1-1build1_ppc64el.deb ... 204s Unpacking libxi6:ppc64el (2:1.8.1-1build1) ... 204s Selecting previously unselected package libatspi2.0-0t64:ppc64el. 204s Preparing to unpack .../034-libatspi2.0-0t64_2.52.0-1build1_ppc64el.deb ... 204s Unpacking libatspi2.0-0t64:ppc64el (2.52.0-1build1) ... 204s Selecting previously unselected package libatk-bridge2.0-0t64:ppc64el. 204s Preparing to unpack .../035-libatk-bridge2.0-0t64_2.52.0-1build1_ppc64el.deb ... 204s Unpacking libatk-bridge2.0-0t64:ppc64el (2.52.0-1build1) ... 204s Selecting previously unselected package liblcms2-2:ppc64el. 204s Preparing to unpack .../036-liblcms2-2_2.14-2build1_ppc64el.deb ... 204s Unpacking liblcms2-2:ppc64el (2.14-2build1) ... 204s Selecting previously unselected package libcolord2:ppc64el. 204s Preparing to unpack .../037-libcolord2_1.4.7-1build2_ppc64el.deb ... 204s Unpacking libcolord2:ppc64el (1.4.7-1build2) ... 204s Selecting previously unselected package libavahi-common-data:ppc64el. 204s Preparing to unpack .../038-libavahi-common-data_0.8-13ubuntu6_ppc64el.deb ... 204s Unpacking libavahi-common-data:ppc64el (0.8-13ubuntu6) ... 204s Selecting previously unselected package libavahi-common3:ppc64el. 204s Preparing to unpack .../039-libavahi-common3_0.8-13ubuntu6_ppc64el.deb ... 204s Unpacking libavahi-common3:ppc64el (0.8-13ubuntu6) ... 204s Selecting previously unselected package libavahi-client3:ppc64el. 204s Preparing to unpack .../040-libavahi-client3_0.8-13ubuntu6_ppc64el.deb ... 204s Unpacking libavahi-client3:ppc64el (0.8-13ubuntu6) ... 204s Selecting previously unselected package libcups2t64:ppc64el. 204s Preparing to unpack .../041-libcups2t64_2.4.7-1.2ubuntu7.3_ppc64el.deb ... 204s Unpacking libcups2t64:ppc64el (2.4.7-1.2ubuntu7.3) ... 204s Selecting previously unselected package libepoxy0:ppc64el. 204s Preparing to unpack .../042-libepoxy0_1.5.10-1build1_ppc64el.deb ... 204s Unpacking libepoxy0:ppc64el (1.5.10-1build1) ... 204s Selecting previously unselected package libwayland-client0:ppc64el. 204s Preparing to unpack .../043-libwayland-client0_1.22.0-2.1build1_ppc64el.deb ... 204s Unpacking libwayland-client0:ppc64el (1.22.0-2.1build1) ... 204s Selecting previously unselected package libwayland-cursor0:ppc64el. 204s Preparing to unpack .../044-libwayland-cursor0_1.22.0-2.1build1_ppc64el.deb ... 204s Unpacking libwayland-cursor0:ppc64el (1.22.0-2.1build1) ... 204s Selecting previously unselected package libwayland-egl1:ppc64el. 204s Preparing to unpack .../045-libwayland-egl1_1.22.0-2.1build1_ppc64el.deb ... 204s Unpacking libwayland-egl1:ppc64el (1.22.0-2.1build1) ... 204s Selecting previously unselected package libxcomposite1:ppc64el. 204s Preparing to unpack .../046-libxcomposite1_1%3a0.4.5-1build3_ppc64el.deb ... 204s Unpacking libxcomposite1:ppc64el (1:0.4.5-1build3) ... 204s Selecting previously unselected package libxfixes3:ppc64el. 204s Preparing to unpack .../047-libxfixes3_1%3a6.0.0-2build1_ppc64el.deb ... 204s Unpacking libxfixes3:ppc64el (1:6.0.0-2build1) ... 204s Selecting previously unselected package libxcursor1:ppc64el. 204s Preparing to unpack .../048-libxcursor1_1%3a1.2.1-1build1_ppc64el.deb ... 204s Unpacking libxcursor1:ppc64el (1:1.2.1-1build1) ... 204s Selecting previously unselected package libxdamage1:ppc64el. 204s Preparing to unpack .../049-libxdamage1_1%3a1.1.6-1build1_ppc64el.deb ... 204s Unpacking libxdamage1:ppc64el (1:1.1.6-1build1) ... 204s Selecting previously unselected package libxinerama1:ppc64el. 204s Preparing to unpack .../050-libxinerama1_2%3a1.1.4-3build1_ppc64el.deb ... 204s Unpacking libxinerama1:ppc64el (2:1.1.4-3build1) ... 204s Selecting previously unselected package libxrandr2:ppc64el. 204s Preparing to unpack .../051-libxrandr2_2%3a1.5.2-2build1_ppc64el.deb ... 204s Unpacking libxrandr2:ppc64el (2:1.5.2-2build1) ... 204s Selecting previously unselected package libdconf1:ppc64el. 204s Preparing to unpack .../052-libdconf1_0.40.0-4build2_ppc64el.deb ... 204s Unpacking libdconf1:ppc64el (0.40.0-4build2) ... 204s Selecting previously unselected package dconf-service. 204s Preparing to unpack .../053-dconf-service_0.40.0-4build2_ppc64el.deb ... 204s Unpacking dconf-service (0.40.0-4build2) ... 204s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 204s Preparing to unpack .../054-dconf-gsettings-backend_0.40.0-4build2_ppc64el.deb ... 204s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 204s Selecting previously unselected package libgtk-3-common. 204s Preparing to unpack .../055-libgtk-3-common_3.24.41-4ubuntu1.3_all.deb ... 204s Unpacking libgtk-3-common (3.24.41-4ubuntu1.3) ... 204s Selecting previously unselected package libgtk-3-0t64:ppc64el. 204s Preparing to unpack .../056-libgtk-3-0t64_3.24.41-4ubuntu1.3_ppc64el.deb ... 204s Unpacking libgtk-3-0t64:ppc64el (3.24.41-4ubuntu1.3) ... 205s Selecting previously unselected package gir1.2-gtk-3.0:ppc64el. 205s Preparing to unpack .../057-gir1.2-gtk-3.0_3.24.41-4ubuntu1.3_ppc64el.deb ... 205s Unpacking gir1.2-gtk-3.0:ppc64el (3.24.41-4ubuntu1.3) ... 205s Selecting previously unselected package libx11-xcb1:ppc64el. 205s Preparing to unpack .../058-libx11-xcb1_2%3a1.8.7-1build1_ppc64el.deb ... 205s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1build1) ... 205s Selecting previously unselected package libxcb-util1:ppc64el. 205s Preparing to unpack .../059-libxcb-util1_0.4.0-1build3_ppc64el.deb ... 205s Unpacking libxcb-util1:ppc64el (0.4.0-1build3) ... 205s Selecting previously unselected package libstartup-notification0:ppc64el. 205s Preparing to unpack .../060-libstartup-notification0_0.12-6build3_ppc64el.deb ... 205s Unpacking libstartup-notification0:ppc64el (0.12-6build3) ... 205s Selecting previously unselected package libxres1:ppc64el. 205s Preparing to unpack .../061-libxres1_2%3a1.2.1-1build1_ppc64el.deb ... 205s Unpacking libxres1:ppc64el (2:1.2.1-1build1) ... 205s Selecting previously unselected package libwnck-3-common. 205s Preparing to unpack .../062-libwnck-3-common_43.0-3build4_all.deb ... 205s Unpacking libwnck-3-common (43.0-3build4) ... 205s Selecting previously unselected package libwnck-3-0:ppc64el. 205s Preparing to unpack .../063-libwnck-3-0_43.0-3build4_ppc64el.deb ... 205s Unpacking libwnck-3-0:ppc64el (43.0-3build4) ... 205s Selecting previously unselected package gir1.2-wnck-3.0:ppc64el. 205s Preparing to unpack .../064-gir1.2-wnck-3.0_43.0-3build4_ppc64el.deb ... 205s Unpacking gir1.2-wnck-3.0:ppc64el (43.0-3build4) ... 205s Selecting previously unselected package gnome-terminal-data. 205s Preparing to unpack .../065-gnome-terminal-data_3.52.0-1ubuntu2_all.deb ... 205s Unpacking gnome-terminal-data (3.52.0-1ubuntu2) ... 205s Selecting previously unselected package session-migration. 205s Preparing to unpack .../066-session-migration_0.3.9build1_ppc64el.deb ... 205s Unpacking session-migration (0.3.9build1) ... 205s Selecting previously unselected package gsettings-desktop-schemas. 205s Preparing to unpack .../067-gsettings-desktop-schemas_46.1-0ubuntu1_all.deb ... 205s Unpacking gsettings-desktop-schemas (46.1-0ubuntu1) ... 205s Selecting previously unselected package libhandy-1-0:ppc64el. 205s Preparing to unpack .../068-libhandy-1-0_1.8.3-1build2_ppc64el.deb ... 205s Unpacking libhandy-1-0:ppc64el (1.8.3-1build2) ... 205s Selecting previously unselected package libvte-2.91-common. 205s Preparing to unpack .../069-libvte-2.91-common_0.76.0-1ubuntu0.1_ppc64el.deb ... 205s Unpacking libvte-2.91-common (0.76.0-1ubuntu0.1) ... 205s Selecting previously unselected package libvte-2.91-0:ppc64el. 205s Preparing to unpack .../070-libvte-2.91-0_0.76.0-1ubuntu0.1_ppc64el.deb ... 205s Unpacking libvte-2.91-0:ppc64el (0.76.0-1ubuntu0.1) ... 205s Selecting previously unselected package gnome-terminal. 205s Preparing to unpack .../071-gnome-terminal_3.52.0-1ubuntu2_ppc64el.deb ... 205s Unpacking gnome-terminal (3.52.0-1ubuntu2) ... 205s Selecting previously unselected package xbitmaps. 205s Preparing to unpack .../072-xbitmaps_1.1.1-2.2_all.deb ... 205s Unpacking xbitmaps (1.1.1-2.2) ... 205s Selecting previously unselected package x11-common. 205s Preparing to unpack .../073-x11-common_1%3a7.7+23ubuntu3_all.deb ... 205s Unpacking x11-common (1:7.7+23ubuntu3) ... 205s Selecting previously unselected package libice6:ppc64el. 205s Preparing to unpack .../074-libice6_2%3a1.0.10-1build3_ppc64el.deb ... 205s Unpacking libice6:ppc64el (2:1.0.10-1build3) ... 205s Selecting previously unselected package libsm6:ppc64el. 205s Preparing to unpack .../075-libsm6_2%3a1.2.3-1build3_ppc64el.deb ... 205s Unpacking libsm6:ppc64el (2:1.2.3-1build3) ... 205s Selecting previously unselected package libxt6t64:ppc64el. 205s Preparing to unpack .../076-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 205s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 205s Selecting previously unselected package libxmu6:ppc64el. 205s Preparing to unpack .../077-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 205s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 205s Selecting previously unselected package libxaw7:ppc64el. 205s Preparing to unpack .../078-libxaw7_2%3a1.0.14-1build2_ppc64el.deb ... 205s Unpacking libxaw7:ppc64el (2:1.0.14-1build2) ... 205s Selecting previously unselected package xterm. 205s Preparing to unpack .../079-xterm_390-1ubuntu3_ppc64el.deb ... 205s Unpacking xterm (390-1ubuntu3) ... 205s Selecting previously unselected package libwhoopsie-preferences0. 205s Preparing to unpack .../080-libwhoopsie-preferences0_23build3_ppc64el.deb ... 205s Unpacking libwhoopsie-preferences0 (23build3) ... 205s Selecting previously unselected package libwhoopsie0:ppc64el. 205s Preparing to unpack .../081-libwhoopsie0_0.2.77build3_ppc64el.deb ... 205s Unpacking libwhoopsie0:ppc64el (0.2.77build3) ... 205s Selecting previously unselected package whoopsie-preferences. 205s Preparing to unpack .../082-whoopsie-preferences_23build3_ppc64el.deb ... 205s Unpacking whoopsie-preferences (23build3) ... 205s Selecting previously unselected package apport-gtk. 205s Preparing to unpack .../083-apport-gtk_2.28.1-0ubuntu3.7_all.deb ... 205s Unpacking apport-gtk (2.28.1-0ubuntu3.7) ... 205s Selecting previously unselected package libbabeltrace1:ppc64el. 205s Preparing to unpack .../084-libbabeltrace1_1.5.11-3build3_ppc64el.deb ... 205s Unpacking libbabeltrace1:ppc64el (1.5.11-3build3) ... 205s Selecting previously unselected package libdebuginfod1t64:ppc64el. 205s Preparing to unpack .../085-libdebuginfod1t64_0.190-1.1ubuntu0.1_ppc64el.deb ... 205s Unpacking libdebuginfod1t64:ppc64el (0.190-1.1ubuntu0.1) ... 205s Selecting previously unselected package libsource-highlight-common. 205s Preparing to unpack .../086-libsource-highlight-common_3.1.9-4.3build1_all.deb ... 205s Unpacking libsource-highlight-common (3.1.9-4.3build1) ... 205s Selecting previously unselected package libsource-highlight4t64:ppc64el. 205s Preparing to unpack .../087-libsource-highlight4t64_3.1.9-4.3build1_ppc64el.deb ... 205s Unpacking libsource-highlight4t64:ppc64el (3.1.9-4.3build1) ... 205s Selecting previously unselected package gdb. 205s Preparing to unpack .../088-gdb_15.0.50.20240403-0ubuntu1_ppc64el.deb ... 205s Unpacking gdb (15.0.50.20240403-0ubuntu1) ... 205s Selecting previously unselected package libc6-dbg:ppc64el. 205s Preparing to unpack .../089-libc6-dbg_2.39-0ubuntu8.4_ppc64el.deb ... 205s Unpacking libc6-dbg:ppc64el (2.39-0ubuntu8.4) ... 205s Selecting previously unselected package apport-retrace. 205s Preparing to unpack .../090-apport-retrace_2.28.1-0ubuntu3.7_all.deb ... 205s Unpacking apport-retrace (2.28.1-0ubuntu3.7) ... 205s Selecting previously unselected package valgrind. 205s Preparing to unpack .../091-valgrind_1%3a3.22.0-0ubuntu3_ppc64el.deb ... 205s Unpacking valgrind (1:3.22.0-0ubuntu3) ... 206s Selecting previously unselected package apport-valgrind. 206s Preparing to unpack .../092-apport-valgrind_2.28.1-0ubuntu3.7_all.deb ... 206s Unpacking apport-valgrind (2.28.1-0ubuntu3.7) ... 206s Selecting previously unselected package ca-certificates-java. 206s Preparing to unpack .../093-ca-certificates-java_20240118_all.deb ... 206s Unpacking ca-certificates-java (20240118) ... 206s Selecting previously unselected package gcc-13-base:ppc64el. 206s Preparing to unpack .../094-gcc-13-base_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 206s Unpacking gcc-13-base:ppc64el (13.3.0-6ubuntu2~24.04) ... 206s Selecting previously unselected package libisl23:ppc64el. 206s Preparing to unpack .../095-libisl23_0.26-3build1.1_ppc64el.deb ... 206s Unpacking libisl23:ppc64el (0.26-3build1.1) ... 206s Selecting previously unselected package libmpc3:ppc64el. 206s Preparing to unpack .../096-libmpc3_1.3.1-1build1.1_ppc64el.deb ... 206s Unpacking libmpc3:ppc64el (1.3.1-1build1.1) ... 206s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 206s Preparing to unpack .../097-cpp-13-powerpc64le-linux-gnu_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 206s Unpacking cpp-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 206s Selecting previously unselected package cpp-13. 206s Preparing to unpack .../098-cpp-13_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 206s Unpacking cpp-13 (13.3.0-6ubuntu2~24.04) ... 206s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 206s Preparing to unpack .../099-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 206s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 206s Selecting previously unselected package cpp. 206s Preparing to unpack .../100-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 206s Unpacking cpp (4:13.2.0-7ubuntu1) ... 206s Selecting previously unselected package java-common. 206s Preparing to unpack .../101-java-common_0.75+exp1_all.deb ... 206s Unpacking java-common (0.75+exp1) ... 206s Selecting previously unselected package libpcsclite1:ppc64el. 206s Preparing to unpack .../102-libpcsclite1_2.0.3-1build1_ppc64el.deb ... 206s Unpacking libpcsclite1:ppc64el (2.0.3-1build1) ... 206s Selecting previously unselected package openjdk-21-jre-headless:ppc64el. 206s Preparing to unpack .../103-openjdk-21-jre-headless_21.0.7+6~us1-0ubuntu1~24.04_ppc64el.deb ... 206s Unpacking openjdk-21-jre-headless:ppc64el (21.0.7+6~us1-0ubuntu1~24.04) ... 207s Selecting previously unselected package default-jre-headless. 207s Preparing to unpack .../104-default-jre-headless_2%3a1.21-75+exp1_ppc64el.deb ... 207s Unpacking default-jre-headless (2:1.21-75+exp1) ... 207s Selecting previously unselected package openjdk-21-jdk-headless:ppc64el. 207s Preparing to unpack .../105-openjdk-21-jdk-headless_21.0.7+6~us1-0ubuntu1~24.04_ppc64el.deb ... 207s Unpacking openjdk-21-jdk-headless:ppc64el (21.0.7+6~us1-0ubuntu1~24.04) ... 207s Selecting previously unselected package default-jdk-headless. 207s Preparing to unpack .../106-default-jdk-headless_2%3a1.21-75+exp1_ppc64el.deb ... 207s Unpacking default-jdk-headless (2:1.21-75+exp1) ... 207s Selecting previously unselected package emacsen-common. 207s Preparing to unpack .../107-emacsen-common_3.0.5_all.deb ... 207s Unpacking emacsen-common (3.0.5) ... 208s Selecting previously unselected package dictionaries-common. 208s Preparing to unpack .../108-dictionaries-common_1.29.7_all.deb ... 208s Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' 208s Unpacking dictionaries-common (1.29.7) ... 208s Selecting previously unselected package libcc1-0:ppc64el. 208s Preparing to unpack .../109-libcc1-0_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libcc1-0:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libgomp1:ppc64el. 208s Preparing to unpack .../110-libgomp1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libgomp1:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libitm1:ppc64el. 208s Preparing to unpack .../111-libitm1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libitm1:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libatomic1:ppc64el. 208s Preparing to unpack .../112-libatomic1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libatomic1:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libasan8:ppc64el. 208s Preparing to unpack .../113-libasan8_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libasan8:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package liblsan0:ppc64el. 208s Preparing to unpack .../114-liblsan0_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking liblsan0:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libtsan2:ppc64el. 208s Preparing to unpack .../115-libtsan2_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libtsan2:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libubsan1:ppc64el. 208s Preparing to unpack .../116-libubsan1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libubsan1:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libquadmath0:ppc64el. 208s Preparing to unpack .../117-libquadmath0_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libquadmath0:ppc64el (14.2.0-4ubuntu2~24.04) ... 208s Selecting previously unselected package libgcc-13-dev:ppc64el. 208s Preparing to unpack .../118-libgcc-13-dev_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 208s Unpacking libgcc-13-dev:ppc64el (13.3.0-6ubuntu2~24.04) ... 208s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 208s Preparing to unpack .../119-gcc-13-powerpc64le-linux-gnu_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 208s Unpacking gcc-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 208s Selecting previously unselected package gcc-13. 208s Preparing to unpack .../120-gcc-13_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 208s Unpacking gcc-13 (13.3.0-6ubuntu2~24.04) ... 208s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 208s Preparing to unpack .../121-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 208s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 208s Selecting previously unselected package gcc. 208s Preparing to unpack .../122-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 208s Unpacking gcc (4:13.2.0-7ubuntu1) ... 208s Selecting previously unselected package python3-iniconfig. 208s Preparing to unpack .../123-python3-iniconfig_1.1.1-2_all.deb ... 208s Unpacking python3-iniconfig (1.1.1-2) ... 208s Selecting previously unselected package python3-packaging. 208s Preparing to unpack .../124-python3-packaging_24.0-1_all.deb ... 208s Unpacking python3-packaging (24.0-1) ... 208s Selecting previously unselected package python3-pluggy. 208s Preparing to unpack .../125-python3-pluggy_1.4.0-1_all.deb ... 208s Unpacking python3-pluggy (1.4.0-1) ... 208s Selecting previously unselected package python3-psutil. 208s Preparing to unpack .../126-python3-psutil_5.9.8-2build2_ppc64el.deb ... 208s Unpacking python3-psutil (5.9.8-2build2) ... 208s Selecting previously unselected package python3-pytest. 208s Preparing to unpack .../127-python3-pytest_7.4.4-1_all.deb ... 208s Unpacking python3-pytest (7.4.4-1) ... 208s Selecting previously unselected package python3-zstandard. 208s Preparing to unpack .../128-python3-zstandard_0.22.0-1build1_ppc64el.deb ... 208s Unpacking python3-zstandard (0.22.0-1build1) ... 208s Setting up libgraphite2-3:ppc64el (1.3.14-2build1) ... 208s Setting up liblcms2-2:ppc64el (2.14-2build1) ... 208s Setting up python3-iniconfig (1.1.1-2) ... 209s Setting up libpixman-1-0:ppc64el (0.42.2-1build1) ... 209s Setting up libx11-xcb1:ppc64el (2:1.8.7-1build1) ... 209s Setting up libwhoopsie-preferences0 (23build3) ... 209s Setting up session-migration (0.3.9build1) ... 209s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 209s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 211s Regenerating fonts cache... done. 211s Setting up libxdamage1:ppc64el (1:1.1.6-1build1) ... 211s Setting up hicolor-icon-theme (0.17-2) ... 211s Setting up libxi6:ppc64el (2:1.8.1-1build1) ... 211s Setting up java-common (0.75+exp1) ... 211s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 211s Setting up libvte-2.91-common (0.76.0-1ubuntu0.1) ... 211s Setting up libdatrie1:ppc64el (0.2.13-3build1) ... 211s Setting up libdebuginfod-common (0.190-1.1ubuntu0.1) ... 211s Setting up libxcb-render0:ppc64el (1.15-1ubuntu2) ... 211s Setting up libwnck-3-common (43.0-3build4) ... 211s Setting up libgdk-pixbuf2.0-common (2.42.10+dfsg-3ubuntu3.1) ... 211s Setting up x11-common (1:7.7+23ubuntu3) ... 212s Setting up libxcb-shm0:ppc64el (1.15-1ubuntu2) ... 212s Setting up libwhoopsie0:ppc64el (0.2.77build3) ... 212s Setting up libgomp1:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up libcairo2:ppc64el (1.18.0-3build1) ... 212s Setting up libcolord2:ppc64el (1.4.7-1build2) ... 212s Setting up python3-psutil (5.9.8-2build2) ... 212s Setting up gnome-terminal-data (3.52.0-1ubuntu2) ... 212s Setting up libsource-highlight-common (3.1.9-4.3build1) ... 212s Setting up libxcb-util1:ppc64el (0.4.0-1build3) ... 212s Setting up libc6-dbg:ppc64el (2.39-0ubuntu8.4) ... 212s Setting up libdconf1:ppc64el (0.40.0-4build2) ... 212s Setting up python3-zstandard (0.22.0-1build1) ... 212s Setting up python3-packaging (24.0-1) ... 212s Setting up gcc-13-base:ppc64el (13.3.0-6ubuntu2~24.04) ... 212s Setting up emacsen-common (3.0.5) ... 212s Setting up libepoxy0:ppc64el (1.5.10-1build1) ... 212s Setting up libxfixes3:ppc64el (1:6.0.0-2build1) ... 212s Setting up libavahi-common-data:ppc64el (0.8-13ubuntu6) ... 212s Setting up libatspi2.0-0t64:ppc64el (2.52.0-1build1) ... 212s Setting up libquadmath0:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up libxinerama1:ppc64el (2:1.1.4-3build1) ... 212s Setting up libmpc3:ppc64el (1.3.1-1build1.1) ... 212s Setting up libatomic1:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up libxrandr2:ppc64el (2:1.5.2-2build1) ... 212s Setting up libpcsclite1:ppc64el (2.0.3-1build1) ... 212s Setting up libbabeltrace1:ppc64el (1.5.11-3build3) ... 212s Setting up python3-pluggy (1.4.0-1) ... 212s Setting up libubsan1:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up at-spi2-common (2.52.0-1build1) ... 212s Setting up libasan8:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up libharfbuzz0b:ppc64el (8.3.0-2build2) ... 212s Setting up libthai-data (0.1.29-2build1) ... 212s Setting up libgdk-pixbuf-2.0-0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 212s Setting up libcairo-gobject2:ppc64el (1.18.0-3build1) ... 212s Setting up libwayland-egl1:ppc64el (1.22.0-2.1build1) ... 212s Setting up libtsan2:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up ca-certificates-java (20240118) ... 212s No JRE found. Skipping Java certificates setup. 212s Setting up libisl23:ppc64el (0.26-3build1.1) ... 212s Setting up valgrind (1:3.22.0-0ubuntu3) ... 212s Setting up cpp-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 212s Setting up libxcomposite1:ppc64el (1:0.4.5-1build3) ... 212s Setting up libcc1-0:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up xbitmaps (1.1.1-2.2) ... 212s Setting up liblsan0:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up libitm1:ppc64el (14.2.0-4ubuntu2~24.04) ... 212s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 212s Setting up libxres1:ppc64el (2:1.2.1-1build1) ... 212s Setting up libstartup-notification0:ppc64el (0.12-6build3) ... 212s Setting up libwayland-client0:ppc64el (1.22.0-2.1build1) ... 212s Setting up gtk-update-icon-cache (3.24.41-4ubuntu1.3) ... 212s Setting up libdebuginfod1t64:ppc64el (0.190-1.1ubuntu0.1) ... 212s Setting up libice6:ppc64el (2:1.0.10-1build3) ... 212s Setting up libxft2:ppc64el (2.3.6-1build1) ... 212s Setting up gir1.2-freedesktop:ppc64el (1.80.1-1) ... 212s Setting up libatk1.0-0t64:ppc64el (2.52.0-1build1) ... 212s Setting up openjdk-21-jre-headless:ppc64el (21.0.7+6~us1-0ubuntu1~24.04) ... 212s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/java to provide /usr/bin/java (java) in auto mode 212s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode 212s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode 212s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode 212s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode 212s Setting up cpp-13 (13.3.0-6ubuntu2~24.04) ... 212s Setting up gir1.2-gdkpixbuf-2.0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 212s Setting up dictionaries-common (1.29.7) ... 213s Setting up gir1.2-atk-1.0:ppc64el (2.52.0-1build1) ... 213s Setting up python3-pytest (7.4.4-1) ... 213s Setting up libxcursor1:ppc64el (1:1.2.1-1build1) ... 213s Setting up libavahi-common3:ppc64el (0.8-13ubuntu6) ... 213s Setting up apport-valgrind (2.28.1-0ubuntu3.7) ... 213s Setting up dconf-service (0.40.0-4build2) ... 213s Setting up libsource-highlight4t64:ppc64el (3.1.9-4.3build1) ... 213s Setting up whoopsie-preferences (23build3) ... 213s Setting up libharfbuzz-gobject0:ppc64el (8.3.0-2build2) ... 213s Setting up gir1.2-harfbuzz-0.0:ppc64el (8.3.0-2build2) ... 213s Setting up libthai0:ppc64el (0.1.29-2build1) ... 213s Setting up gdb (15.0.50.20240403-0ubuntu1) ... 213s Setting up libgcc-13-dev:ppc64el (13.3.0-6ubuntu2~24.04) ... 213s Setting up libwayland-cursor0:ppc64el (1.22.0-2.1build1) ... 213s Setting up cpp (4:13.2.0-7ubuntu1) ... 213s Setting up libsm6:ppc64el (2:1.2.3-1build3) ... 213s Setting up libavahi-client3:ppc64el (0.8-13ubuntu6) ... 213s Setting up libatk-bridge2.0-0t64:ppc64el (2.52.0-1build1) ... 213s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 213s Setting up libpango-1.0-0:ppc64el (1.52.1+ds-1build1) ... 213s Setting up apport-retrace (2.28.1-0ubuntu3.7) ... 213s Setting up gcc-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 213s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 213s Setting up gcc-13 (13.3.0-6ubuntu2~24.04) ... 213s Setting up libpangoft2-1.0-0:ppc64el (1.52.1+ds-1build1) ... 213s Setting up libcups2t64:ppc64el (2.4.7-1.2ubuntu7.3) ... 213s Setting up libgtk-3-common (3.24.41-4ubuntu1.3) ... 213s Setting up libpangocairo-1.0-0:ppc64el (1.52.1+ds-1build1) ... 213s Setting up gsettings-desktop-schemas (46.1-0ubuntu1) ... 213s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 213s Setting up libpangoxft-1.0-0:ppc64el (1.52.1+ds-1build1) ... 213s Setting up libxaw7:ppc64el (2:1.0.14-1build2) ... 213s Setting up gir1.2-pango-1.0:ppc64el (1.52.1+ds-1build1) ... 213s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 213s Setting up xterm (390-1ubuntu3) ... 213s update-alternatives: using /usr/bin/xterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode 213s update-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode 213s Setting up gcc (4:13.2.0-7ubuntu1) ... 213s Setting up adwaita-icon-theme (46.0-1) ... 213s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 213s Setting up humanity-icon-theme (0.6.16) ... 213s Setting up ubuntu-mono (24.04-0ubuntu1) ... 213s Processing triggers for man-db (2.12.0-4build2) ... 217s Processing triggers for libglib2.0-0t64:ppc64el (2.80.0-6ubuntu3.4) ... 218s Processing triggers for dbus (1.14.10-4ubuntu4.1) ... 218s Setting up libgtk-3-0t64:ppc64el (3.24.41-4ubuntu1.3) ... 218s Setting up libwnck-3-0:ppc64el (43.0-3build4) ... 218s Setting up libhandy-1-0:ppc64el (1.8.3-1build2) ... 218s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 218s Setting up gir1.2-gtk-3.0:ppc64el (3.24.41-4ubuntu1.3) ... 218s Setting up libvte-2.91-0:ppc64el (0.76.0-1ubuntu0.1) ... 218s Setting up gir1.2-wnck-3.0:ppc64el (43.0-3build4) ... 218s Setting up apport-gtk (2.28.1-0ubuntu3.7) ... 218s Setting up gnome-terminal (3.52.0-1ubuntu2) ... 218s update-alternatives: using /usr/bin/gnome-terminal.wrapper to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode 218s Processing triggers for ca-certificates-java (20240118) ... 218s Adding debian:ACCVRAIZ1.pem 218s Adding debian:AC_RAIZ_FNMT-RCM.pem 218s Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem 218s Adding debian:ANF_Secure_Server_Root_CA.pem 218s Adding debian:Actalis_Authentication_Root_CA.pem 218s Adding debian:AffirmTrust_Commercial.pem 218s Adding debian:AffirmTrust_Networking.pem 218s Adding debian:AffirmTrust_Premium.pem 218s Adding debian:AffirmTrust_Premium_ECC.pem 218s Adding debian:Amazon_Root_CA_1.pem 218s Adding debian:Amazon_Root_CA_2.pem 218s Adding debian:Amazon_Root_CA_3.pem 218s Adding debian:Amazon_Root_CA_4.pem 218s Adding debian:Atos_TrustedRoot_2011.pem 218s Adding debian:Atos_TrustedRoot_Root_CA_ECC_TLS_2021.pem 218s Adding debian:Atos_TrustedRoot_Root_CA_RSA_TLS_2021.pem 218s Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem 218s Adding debian:BJCA_Global_Root_CA1.pem 218s Adding debian:BJCA_Global_Root_CA2.pem 218s Adding debian:Baltimore_CyberTrust_Root.pem 218s Adding debian:Buypass_Class_2_Root_CA.pem 218s Adding debian:Buypass_Class_3_Root_CA.pem 218s Adding debian:CA_Disig_Root_R2.pem 218s Adding debian:CFCA_EV_ROOT.pem 218s Adding debian:COMODO_Certification_Authority.pem 218s Adding debian:COMODO_ECC_Certification_Authority.pem 218s Adding debian:COMODO_RSA_Certification_Authority.pem 218s Adding debian:Certainly_Root_E1.pem 218s Adding debian:Certainly_Root_R1.pem 218s Adding debian:Certigna.pem 218s Adding debian:Certigna_Root_CA.pem 218s Adding debian:Certum_EC-384_CA.pem 218s Adding debian:Certum_Trusted_Network_CA.pem 218s Adding debian:Certum_Trusted_Network_CA_2.pem 218s Adding debian:Certum_Trusted_Root_CA.pem 218s Adding debian:CommScope_Public_Trust_ECC_Root-01.pem 218s Adding debian:CommScope_Public_Trust_ECC_Root-02.pem 219s Adding debian:CommScope_Public_Trust_RSA_Root-01.pem 219s Adding debian:CommScope_Public_Trust_RSA_Root-02.pem 219s Adding debian:Comodo_AAA_Services_root.pem 219s Adding debian:D-TRUST_BR_Root_CA_1_2020.pem 219s Adding debian:D-TRUST_EV_Root_CA_1_2020.pem 219s Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem 219s Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem 219s Adding debian:DigiCert_Assured_ID_Root_CA.pem 219s Adding debian:DigiCert_Assured_ID_Root_G2.pem 219s Adding debian:DigiCert_Assured_ID_Root_G3.pem 219s Adding debian:DigiCert_Global_Root_CA.pem 219s Adding debian:DigiCert_Global_Root_G2.pem 219s Adding debian:DigiCert_Global_Root_G3.pem 219s Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem 219s Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem 219s Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem 219s Adding debian:DigiCert_Trusted_Root_G4.pem 219s Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem 219s Adding debian:Entrust_Root_Certification_Authority.pem 219s Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem 219s Adding debian:Entrust_Root_Certification_Authority_-_G2.pem 219s Adding debian:Entrust_Root_Certification_Authority_-_G4.pem 219s Adding debian:GDCA_TrustAUTH_R5_ROOT.pem 219s Adding debian:GLOBALTRUST_2020.pem 219s Adding debian:GTS_Root_R1.pem 219s Adding debian:GTS_Root_R2.pem 219s Adding debian:GTS_Root_R3.pem 219s Adding debian:GTS_Root_R4.pem 219s Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem 219s Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem 219s Adding debian:GlobalSign_Root_CA.pem 219s Adding debian:GlobalSign_Root_CA_-_R3.pem 219s Adding debian:GlobalSign_Root_CA_-_R6.pem 219s Adding debian:GlobalSign_Root_E46.pem 219s Adding debian:GlobalSign_Root_R46.pem 219s Adding debian:Go_Daddy_Class_2_CA.pem 219s Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem 219s Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem 219s Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem 219s Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem 219s Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem 219s Adding debian:HiPKI_Root_CA_-_G1.pem 219s Adding debian:Hongkong_Post_Root_CA_3.pem 219s Adding debian:ISRG_Root_X1.pem 219s Adding debian:ISRG_Root_X2.pem 219s Adding debian:IdenTrust_Commercial_Root_CA_1.pem 219s Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem 219s Adding debian:Izenpe.com.pem 219s Adding debian:Microsec_e-Szigno_Root_CA_2009.pem 219s Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem 219s Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem 219s Adding debian:NAVER_Global_Root_Certification_Authority.pem 219s Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem 219s Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem 219s Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem 219s Adding debian:QuoVadis_Root_CA_1_G3.pem 219s Adding debian:QuoVadis_Root_CA_2.pem 219s Adding debian:QuoVadis_Root_CA_2_G3.pem 219s Adding debian:QuoVadis_Root_CA_3.pem 219s Adding debian:QuoVadis_Root_CA_3_G3.pem 219s Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem 219s Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem 219s Adding debian:SSL.com_Root_Certification_Authority_ECC.pem 219s Adding debian:SSL.com_Root_Certification_Authority_RSA.pem 219s Adding debian:SSL.com_TLS_ECC_Root_CA_2022.pem 219s Adding debian:SSL.com_TLS_RSA_Root_CA_2022.pem 219s Adding debian:SZAFIR_ROOT_CA2.pem 219s Adding debian:Sectigo_Public_Server_Authentication_Root_E46.pem 219s Adding debian:Sectigo_Public_Server_Authentication_Root_R46.pem 219s Adding debian:SecureSign_RootCA11.pem 219s Adding debian:SecureTrust_CA.pem 219s Adding debian:Secure_Global_CA.pem 219s Adding debian:Security_Communication_ECC_RootCA1.pem 219s Adding debian:Security_Communication_RootCA2.pem 219s Adding debian:Security_Communication_RootCA3.pem 219s Adding debian:Security_Communication_Root_CA.pem 219s Adding debian:Starfield_Class_2_CA.pem 219s Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem 219s Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem 219s Adding debian:SwissSign_Gold_CA_-_G2.pem 219s Adding debian:SwissSign_Silver_CA_-_G2.pem 219s Adding debian:T-TeleSec_GlobalRoot_Class_2.pem 219s Adding debian:T-TeleSec_GlobalRoot_Class_3.pem 219s Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem 219s Adding debian:TWCA_Global_Root_CA.pem 219s Adding debian:TWCA_Root_Certification_Authority.pem 219s Adding debian:TeliaSonera_Root_CA_v1.pem 219s Adding debian:Telia_Root_CA_v2.pem 219s Adding debian:TrustAsia_Global_Root_CA_G3.pem 219s Adding debian:TrustAsia_Global_Root_CA_G4.pem 219s Adding debian:Trustwave_Global_Certification_Authority.pem 219s Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem 219s Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem 219s Adding debian:TunTrust_Root_CA.pem 219s Adding debian:UCA_Extended_Validation_Root.pem 219s Adding debian:UCA_Global_G2_Root.pem 219s Adding debian:USERTrust_ECC_Certification_Authority.pem 219s Adding debian:USERTrust_RSA_Certification_Authority.pem 219s Adding debian:XRamp_Global_CA_Root.pem 219s Adding debian:certSIGN_ROOT_CA.pem 219s Adding debian:certSIGN_Root_CA_G2.pem 219s Adding debian:e-Szigno_Root_CA_2017.pem 219s Adding debian:ePKI_Root_Certification_Authority.pem 219s Adding debian:emSign_ECC_Root_CA_-_C3.pem 219s Adding debian:emSign_ECC_Root_CA_-_G3.pem 219s Adding debian:emSign_Root_CA_-_C1.pem 219s Adding debian:emSign_Root_CA_-_G1.pem 219s Adding debian:vTrus_ECC_Root_CA.pem 219s Adding debian:vTrus_Root_CA.pem 219s done. 219s Setting up default-jre-headless (2:1.21-75+exp1) ... 219s Setting up openjdk-21-jdk-headless:ppc64el (21.0.7+6~us1-0ubuntu1~24.04) ... 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jar to provide /usr/bin/jar (jar) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/javac to provide /usr/bin/javac (javac) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/javap to provide /usr/bin/javap (javap) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jfr to provide /usr/bin/jfr (jfr) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jps to provide /usr/bin/jps (jps) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jwebserver to provide /usr/bin/jwebserver (jwebserver) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode 219s update-alternatives: using /usr/lib/jvm/java-21-openjdk-ppc64el/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode 219s Setting up default-jdk-headless (2:1.21-75+exp1) ... 219s Processing triggers for dictionaries-common (1.29.7) ... 219s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 222s autopkgtest [14:29:30]: test unit-and-integration-tests: cp -r tests "$AUTOPKGTEST_TMP" && cd "$AUTOPKGTEST_TMP" && python3 -m pytest -ra -v tests/unit/ tests/integration/ 222s autopkgtest [14:29:30]: test unit-and-integration-tests: [----------------------- 222s ============================= test session starts ============================== 222s platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3 222s cachedir: .pytest_cache 222s rootdir: /tmp/autopkgtest.540jzu/autopkgtest_tmp 223s collecting ... collected 528 items 223s 223s tests/unit/test_crashdb.py::T::test_accepts_default PASSED [ 0%] 223s tests/unit/test_crashdb.py::T::test_accepts_problem_types PASSED [ 0%] 223s tests/unit/test_crashdb.py::T::test_change_master_id PASSED [ 0%] 224s tests/unit/test_crashdb.py::T::test_check_duplicate PASSED [ 0%] 224s tests/unit/test_crashdb.py::T::test_check_duplicate_custom_signature PASSED [ 0%] 224s tests/unit/test_crashdb.py::T::test_check_duplicate_multiple_masters PASSED [ 1%] 224s tests/unit/test_crashdb.py::T::test_check_duplicate_multiple_regressions PASSED [ 1%] 224s tests/unit/test_crashdb.py::T::test_check_duplicate_report_arg PASSED [ 1%] 224s tests/unit/test_crashdb.py::T::test_check_duplicate_utf8 PASSED [ 1%] 224s tests/unit/test_crashdb.py::T::test_db_corruption PASSED [ 1%] 224s tests/unit/test_crashdb.py::T::test_duplicate_db_fixed PASSED [ 2%] 224s tests/unit/test_crashdb.py::T::test_duplicate_db_publish_long_sigs PASSED [ 2%] 224s tests/unit/test_crashdb.py::T::test_duplicate_db_remove PASSED [ 2%] 224s tests/unit/test_crashdb.py::T::test_dynamic_crashdb_conf PASSED [ 2%] 224s tests/unit/test_crashdb.py::T::test_get_affected_packages PASSED [ 2%] 224s tests/unit/test_crashdb.py::T::test_get_distro_release PASSED [ 3%] 224s tests/unit/test_crashdb.py::T::test_known_address_sig PASSED [ 3%] 224s tests/unit/test_crashdb.py::T::test_mark_regression PASSED [ 3%] 224s tests/unit/test_crashdb.py::T::test_no_sample_data PASSED [ 3%] 224s tests/unit/test_crashdb.py::T::test_retrace_markers PASSED [ 3%] 224s tests/unit/test_crashdb.py::T::test_status PASSED [ 3%] 224s tests/unit/test_crashdb.py::T::test_submit PASSED [ 4%] 224s tests/unit/test_crashdb.py::T::test_update PASSED [ 4%] 224s tests/unit/test_crashdb.py::T::test_update_filter PASSED [ 4%] 224s tests/unit/test_crashdb.py::T::test_update_traces PASSED [ 4%] 224s tests/unit/test_deprecation.py::TestDeprecation::test_unicode_gettext PASSED [ 4%] 224s tests/unit/test_fileutils.py::T::test_find_package_desktopfile_deleted PASSED [ 5%] 224s tests/unit/test_fileutils.py::T::test_get_core_path_missing_timestamp PASSED [ 5%] 224s tests/unit/test_fileutils.py::T::test_get_core_path_proc_pid_fd PASSED [ 5%] 224s tests/unit/test_fileutils.py::T::test_get_dbus_socket PASSED [ 5%] 224s tests/unit/test_fileutils.py::T::test_get_login_defs PASSED [ 5%] 224s tests/unit/test_fileutils.py::T::test_get_login_defs_missing PASSED [ 6%] 224s tests/unit/test_fileutils.py::T::test_get_process_environ PASSED [ 6%] 224s tests/unit/test_fileutils.py::T::test_get_process_environ_empty PASSED [ 6%] 224s tests/unit/test_fileutils.py::T::test_get_process_environ_malformed PASSED [ 6%] 224s tests/unit/test_fileutils.py::T::test_get_recent_crashes PASSED [ 6%] 224s tests/unit/test_fileutils.py::T::test_get_starttime PASSED [ 7%] 224s tests/unit/test_fileutils.py::T::test_get_sys_gid_max PASSED [ 7%] 224s tests/unit/test_fileutils.py::T::test_get_sys_gid_max_default PASSED [ 7%] 224s tests/unit/test_fileutils.py::T::test_get_sys_uid_max PASSED [ 7%] 224s tests/unit/test_fileutils.py::T::test_get_sys_uid_max_default PASSED [ 7%] 224s tests/unit/test_fileutils.py::T::test_get_uid_and_gid PASSED [ 7%] 224s tests/unit/test_fileutils.py::T::test_likely_packaged PASSED [ 8%] 224s tests/unit/test_helper.py::TestTestHelper::test_get_init_systemd PASSED [ 8%] 224s tests/unit/test_helper.py::TestTestHelper::test_wait_for_process_to_appear PASSED [ 8%] 224s tests/unit/test_helper.py::TestTestHelper::test_wait_for_process_to_appear_multiple PASSED [ 8%] 224s tests/unit/test_helper.py::TestTestHelper::test_wait_for_process_to_appear_timeout PASSED [ 8%] 224s tests/unit/test_helper.py::TestTestHelper::test_wait_for_sleeping_state PASSED [ 9%] 224s tests/unit/test_helper.py::TestTestHelper::test_wait_for_sleeping_state_timeout PASSED [ 9%] 224s tests/unit/test_helper.py::TestTestHelper::test_wrap_object_with_statement PASSED [ 9%] 224s tests/unit/test_hooks_image.py::TestGeneralHookImage::test_add_info PASSED [ 9%] 224s tests/unit/test_hooks_image.py::TestGeneralHookImage::test_add_info_empty_build_info PASSED [ 9%] 224s tests/unit/test_hooks_image.py::TestGeneralHookImage::test_add_info_unknown_field PASSED [ 10%] 224s tests/unit/test_hooks_image.py::TestGeneralHookImage::test_no_cloud_build_info PASSED [ 10%] 224s tests/unit/test_hooks_wayland_session.py::TestGeneralHookWaylandSession::test_is_no_wayland_session PASSED [ 10%] 224s tests/unit/test_hooks_wayland_session.py::TestGeneralHookWaylandSession::test_is_wayland_session PASSED [ 10%] 224s tests/unit/test_hookutils.py::TestHookutils::test_attach_dmesg PASSED [ 10%] 224s tests/unit/test_hookutils.py::TestHookutils::test_attach_dmi PASSED [ 10%] 224s tests/unit/test_hookutils.py::TestHookutils::test_attach_journal_errors_with_date PASSED [ 11%] 224s tests/unit/test_hookutils.py::TestHookutils::test_attach_journal_errors_without_date PASSED [ 11%] 224s tests/unit/test_hookutils.py::TestHookutils::test_deprecated_upstart_functions PASSED [ 11%] 224s tests/unit/test_hookutils.py::TestHookutils::test_dmesg_overwrite PASSED [ 11%] 224s tests/unit/test_hookutils.py::TestHookutils::test_path_to_key PASSED [ 11%] 224s tests/unit/test_hookutils.py::TestHookutils::test_recent_syslog_journald_cmd PASSED [ 12%] 224s tests/unit/test_hookutils.py::TestHookutils::test_recent_syslog_long_process PASSED [ 12%] 224s tests/unit/test_hookutils.py::TestHookutils::test_recent_syslog_race_condition PASSED [ 12%] 224s tests/unit/test_packaging_apt_dpkg.py::TestPackagingAptDpkg::test_is_distro_package_no_candidate PASSED [ 12%] 224s tests/unit/test_packaging_apt_dpkg.py::TestPackagingAptDpkg::test_is_distro_package_no_installed_version PASSED [ 12%] 224s tests/unit/test_packaging_apt_dpkg.py::TestPackagingAptDpkg::test_is_distro_package_ppa PASSED [ 13%] 224s tests/unit/test_packaging_apt_dpkg.py::TestPackagingAptDpkg::test_is_distro_package_system_image PASSED [ 13%] 224s tests/unit/test_packaging_apt_dpkg.py::TestPackagingAptDpkg::test_parse_deb822_sources_extra_lines PASSED [ 13%] 224s tests/unit/test_packaging_apt_dpkg.py::TestPackagingAptDpkg::test_read_mirror_file PASSED [ 13%] 224s tests/unit/test_packaging_impl.py::TestPackagingImpl::test_determine_debian_unstable PASSED [ 13%] 224s tests/unit/test_packaging_impl.py::TestPackagingImpl::test_determine_ubuntu PASSED [ 14%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_add_info_without_segv_reason PASSED [ 14%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_debug PASSED [ 14%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_invalid_00_registers PASSED [ 14%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_invalid_01_disassembly PASSED [ 14%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_invalid_02_maps PASSED [ 14%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_ioport_operation PASSED [ 15%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_register_values PASSED [ 15%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_crackful_disasm PASSED [ 15%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_dest_missing PASSED [ 15%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_dest_not_writable PASSED [ 15%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_dest_null PASSED [ 16%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_pc_missing PASSED [ 16%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_pc_null PASSED [ 16%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_pc_nx_unwritable PASSED [ 16%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_pc_nx_writable PASSED [ 16%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_src_missing PASSED [ 17%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_src_not_readable PASSED [ 17%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_src_null PASSED [ 17%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_stack_failure PASSED [ 17%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_stack_kernel_segfault PASSED [ 17%] 224s tests/unit/test_parse_segv.py::TestHookParseSegv::test_segv_unknown PASSED [ 17%] 224s tests/unit/test_problem_report.py::T::test_add_tag_drop_duplicates PASSED [ 18%] 224s tests/unit/test_problem_report.py::T::test_add_tags PASSED [ 18%] 224s tests/unit/test_problem_report.py::T::test_basic_operations PASSED [ 18%] 224s tests/unit/test_problem_report.py::T::test_consistency_checks PASSED [ 18%] 224s tests/unit/test_problem_report.py::T::test_ctor_arguments PASSED [ 18%] 224s tests/unit/test_problem_report.py::T::test_get_on_disk_size PASSED [ 19%] 224s tests/unit/test_problem_report.py::T::test_get_timestamp PASSED [ 19%] 224s tests/unit/test_problem_report.py::T::test_get_timestamp_locale_german SKIPPED [ 19%] 224s tests/unit/test_problem_report.py::T::test_get_timestamp_returns_none PASSED [ 19%] 224s tests/unit/test_problem_report.py::T::test_import_dict PASSED [ 19%] 224s tests/unit/test_problem_report.py::T::test_iter PASSED [ 20%] 224s tests/unit/test_problem_report.py::T::test_load PASSED [ 20%] 224s tests/unit/test_problem_report.py::T::test_load_binary_blob PASSED [ 20%] 224s tests/unit/test_problem_report.py::T::test_load_incorrect_padding PASSED [ 20%] 224s tests/unit/test_problem_report.py::T::test_load_invalid_utf8 PASSED [ 20%] 224s tests/unit/test_problem_report.py::T::test_load_key_filter PASSED [ 21%] 224s tests/unit/test_problem_report.py::T::test_load_missing_colon PASSED [ 21%] 224s tests/unit/test_problem_report.py::T::test_load_zstd_compressed_data PASSED [ 21%] 224s tests/unit/test_problem_report.py::T::test_modify PASSED [ 21%] 224s tests/unit/test_problem_report.py::T::test_read_file PASSED [ 21%] 224s tests/unit/test_problem_report.py::T::test_read_file_legacy PASSED [ 21%] 224s tests/unit/test_problem_report.py::T::test_reading_zstd_compressed_value PASSED [ 22%] 224s tests/unit/test_problem_report.py::T::test_sorted_items PASSED [ 22%] 224s tests/unit/test_problem_report.py::T::test_updating PASSED [ 22%] 224s tests/unit/test_problem_report.py::T::test_write PASSED [ 22%] 224s tests/unit/test_problem_report.py::T::test_write_empty_fileobj PASSED [ 22%] 224s tests/unit/test_problem_report.py::T::test_write_fileobj PASSED [ 23%] 224s tests/unit/test_problem_report.py::T::test_write_mime_extra_headers PASSED [ 23%] 224s tests/unit/test_problem_report.py::T::test_write_mime_order PASSED [ 23%] 224s tests/unit/test_problem_report.py::T::test_write_mime_text PASSED [ 23%] 224s tests/unit/test_problem_report.py::T::test_writing_zstd_compressed_value PASSED [ 23%] 224s tests/unit/test_problem_report.py::T::test_zstandard_missing PASSED [ 24%] 224s tests/unit/test_problem_report.py::T::test_zstd_compressed_value_length PASSED [ 24%] 224s tests/unit/test_problem_report.py::TestEntryParser::test_parse PASSED [ 24%] 224s tests/unit/test_problem_report.py::TestEntryParser::test_skip_entries PASSED [ 24%] 224s tests/unit/test_problem_report.py::TestEntryParser::test_skip_last_entry PASSED [ 24%] 224s tests/unit/test_problem_report.py::TestEntryParser::test_skip_partial_entries PASSED [ 25%] 224s tests/unit/test_report.py::T::test_add_hooks_info_invalid_source PASSED [ 25%] 224s tests/unit/test_report.py::T::test_add_snap_contact_info_github PASSED [ 25%] 224s tests/unit/test_report.py::T::test_add_snap_contact_info_launchpad PASSED [ 25%] 224s tests/unit/test_report.py::T::test_add_snap_contact_launchpad_distro PASSED [ 25%] 224s tests/unit/test_report.py::T::test_address_to_offset PASSED [ 25%] 224s tests/unit/test_report.py::T::test_address_to_offset_arm PASSED [ 26%] 224s tests/unit/test_report.py::T::test_crash_signature PASSED [ 26%] 224s tests/unit/test_report.py::T::test_crash_signature_addresses PASSED [ 26%] 224s tests/unit/test_report.py::T::test_gdb_add_info_no_gdb PASSED [ 26%] 224s tests/unit/test_report.py::T::test_gen_stacktrace_top PASSED [ 26%] 224s tests/unit/test_report.py::T::test_has_useful_stacktrace PASSED [ 27%] 224s tests/unit/test_report.py::T::test_missing_uid PASSED [ 27%] 224s tests/unit/test_report.py::T::test_nonascii_data PASSED [ 27%] 224s tests/unit/test_report.py::T::test_report_from_systemd_coredump_default PASSED [ 27%] 224s tests/unit/test_report.py::T::test_report_from_systemd_coredump_missing_crash PASSED [ 27%] 224s tests/unit/test_report.py::T::test_report_from_systemd_coredump_storage_journal PASSED [ 28%] 224s tests/unit/test_report.py::T::test_report_from_systemd_coredump_storage_none PASSED [ 28%] 224s tests/unit/test_report.py::T::test_standard_title PASSED [ 28%] 224s tests/unit/test_report.py::T::test_suspend_resume PASSED [ 28%] 224s tests/unit/test_rethread.py::T::test_exc_raise PASSED [ 28%] 224s tests/unit/test_rethread.py::T::test_exc_raise_complex PASSED [ 28%] 224s tests/unit/test_rethread.py::T::test_exception PASSED [ 29%] 224s tests/unit/test_rethread.py::T::test_no_return_value PASSED [ 29%] 224s tests/unit/test_rethread.py::T::test_return_value PASSED [ 29%] 225s tests/unit/test_sandboxutils.py::TestSandboxutils::test_make_sandbox PASSED [ 29%] 225s tests/unit/test_sandboxutils.py::TestSandboxutils::test_make_sandbox_install_packages_failure PASSED [ 29%] 225s tests/unit/test_sandboxutils.py::TestSandboxutils::test_make_sandbox_with_sandbox_dir PASSED [ 30%] 225s tests/unit/test_sandboxutils.py::TestSandboxutils::test_move_base_files_first_existing PASSED [ 30%] 225s tests/unit/test_sandboxutils.py::TestSandboxutils::test_move_base_files_first_missing PASSED [ 30%] 225s tests/unit/test_signal_crashes.py::TestApport::test_check_kernel_crash PASSED [ 30%] 225s tests/unit/test_signal_crashes.py::TestApport::test_check_lock_not_writable PASSED [ 30%] 225s tests/unit/test_signal_crashes.py::TestApport::test_check_lock_taken PASSED [ 31%] 225s tests/unit/test_signal_crashes.py::TestApport::test_consistency_checks_before_forwarding PASSED [ 31%] 225s tests/unit/test_signal_crashes.py::TestApport::test_consistency_checks_mismatching_uid PASSED [ 31%] 225s tests/unit/test_signal_crashes.py::TestApport::test_consistency_checks_replaced_process PASSED [ 31%] 225s tests/unit/test_signal_crashes.py::TestApport::test_forward_crash_to_container PASSED [ 31%] 225s tests/unit/test_signal_crashes.py::TestApport::test_init_error_log_is_tty PASSED [ 32%] 225s tests/unit/test_signal_crashes.py::TestApport::test_is_closing_session PASSED [ 32%] 225s tests/unit/test_signal_crashes.py::TestApport::test_is_closing_session_gdbus_failure PASSED [ 32%] 225s tests/unit/test_signal_crashes.py::TestApport::test_is_closing_session_no_determine_socket PASSED [ 32%] 225s tests/unit/test_signal_crashes.py::TestApport::test_is_closing_session_no_environ PASSED [ 32%] 225s tests/unit/test_signal_crashes.py::TestApport::test_is_closing_session_socket_not_exists PASSED [ 32%] 225s tests/unit/test_signal_crashes.py::TestApport::test_main_ignore_watchdog_restart PASSED [ 33%] 225s tests/unit/test_signal_crashes.py::TestApport::test_main_start PASSED [ 33%] 225s tests/unit/test_signal_crashes.py::TestApport::test_main_stop PASSED [ 33%] 225s tests/unit/test_signal_crashes.py::TestApport::test_missing_proc_pid PASSED [ 33%] 225s tests/unit/test_signal_crashes.py::TestApport::test_non_existing_systemd_coredump PASSED [ 33%] 225s tests/unit/test_signal_crashes.py::TestApport::test_parse_arguments PASSED [ 34%] 225s tests/unit/test_signal_crashes.py::TestApport::test_parse_arguments_kernel_without_pidfd PASSED [ 34%] 225s tests/unit/test_signal_crashes.py::TestApport::test_pidfd_getpid_on_stdout PASSED [ 34%] 225s tests/unit/test_signal_crashes.py::TestApport::test_pidfd_getpid_process_gone PASSED [ 34%] 225s tests/unit/test_signal_crashes.py::TestApport::test_proc_pid_has_same_pid PASSED [ 34%] 225s tests/unit/test_signal_crashes.py::TestApport::test_proc_pid_has_same_pid_false PASSED [ 35%] 225s tests/unit/test_signal_crashes.py::TestApport::test_proc_pid_not_exist PASSED [ 35%] 225s tests/unit/test_signal_crashes.py::TestApport::test_process_crash_from_kernel_replaced_process PASSED [ 35%] 225s tests/unit/test_signal_crashes.py::TestApport::test_reading_core_from_journal_log PASSED [ 35%] 225s tests/unit/test_signal_crashes.py::TestApport::test_receive_arguments_via_socket_import_error PASSED [ 35%] 225s tests/unit/test_signal_crashes.py::TestApport::test_receive_arguments_via_socket_invalid_socket PASSED [ 35%] 225s tests/unit/test_signal_crashes.py::TestApport::test_refine_core_ulimit_huge PASSED [ 36%] 225s tests/unit/test_signal_crashes.py::TestApport::test_start PASSED [ 36%] 225s tests/unit/test_signal_crashes.py::TestApport::test_stop PASSED [ 36%] 225s tests/unit/test_signal_crashes.py::TestApport::test_systemd_journal_import_error PASSED [ 36%] 225s tests/unit/test_ui.py::TestUI::test_open_url PASSED [ 36%] 225s tests/unit/test_ui.py::TestUI::test_open_url_webbrowser_fails PASSED [ 37%] 225s tests/unit/test_ui.py::TestUI::test_open_url_webbrowser_fallback PASSED [ 37%] 225s tests/unit/test_user_group.py::TestUserGroup::test_get_process_user_and_group_is_not_root PASSED [ 37%] 225s tests/unit/test_user_group.py::TestUserGroup::test_get_process_user_and_group_is_root PASSED [ 37%] 225s tests/integration/test_apport_checkreports.py::TestApportCheckreports::test_has_no_system_report PASSED [ 37%] 225s tests/integration/test_apport_checkreports.py::TestApportCheckreports::test_has_system_report PASSED [ 38%] 225s tests/integration/test_apport_checkreports.py::TestApportCheckreports::test_has_user_report PASSED [ 38%] 225s tests/integration/test_apport_checkreports.py::TestApportCheckreports::test_no_report PASSED [ 38%] 225s tests/integration/test_apport_unpack.py::TestApportUnpack::test_broken_core_dump PASSED [ 38%] 225s tests/integration/test_apport_unpack.py::TestApportUnpack::test_broken_report PASSED [ 38%] 226s tests/integration/test_apport_unpack.py::TestApportUnpack::test_error PASSED [ 39%] 226s tests/integration/test_apport_unpack.py::TestApportUnpack::test_help PASSED [ 39%] 226s tests/integration/test_apport_unpack.py::TestApportUnpack::test_unpack PASSED [ 39%] 226s tests/integration/test_apport_unpack.py::TestApportUnpack::test_unpack_stdin PASSED [ 39%] 226s tests/integration/test_apport_valgrind.py::TestApportValgrind::test_help_display PASSED [ 39%] 227s tests/integration/test_apport_valgrind.py::TestApportValgrind::test_intentional_mem_leak_detection PASSED [ 39%] 227s tests/integration/test_apport_valgrind.py::TestApportValgrind::test_invalid_args PASSED [ 40%] 228s tests/integration/test_apport_valgrind.py::TestApportValgrind::test_unpackaged_exe PASSED [ 40%] 229s tests/integration/test_apport_valgrind.py::TestApportValgrind::test_valgrind_min_installed PASSED [ 40%] 230s tests/integration/test_apport_valgrind.py::TestApportValgrind::test_vlog_created PASSED [ 40%] 230s tests/integration/test_crash_digger.py::T::test_alternate_crashdb PASSED [ 40%] 230s tests/integration/test_crash_digger.py::T::test_crash_gdb_sandbox PASSED [ 41%] 230s tests/integration/test_crash_digger.py::T::test_crashes PASSED [ 41%] 230s tests/integration/test_crash_digger.py::T::test_crashes_error PASSED [ 41%] 231s tests/integration/test_crash_digger.py::T::test_crashes_transient_error PASSED [ 41%] 231s tests/integration/test_crash_digger.py::T::test_dupcheck PASSED [ 41%] 231s tests/integration/test_crash_digger.py::T::test_publish_db PASSED [ 42%] 231s tests/integration/test_crash_digger.py::T::test_stderr_redirection PASSED [ 42%] 231s tests/integration/test_crashdb_launchpad.py::T::test_1_download SKIPPED [ 42%] 231s tests/integration/test_crashdb_launchpad.py::T::test_2_update_traces SKIPPED [ 42%] 231s tests/integration/test_crashdb_launchpad.py::T::test_can_update SKIPPED [ 42%] 231s tests/integration/test_crashdb_launchpad.py::T::test_download_robustness SKIPPED [ 42%] 231s tests/integration/test_crashdb_launchpad.py::T::test_duplicates SKIPPED [ 43%] 231s tests/integration/test_crashdb_launchpad.py::T::test_escalation SKIPPED [ 43%] 231s tests/integration/test_crashdb_launchpad.py::T::test_get_affected_packages SKIPPED [ 43%] 231s tests/integration/test_crashdb_launchpad.py::T::test_get_comment_url SKIPPED [ 43%] 231s tests/integration/test_crashdb_launchpad.py::T::test_get_distro_release SKIPPED [ 43%] 231s tests/integration/test_crashdb_launchpad.py::T::test_get_fixed_version SKIPPED [ 44%] 231s tests/integration/test_crashdb_launchpad.py::T::test_is_reporter SKIPPED [ 44%] 231s tests/integration/test_crashdb_launchpad.py::T::test_marking_foreign_arch SKIPPED [ 44%] 231s tests/integration/test_crashdb_launchpad.py::T::test_marking_project SKIPPED [ 44%] 231s tests/integration/test_crashdb_launchpad.py::T::test_marking_python SKIPPED [ 44%] 231s tests/integration/test_crashdb_launchpad.py::T::test_marking_python_task_mangle SKIPPED [ 45%] 231s tests/integration/test_crashdb_launchpad.py::T::test_marking_segv SKIPPED [ 45%] 231s tests/integration/test_crashdb_launchpad.py::T::test_project SKIPPED [ 45%] 231s tests/integration/test_crashdb_launchpad.py::T::test_update_comment SKIPPED [ 45%] 231s tests/integration/test_crashdb_launchpad.py::T::test_update_description SKIPPED [ 45%] 231s tests/integration/test_crashdb_launchpad.py::T::test_update_filter SKIPPED [ 46%] 231s tests/integration/test_crashdb_launchpad.py::T::test_update_traces_invalid SKIPPED [ 46%] 232s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_changeid PASSED [ 46%] 232s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_changeid_missing_argument PASSED [ 46%] 232s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_dump_database PASSED [ 46%] 232s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_dump_empty_database PASSED [ 46%] 232s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_missing_db_file PASSED [ 47%] 232s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_no_command PASSED [ 47%] 233s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_publish PASSED [ 47%] 233s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_publish_missing_argument PASSED [ 47%] 233s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_removeid PASSED [ 47%] 233s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_removeid_missing_argument PASSED [ 48%] 234s tests/integration/test_dupdb_admin.py::TestDupdbAdmin::test_unknown_command PASSED [ 48%] 234s tests/integration/test_fileutils.py::T::test_check_files_md5 PASSED [ 48%] 243s tests/integration/test_fileutils.py::T::test_clean_core_directory PASSED [ 48%] 243s tests/integration/test_fileutils.py::T::test_delete_report PASSED [ 48%] 243s tests/integration/test_fileutils.py::T::test_find_file_package PASSED [ 49%] 243s tests/integration/test_fileutils.py::T::test_find_package_desktopfile_multiple PASSED [ 49%] 243s tests/integration/test_fileutils.py::T::test_find_package_desktopfile_no_display PASSED [ 49%] 243s tests/integration/test_fileutils.py::T::test_find_package_desktopfile_none PASSED [ 49%] 243s tests/integration/test_fileutils.py::T::test_find_package_desktopfile_one PASSED [ 49%] 243s tests/integration/test_fileutils.py::T::test_get_all_reports PASSED [ 50%] 243s tests/integration/test_fileutils.py::T::test_get_config PASSED [ 50%] 243s tests/integration/test_fileutils.py::T::test_get_core_path PASSED [ 50%] 243s tests/integration/test_fileutils.py::T::test_get_system_reports PASSED [ 50%] 243s tests/integration/test_fileutils.py::T::test_get_system_reports_guest PASSED [ 50%] 243s tests/integration/test_fileutils.py::T::test_links_with_shared_library PASSED [ 50%] 243s tests/integration/test_fileutils.py::T::test_make_report_file PASSED [ 51%] 245s tests/integration/test_fileutils.py::T::test_mark_2nd_report_upload PASSED [ 51%] 245s tests/integration/test_fileutils.py::T::test_mark_hanging_process PASSED [ 51%] 245s tests/integration/test_fileutils.py::T::test_mark_report_upload PASSED [ 51%] 245s tests/integration/test_fileutils.py::T::test_seen PASSED [ 51%] 245s tests/integration/test_fileutils.py::T::test_shared_libraries PASSED [ 52%] 245s tests/integration/test_fileutils.py::T::test_unwritable_report PASSED [ 52%] 245s tests/integration/test_github.py::TestGitHub::test__format_report PASSED [ 52%] 245s tests/integration/test_github.py::TestGitHub::test_authentication_complete PASSED [ 52%] 245s tests/integration/test_github.py::TestGitHub::test_not_implemented_methods PASSED [ 52%] 245s tests/integration/test_github.py::TestGitHub::test_upload PASSED [ 53%] 245s tests/integration/test_helper.py::TestHelper::test_pidof_non_existing_program PASSED [ 53%] 245s tests/integration/test_helper.py::TestHelper::test_pidof_running_python PASSED [ 53%] 245s tests/integration/test_helper.py::TestHelper::test_read_shebang_binary PASSED [ 53%] 245s tests/integration/test_helper.py::TestHelper::test_read_shebang_shell_script PASSED [ 53%] 246s tests/integration/test_hooks.py::T::test_gcc_ide_hook_file PASSED [ 53%] 246s tests/integration/test_hooks.py::T::test_gcc_ide_hook_file_binary PASSED [ 54%] 247s tests/integration/test_hooks.py::T::test_gcc_ide_hook_pipe PASSED [ 54%] 247s tests/integration/test_hooks.py::T::test_general_hook_generic PASSED [ 54%] 247s tests/integration/test_hooks.py::T::test_kernel_crashdump_kdump PASSED [ 54%] 248s tests/integration/test_hooks.py::T::test_kernel_crashdump_kdump_log_dir_symlink PASSED [ 54%] 248s tests/integration/test_hooks.py::T::test_kernel_crashdump_kdump_log_symlink PASSED [ 55%] 249s tests/integration/test_hooks.py::T::test_kernel_crashdump_kexec PASSED [ 55%] 249s tests/integration/test_hooks.py::T::test_kernel_crashdump_log_symlink PASSED [ 55%] 249s tests/integration/test_hooks.py::T::test_kernel_oops_hook PASSED [ 55%] 250s tests/integration/test_hooks.py::T::test_package_hook_logs PASSED [ 55%] 250s tests/integration/test_hooks.py::T::test_package_hook_nologs PASSED [ 56%] 251s tests/integration/test_hooks.py::T::test_package_hook_non_existing_package PASSED [ 56%] 251s tests/integration/test_hooks.py::T::test_package_hook_tags PASSED [ 56%] 251s tests/integration/test_hooks.py::T::test_package_hook_uninstalled PASSED [ 56%] 251s tests/integration/test_hookutils.py::T::test_attach_file PASSED [ 56%] 251s tests/integration/test_hookutils.py::T::test_attach_file_binary PASSED [ 57%] 251s tests/integration/test_hookutils.py::T::test_attach_file_if_exists PASSED [ 57%] 251s tests/integration/test_hookutils.py::T::test_attach_mac_events PASSED [ 57%] 251s tests/integration/test_hookutils.py::T::test_command_output PASSED [ 57%] 251s tests/integration/test_hookutils.py::T::test_in_session_of_problem SKIPPED [ 57%] 251s tests/integration/test_hookutils.py::T::test_module_license_evaluation PASSED [ 57%] 253s tests/integration/test_hookutils.py::T::test_no_crashes PASSED [ 58%] 253s tests/integration/test_hookutils.py::T::test_real_module_license_evaluation PASSED [ 58%] 253s tests/integration/test_hookutils.py::T::test_recent_syslog PASSED [ 58%] 253s tests/integration/test_hookutils.py::T::test_recent_syslog_overflow PASSED [ 58%] 253s tests/integration/test_hookutils.py::T::test_xsession_errors PASSED [ 58%] 254s tests/integration/test_java_crashes.py::TestJavaCrashes::test_crash_class PASSED [ 59%] 254s tests/integration/test_java_crashes.py::TestJavaCrashes::test_crash_jar PASSED [ 59%] 254s tests/integration/test_packaging.py::T::test_get_os_version PASSED [ 59%] 254s tests/integration/test_packaging.py::T::test_get_uninstalled_package PASSED [ 59%] 254s tests/integration/test_packaging_apt_dpkg.py::T::test_check_files_md5 PASSED [ 59%] 254s tests/integration/test_packaging_apt_dpkg.py::T::test_compare_versions PASSED [ 60%] 254s tests/integration/test_packaging_apt_dpkg.py::T::test_enabled PASSED [ 60%] 254s tests/integration/test_packaging_apt_dpkg.py::T::test_get_architecture PASSED [ 60%] 254s tests/integration/test_packaging_apt_dpkg.py::T::test_get_available_version PASSED [ 60%] 255s tests/integration/test_packaging_apt_dpkg.py::T::test_get_dependencies_depends_and_pre_depends PASSED [ 60%] 255s tests/integration/test_packaging_apt_dpkg.py::T::test_get_dependencies_depends_only PASSED [ 60%] 255s tests/integration/test_packaging_apt_dpkg.py::T::test_get_dependencies_pre_depends_only PASSED [ 61%] 255s tests/integration/test_packaging_apt_dpkg.py::T::test_get_file_package PASSED [ 61%] 255s tests/integration/test_packaging_apt_dpkg.py::T::test_get_file_package_diversion PASSED [ 61%] 255s tests/integration/test_packaging_apt_dpkg.py::T::test_get_file_package_uninstalled PASSED [ 61%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_file_package_uninstalled_multiarch PASSED [ 61%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_files PASSED [ 62%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_kernel_package PASSED [ 62%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_library_paths PASSED [ 62%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_modified_conffiles PASSED [ 62%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_package_origin PASSED [ 62%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_source PASSED [ 63%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_system_architecture PASSED [ 63%] 256s tests/integration/test_packaging_apt_dpkg.py::T::test_get_version PASSED [ 63%] 257s tests/integration/test_packaging_apt_dpkg.py::T::test_is_distro_package PASSED [ 63%] 257s tests/integration/test_packaging_apt_dpkg.py::T::test_mirror_from_apt_sources PASSED [ 63%] 257s tests/integration/test_packaging_apt_dpkg.py::T::test_mirror_from_apt_sources_with_options PASSED [ 64%] 257s tests/integration/test_packaging_apt_dpkg.py::T::test_mirror_from_deb822_apt_sources PASSED [ 64%] 257s tests/integration/test_packaging_apt_dpkg.py::T::test_package_name_glob PASSED [ 64%] 257s tests/integration/test_packaging_rpm.py::TestPackagingRpm::test_get_dependencies SKIPPED [ 64%] 257s tests/integration/test_packaging_rpm.py::TestPackagingRpm::test_get_header SKIPPED [ 64%] 257s tests/integration/test_packaging_rpm.py::TestPackagingRpm::test_get_headers_by_tag SKIPPED [ 64%] 257s tests/integration/test_packaging_rpm.py::TestPackagingRpm::test_get_system_architecture SKIPPED [ 65%] 257s tests/integration/test_packaging_rpm.py::TestPackagingRpm::test_get_version SKIPPED [ 65%] 259s tests/integration/test_problem_report.py::T::test_add_to_existing PASSED [ 65%] 259s tests/integration/test_problem_report.py::T::test_big_file PASSED [ 65%] 259s tests/integration/test_problem_report.py::T::test_compressed_values PASSED [ 65%] 259s tests/integration/test_problem_report.py::T::test_extract_keys PASSED [ 66%] 260s tests/integration/test_problem_report.py::T::test_size_limit PASSED [ 66%] 260s tests/integration/test_problem_report.py::T::test_write_append PASSED [ 66%] 260s tests/integration/test_problem_report.py::T::test_write_delayed_fileobj PASSED [ 66%] 260s tests/integration/test_problem_report.py::T::test_write_file PASSED [ 66%] 260s tests/integration/test_problem_report.py::T::test_write_mime_binary PASSED [ 67%] 260s tests/integration/test_problem_report.py::T::test_write_mime_filter PASSED [ 67%] 260s tests/integration/test_python_crashes.py::T::test_deleted_working_directory PASSED [ 67%] 261s tests/integration/test_python_crashes.py::T::test_existing PASSED [ 67%] 261s tests/integration/test_python_crashes.py::T::test_general PASSED [ 67%] 261s tests/integration/test_python_crashes.py::T::test_generic_os_error PASSED [ 67%] 261s tests/integration/test_python_crashes.py::T::test_generic_os_error_no_errno PASSED [ 68%] 262s tests/integration/test_python_crashes.py::T::test_getcwd_error PASSED [ 68%] 262s tests/integration/test_python_crashes.py::T::test_ignoring PASSED [ 68%] 262s tests/integration/test_python_crashes.py::T::test_interactive PASSED [ 68%] 262s tests/integration/test_python_crashes.py::T::test_no_argv PASSED [ 68%] 263s tests/integration/test_python_crashes.py::T::test_no_flooding PASSED [ 69%] 263s tests/integration/test_python_crashes.py::T::test_python_env PASSED [ 69%] 263s tests/integration/test_python_crashes.py::T::test_subclassed_os_error PASSED [ 69%] 263s tests/integration/test_python_crashes.py::T::test_symlink PASSED [ 69%] 264s tests/integration/test_recoverable_problem.py::TestRecoverableProblem::test_invalid_data PASSED [ 69%] 264s tests/integration/test_recoverable_problem.py::TestRecoverableProblem::test_recoverable_problem PASSED [ 70%] 264s tests/integration/test_recoverable_problem.py::TestRecoverableProblem::test_recoverable_problem_dupe_sig PASSED [ 70%] 264s tests/integration/test_recoverable_problem.py::TestRecoverableProblem::test_wait_for_report_timeout PASSED [ 70%] 265s tests/integration/test_report.py::T::test_add_gdb_info PASSED [ 70%] 267s tests/integration/test_report.py::T::test_add_gdb_info_abort PASSED [ 70%] 268s tests/integration/test_report.py::T::test_add_gdb_info_damaged PASSED [ 71%] 269s tests/integration/test_report.py::T::test_add_gdb_info_damaged_gz_core PASSED [ 71%] 270s tests/integration/test_report.py::T::test_add_gdb_info_exe_missing PASSED [ 71%] 271s tests/integration/test_report.py::T::test_add_gdb_info_load PASSED [ 71%] 272s tests/integration/test_report.py::T::test_add_gdb_info_script PASSED [ 71%] 272s tests/integration/test_report.py::T::test_add_gdb_info_short_core_file PASSED [ 71%] 272s tests/integration/test_report.py::T::test_add_hooks_info PASSED [ 72%] 272s tests/integration/test_report.py::T::test_add_hooks_info_errors PASSED [ 72%] 272s tests/integration/test_report.py::T::test_add_hooks_info_opt PASSED [ 72%] 272s tests/integration/test_report.py::T::test_add_os_info PASSED [ 72%] 273s tests/integration/test_report.py::T::test_add_package_info PASSED [ 72%] 273s tests/integration/test_report.py::T::test_add_path_classification PASSED [ 73%] 273s tests/integration/test_report.py::T::test_add_proc_info PASSED [ 73%] 273s tests/integration/test_report.py::T::test_add_proc_info_current_desktop PASSED [ 73%] 273s tests/integration/test_report.py::T::test_add_proc_info_nonascii PASSED [ 73%] 273s tests/integration/test_report.py::T::test_add_user_info PASSED [ 73%] 273s tests/integration/test_report.py::T::test_add_user_info_missing_user PASSED [ 74%] 275s tests/integration/test_report.py::T::test_add_zz_parse_segv_details PASSED [ 74%] 275s tests/integration/test_report.py::T::test_address_to_offset_live PASSED [ 74%] 275s tests/integration/test_report.py::T::test_allowlisting PASSED [ 74%] 275s tests/integration/test_report.py::T::test_check_interpreted PASSED [ 74%] 275s tests/integration/test_report.py::T::test_check_interpreted_no_exec PASSED [ 75%] 275s tests/integration/test_report.py::T::test_check_interpreted_twistd SKIPPED [ 75%] 275s tests/integration/test_report.py::T::test_command_output PASSED [ 75%] 275s tests/integration/test_report.py::T::test_command_output_passes_env PASSED [ 75%] 275s tests/integration/test_report.py::T::test_command_output_raises_error PASSED [ 75%] 275s tests/integration/test_report.py::T::test_command_output_timeout PASSED [ 75%] 275s tests/integration/test_report.py::T::test_command_output_timeout_no_output PASSED [ 76%] 275s tests/integration/test_report.py::T::test_denylisting PASSED [ 76%] 275s tests/integration/test_report.py::T::test_extrapath_preferred PASSED [ 76%] 276s tests/integration/test_report.py::T::test_ignoring PASSED [ 76%] 276s tests/integration/test_report.py::T::test_obsolete_packages PASSED [ 76%] 277s tests/integration/test_report.py::T::test_search_bug_patterns PASSED [ 77%] 277s tests/integration/test_report.py::T::test_wait_for_proc_cmdline_failure PASSED [ 77%] 288s tests/integration/test_signal_crashes.py::T::test_core_dump_packaged PASSED [ 77%] 289s tests/integration/test_signal_crashes.py::T::test_core_dump_packaged_sigquit PASSED [ 77%] 289s tests/integration/test_signal_crashes.py::T::test_core_dump_packaged_sigquit_via_socket PASSED [ 77%] 295s tests/integration/test_signal_crashes.py::T::test_core_dump_unpackaged PASSED [ 78%] 296s tests/integration/test_signal_crashes.py::T::test_core_file_injection PASSED [ 78%] 297s tests/integration/test_signal_crashes.py::T::test_coredump_from_socket PASSED [ 78%] 299s tests/integration/test_signal_crashes.py::T::test_crash_apport PASSED [ 78%] 299s tests/integration/test_signal_crashes.py::T::test_crash_apport_from_systemd_coredump PASSED [ 78%] 302s tests/integration/test_signal_crashes.py::T::test_crash_setuid_drop PASSED [ 78%] 304s tests/integration/test_signal_crashes.py::T::test_crash_setuid_drop_via_socket PASSED [ 79%] 305s tests/integration/test_signal_crashes.py::T::test_crash_setuid_keep PASSED [ 79%] 306s tests/integration/test_signal_crashes.py::T::test_crash_setuid_unpackaged PASSED [ 79%] 308s tests/integration/test_signal_crashes.py::T::test_crash_suid_dumpable_debug PASSED [ 79%] 308s tests/integration/test_signal_crashes.py::T::test_create_test_non_sleep_process PASSED [ 79%] 308s tests/integration/test_signal_crashes.py::T::test_create_test_sleep_process PASSED [ 80%] 308s tests/integration/test_signal_crashes.py::T::test_empty_core_dump PASSED [ 80%] 311s tests/integration/test_signal_crashes.py::T::test_flood_limit PASSED [ 80%] 312s tests/integration/test_signal_crashes.py::T::test_ignore PASSED [ 80%] 313s tests/integration/test_signal_crashes.py::T::test_ignore_sigquit PASSED [ 80%] 313s tests/integration/test_signal_crashes.py::T::test_ignore_sigxcpu PASSED [ 81%] 313s tests/integration/test_signal_crashes.py::T::test_is_not_same_ns PASSED [ 81%] 315s tests/integration/test_signal_crashes.py::T::test_leak_inaccessible_files PASSED [ 81%] 315s tests/integration/test_signal_crashes.py::T::test_logging_file PASSED [ 81%] 316s tests/integration/test_signal_crashes.py::T::test_logging_stderr PASSED [ 81%] 318s tests/integration/test_signal_crashes.py::T::test_modify_after_start PASSED [ 82%] 319s tests/integration/test_signal_crashes.py::T::test_nonreadable_exe PASSED [ 82%] 319s tests/integration/test_signal_crashes.py::T::test_parallel_crash SKIPPED [ 82%] 320s tests/integration/test_signal_crashes.py::T::test_unpackaged_binary PASSED [ 82%] 321s tests/integration/test_signal_crashes.py::T::test_unpackaged_script PASSED [ 82%] 321s tests/integration/test_signal_crashes.py::T::test_unsupported_arguments_no_stderr PASSED [ 82%] 321s tests/integration/test_signal_crashes.py::T::test_wait_for_core_file_core_not_created PASSED [ 83%] 321s tests/integration/test_signal_crashes.py::T::test_wait_for_core_file_timeout PASSED [ 83%] 321s tests/integration/test_signal_crashes.py::T::test_wait_for_gdb_sleeping_child_process PASSED [ 83%] 321s tests/integration/test_signal_crashes.py::T::test_wait_for_gdb_sleeping_child_process_timeout PASSED [ 83%] 321s tests/integration/test_ui.py::T::test_can_examine_locally_crash PASSED [ 83%] 321s tests/integration/test_ui.py::T::test_can_examine_locally_nocrash PASSED [ 84%] 322s tests/integration/test_ui.py::T::test_collect_info_crashdb_errors PASSED [ 84%] 322s tests/integration/test_ui.py::T::test_collect_info_crashdb_name PASSED [ 84%] 322s tests/integration/test_ui.py::T::test_collect_info_crashdb_spec PASSED [ 84%] 322s tests/integration/test_ui.py::T::test_collect_info_distro PASSED [ 84%] 323s tests/integration/test_ui.py::T::test_collect_info_exepath PASSED [ 85%] 323s tests/integration/test_ui.py::T::test_collect_info_package PASSED [ 85%] 323s tests/integration/test_ui.py::T::test_collect_info_permissions PASSED [ 85%] 323s tests/integration/test_ui.py::T::test_db_no_accept PASSED [ 85%] 323s tests/integration/test_ui.py::T::test_file_report_http_error PASSED [ 85%] 323s tests/integration/test_ui.py::T::test_file_report_nodelay PASSED [ 85%] 324s tests/integration/test_ui.py::T::test_file_report_upload_delay PASSED [ 86%] 324s tests/integration/test_ui.py::T::test_file_report_upload_message PASSED [ 86%] 324s tests/integration/test_ui.py::T::test_format_filesize PASSED [ 86%] 324s tests/integration/test_ui.py::T::test_get_desktop_entry PASSED [ 86%] 324s tests/integration/test_ui.py::T::test_get_desktop_entry_broken PASSED [ 86%] 324s tests/integration/test_ui.py::T::test_get_size_constructed PASSED [ 87%] 324s tests/integration/test_ui.py::T::test_get_size_loaded PASSED [ 87%] 324s tests/integration/test_ui.py::T::test_handle_duplicate PASSED [ 87%] 324s tests/integration/test_ui.py::T::test_hooks_choices_db_no_accept PASSED [ 87%] 324s tests/integration/test_ui.py::T::test_interactive_hooks_cancel PASSED [ 87%] 325s tests/integration/test_ui.py::T::test_interactive_hooks_choices PASSED [ 88%] 326s tests/integration/test_ui.py::T::test_interactive_hooks_file PASSED [ 88%] 326s tests/integration/test_ui.py::T::test_interactive_hooks_information PASSED [ 88%] 327s tests/integration/test_ui.py::T::test_interactive_hooks_yesno PASSED [ 88%] 327s tests/integration/test_ui.py::T::test_load_report PASSED [ 88%] 327s tests/integration/test_ui.py::T::test_parse_argv_apport_bug PASSED [ 89%] 327s tests/integration/test_ui.py::T::test_parse_argv_single_arg PASSED [ 89%] 329s tests/integration/test_ui.py::T::test_restart PASSED [ 89%] 329s tests/integration/test_ui.py::T::test_run_as_real_user PASSED [ 89%] 329s tests/integration/test_ui.py::T::test_run_as_real_user_no_gvfsd PASSED [ 89%] 329s tests/integration/test_ui.py::T::test_run_as_real_user_no_sudo PASSED [ 89%] 329s tests/integration/test_ui.py::T::test_run_as_real_user_non_root PASSED [ 90%] 330s tests/integration/test_ui.py::T::test_run_crash PASSED [ 90%] 331s tests/integration/test_ui.py::T::test_run_crash_abort PASSED [ 90%] 332s tests/integration/test_ui.py::T::test_run_crash_anonymity PASSED [ 90%] 333s tests/integration/test_ui.py::T::test_run_crash_anonymity_escaping PASSED [ 90%] 334s tests/integration/test_ui.py::T::test_run_crash_anonymity_order PASSED [ 91%] 335s tests/integration/test_ui.py::T::test_run_crash_anonymity_substring PASSED [ 91%] 335s tests/integration/test_ui.py::T::test_run_crash_argv_file PASSED [ 91%] 336s tests/integration/test_ui.py::T::test_run_crash_broken PASSED [ 91%] 336s tests/integration/test_ui.py::T::test_run_crash_errors PASSED [ 91%] 336s tests/integration/test_ui.py::T::test_run_crash_ignore PASSED [ 92%] 339s tests/integration/test_ui.py::T::test_run_crash_kernel PASSED [ 92%] 341s tests/integration/test_ui.py::T::test_run_crash_known PASSED [ 92%] 341s tests/integration/test_ui.py::T::test_run_crash_malicious_crashdb PASSED [ 92%] 341s tests/integration/test_ui.py::T::test_run_crash_malicious_exec_path PASSED [ 92%] 341s tests/integration/test_ui.py::T::test_run_crash_malicious_package PASSED [ 92%] 341s tests/integration/test_ui.py::T::test_run_crash_nocore PASSED [ 93%] 341s tests/integration/test_ui.py::T::test_run_crash_package PASSED [ 93%] 342s tests/integration/test_ui.py::T::test_run_crash_precollected PASSED [ 93%] 343s tests/integration/test_ui.py::T::test_run_crash_preretraced PASSED [ 93%] 344s tests/integration/test_ui.py::T::test_run_crash_private_keys PASSED [ 93%] 344s tests/integration/test_ui.py::T::test_run_crash_uninstalled PASSED [ 94%] 345s tests/integration/test_ui.py::T::test_run_crash_unreportable PASSED [ 94%] 345s tests/integration/test_ui.py::T::test_run_crash_updated_binary PASSED [ 94%] 345s tests/integration/test_ui.py::T::test_run_nopending PASSED [ 94%] 345s tests/integration/test_ui.py::T::test_run_report_bug_file PASSED [ 94%] 345s tests/integration/test_ui.py::T::test_run_report_bug_kernel_thread PASSED [ 95%] 346s tests/integration/test_ui.py::T::test_run_report_bug_list_symptoms PASSED [ 95%] 346s tests/integration/test_ui.py::T::test_run_report_bug_noargs PASSED [ 95%] 346s tests/integration/test_ui.py::T::test_run_report_bug_noperm_pid PASSED [ 95%] 346s tests/integration/test_ui.py::T::test_run_report_bug_package PASSED [ 95%] 346s tests/integration/test_ui.py::T::test_run_report_bug_pid_tags PASSED [ 96%] 347s tests/integration/test_ui.py::T::test_run_report_bug_unpackaged_pid PASSED [ 96%] 347s tests/integration/test_ui.py::T::test_run_report_bug_wrong_pid PASSED [ 96%] 347s tests/integration/test_ui.py::T::test_run_report_hanging PASSED [ 96%] 347s tests/integration/test_ui.py::T::test_run_restart PASSED [ 96%] 348s tests/integration/test_ui.py::T::test_run_symptom PASSED [ 96%] 348s tests/integration/test_ui.py::T::test_run_update_report_different_binary_source PASSED [ 97%] 349s tests/integration/test_ui.py::T::test_run_update_report_existing_package_cli_cmdname PASSED [ 97%] 349s tests/integration/test_ui.py::T::test_run_update_report_existing_package_cli_tags PASSED [ 97%] 349s tests/integration/test_ui.py::T::test_run_update_report_existing_package_from_bug PASSED [ 97%] 349s tests/integration/test_ui.py::T::test_run_update_report_nonexisting_package_cli PASSED [ 97%] 349s tests/integration/test_ui.py::T::test_run_update_report_nonexisting_package_from_bug PASSED [ 98%] 349s tests/integration/test_ui.py::T::test_run_update_report_noninstalled_but_hook PASSED [ 98%] 349s tests/integration/test_ui.py::T::test_run_version PASSED [ 98%] 349s tests/integration/test_ui.py::T::test_wait_for_pid PASSED [ 98%] 349s tests/integration/test_ui_cli.py::TestApportCli::test_save_report_in_temp_directory PASSED [ 98%] 349s tests/integration/test_ui_cli.py::TestApportCli::test_ui_update_view PASSED [ 99%] 349s tests/integration/test_ui_gtk.py::test_unusable_display PASSED [ 99%] 350s tests/integration/test_unkillable_shutdown.py::TestUnkillableShutdown::test_omit_all_processes PASSED [ 99%] 350s tests/integration/test_unkillable_shutdown.py::TestUnkillableShutdown::test_omit_all_processes_except_one PASSED [ 99%] 350s tests/integration/test_unkillable_shutdown.py::TestUnkillableShutdown::test_write_reports PASSED [ 99%] 350s tests/integration/test_whoopsie_upload_all.py::TestWhoopsieUploadAll::test_process_report_malformed_report PASSED [100%] 350s 350s =========================== short test summary info ============================ 350s SKIPPED [1] tests/unit/test_problem_report.py:86: Missing German locale support 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:196: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:246: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:494: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:887: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:499: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:895: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:482: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:340: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:475: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:693: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:489: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:624: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:588: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:657: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:934: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:550: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:830: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:401: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:368: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:437: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_crashdb_launchpad.py:670: Need Launchpad access with bug control permission. Set TEST_LAUNCHPAD to run. 350s SKIPPED [1] tests/integration/test_hookutils.py:376: no logind session 350s SKIPPED [1] tests/integration/test_packaging_rpm.py:20: rpm module not available 350s SKIPPED [1] tests/integration/test_packaging_rpm.py:25: rpm module not available 350s SKIPPED [1] tests/integration/test_packaging_rpm.py:31: rpm module not available 350s SKIPPED [1] tests/integration/test_packaging_rpm.py:38: rpm module not available 350s SKIPPED [1] tests/integration/test_packaging_rpm.py:45: rpm module not available 350s SKIPPED [1] tests/integration/test_report.py:563: twistd not installed 350s SKIPPED [1] tests/integration/test_signal_crashes.py:237: fix test as multiple instances can be started within 30s 350s ================= 498 passed, 30 skipped in 127.59s (0:02:07) ================== 350s autopkgtest [14:31:38]: test unit-and-integration-tests: -----------------------] 351s unit-and-integration-tests PASS 351s autopkgtest [14:31:39]: test unit-and-integration-tests: - - - - - - - - - - results - - - - - - - - - - 351s autopkgtest [14:31:39]: test system-tests: preparing testbed 369s Creating nova instance adt-noble-ppc64el-apport-20250707-142548-juju-7f2275-prod-proposed-migration-environment-2-b18e4c3f-ea99-4897-975e-9bf5486c2c56 from image adt/ubuntu-noble-ppc64el-server-20250707.img (UUID b9a45075-eeb1-400b-9982-7de64727ff8d)... 433s autopkgtest [14:33:01]: testbed dpkg architecture: ppc64el 434s autopkgtest [14:33:02]: testbed apt version: 2.8.3 434s autopkgtest [14:33:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 434s autopkgtest [14:33:02]: testbed release detected to be: noble 435s autopkgtest [14:33:03]: updating testbed package index (apt update) 435s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [265 kB] 435s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 435s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 435s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 435s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [27.4 kB] 435s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [60.6 kB] 435s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [11.4 kB] 435s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [62.9 kB] 435s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [106 kB] 435s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [2224 B] 435s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [2880 B] 435s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 436s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [391 kB] 436s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [6116 B] 436s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [1540 B] 436s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 441s Fetched 938 kB in 1s (1326 kB/s) 441s Reading package lists... 442s autopkgtest [14:33:10]: upgrading testbed (apt dist-upgrade and autopurge) 442s Reading package lists... 442s Building dependency tree... 442s Reading state information... 442s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 442s Starting 2 pkgProblemResolver with broken count: 0 442s Done 443s Entering ResolveByKeep 443s 443s The following packages will be upgraded: 443s bsdextrautils bsdutils eject fdisk libblkid1 libfdisk1 libmount1 443s libnss-systemd libpam-systemd libsmartcols1 libssh-4 libsystemd-shared 443s libsystemd0 libudev1 libuuid1 mount systemd systemd-dev systemd-resolved 443s systemd-sysv systemd-timesyncd udev util-linux uuid-runtime 443s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 443s Need to get 12.4 MB of archives. 443s After this operation, 80.9 kB of additional disk space will be used. 443s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el bsdutils ppc64el 1:2.39.3-9ubuntu6.3 [99.5 kB] 443s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el util-linux ppc64el 2.39.3-9ubuntu6.3 [1193 kB] 443s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el mount ppc64el 2.39.3-9ubuntu6.3 [124 kB] 443s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libnss-systemd ppc64el 255.4-1ubuntu8.10 [207 kB] 443s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-dev all 255.4-1ubuntu8.10 [105 kB] 443s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libblkid1 ppc64el 2.39.3-9ubuntu6.3 [155 kB] 443s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-timesyncd ppc64el 255.4-1ubuntu8.10 [37.6 kB] 443s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-resolved ppc64el 255.4-1ubuntu8.10 [345 kB] 443s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsystemd-shared ppc64el 255.4-1ubuntu8.10 [2349 kB] 444s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsystemd0 ppc64el 255.4-1ubuntu8.10 [527 kB] 444s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd-sysv ppc64el 255.4-1ubuntu8.10 [11.9 kB] 444s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libpam-systemd ppc64el 255.4-1ubuntu8.10 [304 kB] 444s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el systemd ppc64el 255.4-1ubuntu8.10 [3771 kB] 444s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el udev ppc64el 255.4-1ubuntu8.10 [2036 kB] 444s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libudev1 ppc64el 255.4-1ubuntu8.10 [201 kB] 444s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libmount1 ppc64el 2.39.3-9ubuntu6.3 [167 kB] 444s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libuuid1 ppc64el 2.39.3-9ubuntu6.3 [39.6 kB] 444s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libfdisk1 ppc64el 2.39.3-9ubuntu6.3 [170 kB] 444s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsmartcols1 ppc64el 2.39.3-9ubuntu6.3 [79.0 kB] 444s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el uuid-runtime ppc64el 2.39.3-9ubuntu6.3 [33.8 kB] 444s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el eject ppc64el 2.39.3-9ubuntu6.3 [28.0 kB] 444s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el bsdextrautils ppc64el 2.39.3-9ubuntu6.3 [78.4 kB] 444s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el fdisk ppc64el 2.39.3-9ubuntu6.3 [132 kB] 444s Get:24 http://ftpmaster.internal/ubuntu noble-security/main ppc64el libssh-4 ppc64el 0.10.6-2ubuntu0.1 [232 kB] 445s Fetched 12.4 MB in 1s (9430 kB/s) 445s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 445s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu6.3_ppc64el.deb ... 445s Unpacking bsdutils (1:2.39.3-9ubuntu6.3) over (1:2.39.3-9ubuntu6.2) ... 445s Setting up bsdutils (1:2.39.3-9ubuntu6.3) ... 445s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 445s Preparing to unpack .../util-linux_2.39.3-9ubuntu6.3_ppc64el.deb ... 445s Unpacking util-linux (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 445s Setting up util-linux (2.39.3-9ubuntu6.3) ... 446s fstrim.service is a disabled or a static unit not running, not starting it. 446s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 446s Preparing to unpack .../mount_2.39.3-9ubuntu6.3_ppc64el.deb ... 446s Unpacking mount (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 446s Preparing to unpack .../libnss-systemd_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking libnss-systemd:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../systemd-dev_255.4-1ubuntu8.10_all.deb ... 446s Unpacking systemd-dev (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../libblkid1_2.39.3-9ubuntu6.3_ppc64el.deb ... 446s Unpacking libblkid1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 446s Setting up libblkid1:ppc64el (2.39.3-9ubuntu6.3) ... 446s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 446s Preparing to unpack .../systemd-timesyncd_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking systemd-timesyncd (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../systemd-resolved_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking systemd-resolved (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../libsystemd-shared_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking libsystemd-shared:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../libsystemd0_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking libsystemd0:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Setting up libsystemd0:ppc64el (255.4-1ubuntu8.10) ... 446s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 446s Preparing to unpack .../systemd-sysv_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking systemd-sysv (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../libpam-systemd_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking libpam-systemd:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 446s Preparing to unpack .../systemd_255.4-1ubuntu8.10_ppc64el.deb ... 446s Unpacking systemd (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 447s Preparing to unpack .../udev_255.4-1ubuntu8.10_ppc64el.deb ... 447s Unpacking udev (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 447s Preparing to unpack .../libudev1_255.4-1ubuntu8.10_ppc64el.deb ... 447s Unpacking libudev1:ppc64el (255.4-1ubuntu8.10) over (255.4-1ubuntu8.8) ... 447s Setting up libudev1:ppc64el (255.4-1ubuntu8.10) ... 447s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 447s Preparing to unpack .../libmount1_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking libmount1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Setting up libmount1:ppc64el (2.39.3-9ubuntu6.3) ... 447s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 447s Preparing to unpack .../libuuid1_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking libuuid1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Setting up libuuid1:ppc64el (2.39.3-9ubuntu6.3) ... 447s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 447s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking libfdisk1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking libsmartcols1:ppc64el (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Setting up libsmartcols1:ppc64el (2.39.3-9ubuntu6.3) ... 447s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 447s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking uuid-runtime (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Preparing to unpack .../eject_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking eject (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Preparing to unpack .../bsdextrautils_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking bsdextrautils (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Preparing to unpack .../fdisk_2.39.3-9ubuntu6.3_ppc64el.deb ... 447s Unpacking fdisk (2.39.3-9ubuntu6.3) over (2.39.3-9ubuntu6.2) ... 447s Preparing to unpack .../libssh-4_0.10.6-2ubuntu0.1_ppc64el.deb ... 447s Unpacking libssh-4:ppc64el (0.10.6-2ubuntu0.1) over (0.10.6-2build2) ... 447s Setting up bsdextrautils (2.39.3-9ubuntu6.3) ... 447s Setting up systemd-dev (255.4-1ubuntu8.10) ... 447s Setting up eject (2.39.3-9ubuntu6.3) ... 447s Setting up libsystemd-shared:ppc64el (255.4-1ubuntu8.10) ... 447s Setting up libssh-4:ppc64el (0.10.6-2ubuntu0.1) ... 447s Setting up libfdisk1:ppc64el (2.39.3-9ubuntu6.3) ... 447s Setting up mount (2.39.3-9ubuntu6.3) ... 447s Setting up uuid-runtime (2.39.3-9ubuntu6.3) ... 448s uuidd.service is a disabled or a static unit not running, not starting it. 448s Setting up systemd (255.4-1ubuntu8.10) ... 449s Setting up fdisk (2.39.3-9ubuntu6.3) ... 449s Setting up systemd-timesyncd (255.4-1ubuntu8.10) ... 449s Setting up udev (255.4-1ubuntu8.10) ... 450s Setting up systemd-resolved (255.4-1ubuntu8.10) ... 451s Setting up systemd-sysv (255.4-1ubuntu8.10) ... 451s Setting up libnss-systemd:ppc64el (255.4-1ubuntu8.10) ... 451s Setting up libpam-systemd:ppc64el (255.4-1ubuntu8.10) ... 451s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 451s Processing triggers for man-db (2.12.0-4build2) ... 453s Processing triggers for dbus (1.14.10-4ubuntu4.1) ... 453s Processing triggers for initramfs-tools (0.142ubuntu25.5) ... 453s update-initramfs: Generating /boot/initrd.img-6.8.0-63-generic 459s Reading package lists... 459s Building dependency tree... 459s Reading state information... 459s Starting pkgProblemResolver with broken count: 0 459s Starting 2 pkgProblemResolver with broken count: 0 459s Done 459s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 460s autopkgtest [14:33:28]: rebooting testbed after setup commands that affected boot 514s Reading package lists... 514s Building dependency tree... 514s Reading state information... 514s Starting pkgProblemResolver with broken count: 0 514s Starting 2 pkgProblemResolver with broken count: 0 514s Done 515s The following NEW packages will be installed: 515s adwaita-icon-theme apport-gtk apport-kde apport-retrace apport-valgrind 515s at-spi2-common chaos-marmosets cpp cpp-13 cpp-13-powerpc64le-linux-gnu 515s cpp-powerpc64le-linux-gnu dbus-x11 dconf-gsettings-backend dconf-service 515s desktop-file-utils fontconfig gcc gcc-13 gcc-13-base 515s gcc-13-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gdb gdb-multiarch 515s gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 515s gir1.2-harfbuzz-0.0 gir1.2-pango-1.0 gir1.2-wnck-3.0 gnome-icon-theme 515s gnome-terminal gnome-terminal-data gsettings-desktop-schemas 515s gtk-update-icon-cache gvfs-common gvfs-daemons gvfs-libs hicolor-icon-theme 515s humanity-icon-theme libasan8 libatk-bridge2.0-0t64 libatk1.0-0t64 libatomic1 515s libatspi2.0-0t64 libavahi-client3 libavahi-common-data libavahi-common3 515s libbabeltrace1 libc6-dbg libcairo-gobject2 libcairo2 libcc1-0 libcolord2 515s libcups2t64 libdatrie1 libdconf1 libdebuginfod-common libdebuginfod1t64 515s libdouble-conversion3 libdrm-amdgpu1 libdrm-radeon1 libegl-mesa0 libegl1 515s libepoxy0 libfontenc1 libgbm1 libgcc-13-dev libgck-2-2 libgcr-4-4 515s libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgl1 libgl1-mesa-dri 515s libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgomp1 libgraphite2-3 515s libgtk-3-0t64 libgtk-3-common libhandy-1-0 libharfbuzz-gobject0 515s libharfbuzz0b libice6 libinput-bin libinput10 libisl23 libitm1 liblcms2-2 515s libllvm19 liblsan0 libmd4c0 libmpc3 libmtdev1t64 libpango-1.0-0 515s libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0 libpcre2-16-0 515s libpixman-1-0 libqt5core5t64 libqt5dbus5t64 libqt5designer5 libqt5gui5t64 515s libqt5help5 libqt5network5t64 libqt5printsupport5t64 libqt5sql5t64 515s libqt5test5t64 libqt5widgets5t64 libqt5xml5t64 libquadmath0 librsvg2-2 515s librsvg2-common libsecret-1-0 libsecret-common libsm6 515s libsource-highlight-common libsource-highlight4t64 libstartup-notification0 515s libthai-data libthai0 libtsan2 libubsan1 libvte-2.91-0 libvte-2.91-common 515s libvulkan1 libwacom-common libwacom9 libwayland-client0 libwayland-cursor0 515s libwayland-egl1 libwayland-server0 libwhoopsie-preferences0 libwhoopsie0 515s libwnck-3-0 libwnck-3-common libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 515s libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 515s libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 515s libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 515s libxcb-xkb1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont2 515s libxft2 libxi6 libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxmu6 515s libxrandr2 libxrender1 libxres1 libxshmfence1 libxt6t64 libxxf86vm1 515s mesa-libgallium python3-iniconfig python3-packaging python3-pluggy 515s python3-psutil python3-pyqt5 python3-pyqt5.sip python3-pytest 515s session-migration ubuntu-dbgsym-keyring ubuntu-mono valgrind 515s whoopsie-preferences x11-common x11-xkb-utils xserver-common xvfb 515s 0 upgraded, 193 newly installed, 0 to remove and 0 not upgraded. 515s Need to get 156 MB of archives. 515s After this operation, 644 MB of additional disk space will be used. 515s Get:1 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libdebuginfod-common all 0.190-1.1ubuntu0.1 [14.6 kB] 515s Get:2 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgdk-pixbuf2.0-common all 2.42.10+dfsg-3ubuntu3.1 [8024 B] 515s Get:3 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgdk-pixbuf-2.0-0 ppc64el 2.42.10+dfsg-3ubuntu3.1 [188 kB] 515s Get:4 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gtk-update-icon-cache ppc64el 3.24.41-4ubuntu1.3 [54.6 kB] 515s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el hicolor-icon-theme all 0.17-2 [9976 B] 515s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el humanity-icon-theme all 0.6.16 [1282 kB] 515s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el ubuntu-mono all 24.04-0ubuntu1 [151 kB] 515s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el adwaita-icon-theme all 46.0-1 [723 kB] 515s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el at-spi2-common all 2.52.0-1build1 [8674 B] 515s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libatk1.0-0t64 ppc64el 2.52.0-1build1 [60.4 kB] 515s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-atk-1.0 ppc64el 2.52.0-1build1 [23.1 kB] 515s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1build1 [336 kB] 515s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-render0 ppc64el 1.15-1ubuntu2 [17.7 kB] 515s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1ubuntu2 [6184 B] 515s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 515s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el libcairo2 ppc64el 1.18.0-3build1 [751 kB] 515s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libcairo-gobject2 ppc64el 1.18.0-3build1 [127 kB] 515s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-freedesktop ppc64el 1.80.1-1 [49.7 kB] 515s Get:19 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gir1.2-gdkpixbuf-2.0 ppc64el 2.42.10+dfsg-3ubuntu3.1 [9492 B] 515s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libgraphite2-3 ppc64el 1.3.14-2build1 [84.6 kB] 515s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libharfbuzz0b ppc64el 8.3.0-2build2 [580 kB] 515s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libharfbuzz-gobject0 ppc64el 8.3.0-2build2 [34.8 kB] 515s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-harfbuzz-0.0 ppc64el 8.3.0-2build2 [44.5 kB] 515s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el fontconfig ppc64el 2.15.0-1.1ubuntu2 [192 kB] 515s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libthai-data all 0.1.29-2build1 [158 kB] 515s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el libdatrie1 ppc64el 0.2.13-3build1 [22.7 kB] 515s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libthai0 ppc64el 0.1.29-2build1 [21.8 kB] 515s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el libpango-1.0-0 ppc64el 1.52.1+ds-1build1 [271 kB] 515s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libpangoft2-1.0-0 ppc64el 1.52.1+ds-1build1 [50.5 kB] 515s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libpangocairo-1.0-0 ppc64el 1.52.1+ds-1build1 [31.1 kB] 515s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el libxft2 ppc64el 2.3.6-1build1 [61.5 kB] 515s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el libpangoxft-1.0-0 ppc64el 1.52.1+ds-1build1 [22.9 kB] 515s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-pango-1.0 ppc64el 1.52.1+ds-1build1 [34.8 kB] 515s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libxi6 ppc64el 2:1.8.1-1build1 [37.9 kB] 515s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libatspi2.0-0t64 ppc64el 2.52.0-1build1 [98.9 kB] 515s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libatk-bridge2.0-0t64 ppc64el 2.52.0-1build1 [77.8 kB] 515s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el liblcms2-2 ppc64el 2.14-2build1 [233 kB] 515s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libcolord2 ppc64el 1.4.7-1build2 [164 kB] 515s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libavahi-common-data ppc64el 0.8-13ubuntu6 [29.7 kB] 515s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libavahi-common3 ppc64el 0.8-13ubuntu6 [26.3 kB] 515s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libavahi-client3 ppc64el 0.8-13ubuntu6 [30.8 kB] 515s Get:42 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libcups2t64 ppc64el 2.4.7-1.2ubuntu7.3 [344 kB] 515s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libepoxy0 ppc64el 1.5.10-1build1 [241 kB] 515s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-client0 ppc64el 1.22.0-2.1build1 [29.9 kB] 515s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-cursor0 ppc64el 1.22.0-2.1build1 [11.5 kB] 515s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-egl1 ppc64el 1.22.0-2.1build1 [5766 B] 515s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcomposite1 ppc64el 1:0.4.5-1build3 [6600 B] 515s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2build1 [11.8 kB] 515s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcursor1 ppc64el 1:1.2.1-1build1 [26.4 kB] 515s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el libxdamage1 ppc64el 1:1.1.6-1build1 [6550 B] 515s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el libxinerama1 ppc64el 2:1.1.4-3build1 [6908 B] 515s Get:52 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2build1 [22.1 kB] 515s Get:53 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu4.1 [24.3 kB] 515s Get:54 http://ftpmaster.internal/ubuntu noble/main ppc64el libdconf1 ppc64el 0.40.0-4build2 [44.0 kB] 515s Get:55 http://ftpmaster.internal/ubuntu noble/main ppc64el dconf-service ppc64el 0.40.0-4build2 [31.1 kB] 515s Get:56 http://ftpmaster.internal/ubuntu noble/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4build2 [26.5 kB] 516s Get:57 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgtk-3-common all 3.24.41-4ubuntu1.3 [1426 kB] 516s Get:58 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgtk-3-0t64 ppc64el 3.24.41-4ubuntu1.3 [3347 kB] 516s Get:59 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gir1.2-gtk-3.0 ppc64el 3.24.41-4ubuntu1.3 [245 kB] 516s Get:60 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1build1 [7910 B] 516s Get:61 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-util1 ppc64el 0.4.0-1build3 [11.2 kB] 516s Get:62 http://ftpmaster.internal/ubuntu noble/main ppc64el libstartup-notification0 ppc64el 0.12-6build3 [22.3 kB] 516s Get:63 http://ftpmaster.internal/ubuntu noble/main ppc64el libxres1 ppc64el 2:1.2.1-1build1 [7560 B] 516s Get:64 http://ftpmaster.internal/ubuntu noble/main ppc64el libwnck-3-common all 43.0-3build4 [19.5 kB] 516s Get:65 http://ftpmaster.internal/ubuntu noble/main ppc64el libwnck-3-0 ppc64el 43.0-3build4 [130 kB] 516s Get:66 http://ftpmaster.internal/ubuntu noble/main ppc64el gir1.2-wnck-3.0 ppc64el 43.0-3build4 [10.2 kB] 516s Get:67 http://ftpmaster.internal/ubuntu noble/main ppc64el gnome-terminal-data all 3.52.0-1ubuntu2 [38.5 kB] 516s Get:68 http://ftpmaster.internal/ubuntu noble/main ppc64el session-migration ppc64el 0.3.9build1 [9458 B] 516s Get:69 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gsettings-desktop-schemas all 46.1-0ubuntu1 [35.6 kB] 516s Get:70 http://ftpmaster.internal/ubuntu noble/main ppc64el libhandy-1-0 ppc64el 1.8.3-1build2 [266 kB] 516s Get:71 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libvte-2.91-common ppc64el 0.76.0-1ubuntu0.1 [13.5 kB] 516s Get:72 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libvte-2.91-0 ppc64el 0.76.0-1ubuntu0.1 [263 kB] 516s Get:73 http://ftpmaster.internal/ubuntu noble/main ppc64el gnome-terminal ppc64el 3.52.0-1ubuntu2 [242 kB] 516s Get:74 http://ftpmaster.internal/ubuntu noble/main ppc64el libwhoopsie-preferences0 ppc64el 23build3 [15.3 kB] 516s Get:75 http://ftpmaster.internal/ubuntu noble/main ppc64el libwhoopsie0 ppc64el 0.2.77build3 [11.3 kB] 516s Get:76 http://ftpmaster.internal/ubuntu noble/main ppc64el whoopsie-preferences ppc64el 23build3 [9014 B] 516s Get:77 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el apport-gtk all 2.28.1-0ubuntu3.7 [9750 B] 516s Get:78 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pyqt5.sip ppc64el 12.13.0-1build3 [78.9 kB] 516s Get:79 http://ftpmaster.internal/ubuntu noble/universe ppc64el libdouble-conversion3 ppc64el 3.3.0-1build1 [45.7 kB] 516s Get:80 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu2.1 [246 kB] 516s Get:81 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5core5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [2194 kB] 516s Get:82 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5dbus5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [246 kB] 516s Get:83 http://ftpmaster.internal/ubuntu noble/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 516s Get:84 http://ftpmaster.internal/ubuntu noble/main ppc64el libwayland-server0 ppc64el 1.22.0-2.1build1 [40.2 kB] 516s Get:85 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-randr0 ppc64el 1.15-1ubuntu2 [19.7 kB] 516s Get:86 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libdrm-amdgpu1 ppc64el 2.4.122-1~ubuntu0.24.04.1 [24.8 kB] 516s Get:87 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libdrm-radeon1 ppc64el 2.4.122-1~ubuntu0.24.04.1 [29.6 kB] 516s Get:88 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libglapi-mesa ppc64el 24.2.8-1ubuntu1~24.04.1 [45.5 kB] 516s Get:89 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libllvm19 ppc64el 1:19.1.1-1ubuntu1~24.04.2 [29.9 MB] 517s Get:90 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri2-0 ppc64el 1.15-1ubuntu2 [7716 B] 517s Get:91 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri3-0 ppc64el 1.15-1ubuntu2 [7514 B] 517s Get:92 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-present0 ppc64el 1.15-1ubuntu2 [5990 B] 517s Get:93 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-sync1 ppc64el 1.15-1ubuntu2 [10.0 kB] 517s Get:94 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xfixes0 ppc64el 1.15-1ubuntu2 [11.0 kB] 517s Get:95 http://ftpmaster.internal/ubuntu noble/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B] 517s Get:96 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el mesa-libgallium ppc64el 24.2.8-1ubuntu1~24.04.1 [9053 kB] 517s Get:97 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgbm1 ppc64el 24.2.8-1ubuntu1~24.04.1 [38.2 kB] 517s Get:98 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libegl-mesa0 ppc64el 24.2.8-1ubuntu1~24.04.1 [164 kB] 517s Get:99 http://ftpmaster.internal/ubuntu noble/main ppc64el libegl1 ppc64el 1.7.0-1build1 [34.1 kB] 517s Get:100 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-glx0 ppc64el 1.15-1ubuntu2 [26.9 kB] 517s Get:101 http://ftpmaster.internal/ubuntu noble/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 517s Get:102 http://ftpmaster.internal/ubuntu noble/main ppc64el libvulkan1 ppc64el 1.3.275.0-1build1 [176 kB] 517s Get:103 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgl1-mesa-dri ppc64el 24.2.8-1ubuntu1~24.04.1 [34.9 kB] 517s Get:104 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libglx-mesa0 ppc64el 24.2.8-1ubuntu1~24.04.1 [189 kB] 517s Get:105 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 517s Get:106 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 517s Get:107 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 517s Get:108 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build3 [49.1 kB] 517s Get:109 http://ftpmaster.internal/ubuntu noble/main ppc64el libmtdev1t64 ppc64el 1.1.6-1.1build1 [18.9 kB] 517s Get:110 http://ftpmaster.internal/ubuntu noble/main ppc64el libwacom-common all 2.10.0-2 [63.4 kB] 517s Get:111 http://ftpmaster.internal/ubuntu noble/main ppc64el libwacom9 ppc64el 2.10.0-2 [29.0 kB] 517s Get:112 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libinput-bin ppc64el 1.25.0-1ubuntu3.1 [23.2 kB] 517s Get:113 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libinput10 ppc64el 1.25.0-1ubuntu3.1 [161 kB] 517s Get:114 http://ftpmaster.internal/ubuntu noble/universe ppc64el libmd4c0 ppc64el 0.4.8-1build1 [53.5 kB] 517s Get:115 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5network5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [813 kB] 517s Get:116 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build3 [17.6 kB] 517s Get:117 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-icccm4 ppc64el 0.4.1-1.1build3 [11.2 kB] 517s Get:118 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-image0 ppc64el 0.4.0-2build1 [12.4 kB] 517s Get:119 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-keysyms1 ppc64el 0.4.0-1build4 [8522 B] 517s Get:120 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-render-util0 ppc64el 0.3.9-1build4 [10.8 kB] 517s Get:121 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shape0 ppc64el 1.15-1ubuntu2 [6512 B] 517s Get:122 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xinerama0 ppc64el 1.15-1ubuntu2 [5652 B] 517s Get:123 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xinput0 ppc64el 1.15-1ubuntu2 [38.4 kB] 517s Get:124 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xkb1 ppc64el 1.15-1ubuntu2 [38.7 kB] 517s Get:125 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbcommon-x11-0 ppc64el 1.6.0-1build1 [15.4 kB] 517s Get:126 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5gui5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [4131 kB] 517s Get:127 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5widgets5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [2810 kB] 517s Get:128 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5xml5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [138 kB] 517s Get:129 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5designer5 ppc64el 5.15.13-1 [2924 kB] 517s Get:130 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5sql5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [136 kB] 517s Get:131 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5help5 ppc64el 5.15.13-1 [180 kB] 517s Get:132 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5printsupport5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [224 kB] 517s Get:133 http://ftpmaster.internal/ubuntu noble/universe ppc64el libqt5test5t64 ppc64el 5.15.13+dfsg-1ubuntu1 [157 kB] 517s Get:134 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pyqt5 ppc64el 5.15.10+dfsg-1build6 [2670 kB] 517s Get:135 http://ftpmaster.internal/ubuntu noble-updates/universe ppc64el apport-kde all 2.28.1-0ubuntu3.7 [18.8 kB] 518s Get:136 http://ftpmaster.internal/ubuntu noble/main ppc64el libbabeltrace1 ppc64el 1.5.11-3build3 [209 kB] 518s Get:137 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libdebuginfod1t64 ppc64el 0.190-1.1ubuntu0.1 [18.4 kB] 518s Get:138 http://ftpmaster.internal/ubuntu noble/main ppc64el libsource-highlight-common all 3.1.9-4.3build1 [64.2 kB] 518s Get:139 http://ftpmaster.internal/ubuntu noble/main ppc64el libsource-highlight4t64 ppc64el 3.1.9-4.3build1 [288 kB] 518s Get:140 http://ftpmaster.internal/ubuntu noble/main ppc64el gdb ppc64el 15.0.50.20240403-0ubuntu1 [5088 kB] 518s Get:141 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libc6-dbg ppc64el 2.39-0ubuntu8.4 [8217 kB] 518s Get:142 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el apport-retrace all 2.28.1-0ubuntu3.7 [14.4 kB] 518s Get:143 http://ftpmaster.internal/ubuntu noble/main ppc64el valgrind ppc64el 1:3.22.0-0ubuntu3 [10.3 MB] 518s Get:144 http://ftpmaster.internal/ubuntu noble-updates/universe ppc64el apport-valgrind all 2.28.1-0ubuntu3.7 [5230 B] 518s Get:145 http://ftpmaster.internal/ubuntu noble/universe ppc64el chaos-marmosets ppc64el 0.1.2-2 [8834 B] 518s Get:146 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gcc-13-base ppc64el 13.3.0-6ubuntu2~24.04 [51.5 kB] 518s Get:147 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libisl23 ppc64el 0.26-3build1.1 [875 kB] 518s Get:148 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libmpc3 ppc64el 1.3.1-1build1.1 [61.7 kB] 518s Get:149 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.3.0-6ubuntu2~24.04 [9753 kB] 518s Get:150 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el cpp-13 ppc64el 13.3.0-6ubuntu2~24.04 [1044 B] 518s Get:151 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 518s Get:152 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 518s Get:153 http://ftpmaster.internal/ubuntu noble/main ppc64el desktop-file-utils ppc64el 0.27-2build1 [62.1 kB] 518s Get:154 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libcc1-0 ppc64el 14.2.0-4ubuntu2~24.04 [48.3 kB] 519s Get:155 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgomp1 ppc64el 14.2.0-4ubuntu2~24.04 [161 kB] 519s Get:156 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libitm1 ppc64el 14.2.0-4ubuntu2~24.04 [32.2 kB] 519s Get:157 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libatomic1 ppc64el 14.2.0-4ubuntu2~24.04 [10.8 kB] 519s Get:158 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libasan8 ppc64el 14.2.0-4ubuntu2~24.04 [2970 kB] 519s Get:159 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el liblsan0 ppc64el 14.2.0-4ubuntu2~24.04 [1328 kB] 519s Get:160 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libtsan2 ppc64el 14.2.0-4ubuntu2~24.04 [2702 kB] 519s Get:161 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libubsan1 ppc64el 14.2.0-4ubuntu2~24.04 [1196 kB] 519s Get:162 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libquadmath0 ppc64el 14.2.0-4ubuntu2~24.04 [158 kB] 519s Get:163 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el libgcc-13-dev ppc64el 13.3.0-6ubuntu2~24.04 [1580 kB] 519s Get:164 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.3.0-6ubuntu2~24.04 [19.1 MB] 519s Get:165 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el gcc-13 ppc64el 13.3.0-6ubuntu2~24.04 [494 kB] 520s Get:166 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 520s Get:167 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 520s Get:168 http://ftpmaster.internal/ubuntu noble/universe ppc64el gdb-multiarch ppc64el 15.0.50.20240403-0ubuntu1 [5120 kB] 520s Get:169 http://ftpmaster.internal/ubuntu noble/main ppc64el librsvg2-2 ppc64el 2.58.0+dfsg-1build1 [2874 kB] 520s Get:170 http://ftpmaster.internal/ubuntu noble/main ppc64el librsvg2-common ppc64el 2.58.0+dfsg-1build1 [11.9 kB] 520s Get:171 http://ftpmaster.internal/ubuntu noble/universe ppc64el gnome-icon-theme all 3.12.0-5 [9619 kB] 520s Get:172 http://ftpmaster.internal/ubuntu noble/main ppc64el gvfs-common all 1.54.0-1ubuntu2 [13.5 kB] 520s Get:173 http://ftpmaster.internal/ubuntu noble/main ppc64el libgck-2-2 ppc64el 4.2.0-5 [90.5 kB] 520s Get:174 http://ftpmaster.internal/ubuntu noble/main ppc64el libgcr-4-4 ppc64el 4.2.0-5 [222 kB] 520s Get:175 http://ftpmaster.internal/ubuntu noble/main ppc64el libsecret-common all 0.21.4-1build3 [4962 B] 520s Get:176 http://ftpmaster.internal/ubuntu noble/main ppc64el libsecret-1-0 ppc64el 0.21.4-1build3 [127 kB] 520s Get:177 http://ftpmaster.internal/ubuntu noble/main ppc64el gvfs-libs ppc64el 1.54.0-1ubuntu2 [119 kB] 520s Get:178 http://ftpmaster.internal/ubuntu noble/main ppc64el gvfs-daemons ppc64el 1.54.0-1ubuntu2 [136 kB] 520s Get:179 http://ftpmaster.internal/ubuntu noble/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 520s Get:180 http://ftpmaster.internal/ubuntu noble/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 520s Get:181 http://ftpmaster.internal/ubuntu noble/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 520s Get:182 http://ftpmaster.internal/ubuntu noble/main ppc64el libxaw7 ppc64el 2:1.0.14-1build2 [231 kB] 520s Get:183 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 520s Get:184 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 520s Get:185 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 520s Get:186 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 520s Get:187 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pluggy all 1.4.0-1 [20.4 kB] 520s Get:188 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-psutil ppc64el 5.9.8-2build2 [197 kB] 520s Get:189 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-pytest all 7.4.4-1 [305 kB] 520s Get:190 http://ftpmaster.internal/ubuntu noble/main ppc64el ubuntu-dbgsym-keyring all 2023.11.28.1 [4528 B] 520s Get:191 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-xkb-utils ppc64el 7.7+8build2 [201 kB] 520s Get:192 http://ftpmaster.internal/ubuntu noble-updates/main ppc64el xserver-common all 2:21.1.12-1ubuntu1.4 [34.4 kB] 520s Get:193 http://ftpmaster.internal/ubuntu noble-updates/universe ppc64el xvfb ppc64el 2:21.1.12-1ubuntu1.4 [1090 kB] 521s Preconfiguring packages ... 521s Fetched 156 MB in 5s (29.6 MB/s) 521s Selecting previously unselected package libdebuginfod-common. 521s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 103684 files and directories currently installed.) 521s Preparing to unpack .../000-libdebuginfod-common_0.190-1.1ubuntu0.1_all.deb ... 521s Unpacking libdebuginfod-common (0.190-1.1ubuntu0.1) ... 521s Selecting previously unselected package libgdk-pixbuf2.0-common. 521s Preparing to unpack .../001-libgdk-pixbuf2.0-common_2.42.10+dfsg-3ubuntu3.1_all.deb ... 521s Unpacking libgdk-pixbuf2.0-common (2.42.10+dfsg-3ubuntu3.1) ... 521s Selecting previously unselected package libgdk-pixbuf-2.0-0:ppc64el. 521s Preparing to unpack .../002-libgdk-pixbuf-2.0-0_2.42.10+dfsg-3ubuntu3.1_ppc64el.deb ... 521s Unpacking libgdk-pixbuf-2.0-0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 521s Selecting previously unselected package gtk-update-icon-cache. 521s Preparing to unpack .../003-gtk-update-icon-cache_3.24.41-4ubuntu1.3_ppc64el.deb ... 521s Unpacking gtk-update-icon-cache (3.24.41-4ubuntu1.3) ... 521s Selecting previously unselected package hicolor-icon-theme. 521s Preparing to unpack .../004-hicolor-icon-theme_0.17-2_all.deb ... 521s Unpacking hicolor-icon-theme (0.17-2) ... 522s Selecting previously unselected package humanity-icon-theme. 522s Preparing to unpack .../005-humanity-icon-theme_0.6.16_all.deb ... 522s Unpacking humanity-icon-theme (0.6.16) ... 522s Selecting previously unselected package ubuntu-mono. 522s Preparing to unpack .../006-ubuntu-mono_24.04-0ubuntu1_all.deb ... 522s Unpacking ubuntu-mono (24.04-0ubuntu1) ... 522s Selecting previously unselected package adwaita-icon-theme. 522s Preparing to unpack .../007-adwaita-icon-theme_46.0-1_all.deb ... 522s Unpacking adwaita-icon-theme (46.0-1) ... 523s Selecting previously unselected package at-spi2-common. 523s Preparing to unpack .../008-at-spi2-common_2.52.0-1build1_all.deb ... 523s Unpacking at-spi2-common (2.52.0-1build1) ... 523s Selecting previously unselected package libatk1.0-0t64:ppc64el. 523s Preparing to unpack .../009-libatk1.0-0t64_2.52.0-1build1_ppc64el.deb ... 523s Unpacking libatk1.0-0t64:ppc64el (2.52.0-1build1) ... 523s Selecting previously unselected package gir1.2-atk-1.0:ppc64el. 523s Preparing to unpack .../010-gir1.2-atk-1.0_2.52.0-1build1_ppc64el.deb ... 523s Unpacking gir1.2-atk-1.0:ppc64el (2.52.0-1build1) ... 523s Selecting previously unselected package libpixman-1-0:ppc64el. 523s Preparing to unpack .../011-libpixman-1-0_0.42.2-1build1_ppc64el.deb ... 523s Unpacking libpixman-1-0:ppc64el (0.42.2-1build1) ... 523s Selecting previously unselected package libxcb-render0:ppc64el. 523s Preparing to unpack .../012-libxcb-render0_1.15-1ubuntu2_ppc64el.deb ... 523s Unpacking libxcb-render0:ppc64el (1.15-1ubuntu2) ... 523s Selecting previously unselected package libxcb-shm0:ppc64el. 523s Preparing to unpack .../013-libxcb-shm0_1.15-1ubuntu2_ppc64el.deb ... 523s Unpacking libxcb-shm0:ppc64el (1.15-1ubuntu2) ... 523s Selecting previously unselected package libxrender1:ppc64el. 523s Preparing to unpack .../014-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 523s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 523s Selecting previously unselected package libcairo2:ppc64el. 523s Preparing to unpack .../015-libcairo2_1.18.0-3build1_ppc64el.deb ... 523s Unpacking libcairo2:ppc64el (1.18.0-3build1) ... 523s Selecting previously unselected package libcairo-gobject2:ppc64el. 523s Preparing to unpack .../016-libcairo-gobject2_1.18.0-3build1_ppc64el.deb ... 523s Unpacking libcairo-gobject2:ppc64el (1.18.0-3build1) ... 523s Selecting previously unselected package gir1.2-freedesktop:ppc64el. 523s Preparing to unpack .../017-gir1.2-freedesktop_1.80.1-1_ppc64el.deb ... 523s Unpacking gir1.2-freedesktop:ppc64el (1.80.1-1) ... 523s Selecting previously unselected package gir1.2-gdkpixbuf-2.0:ppc64el. 523s Preparing to unpack .../018-gir1.2-gdkpixbuf-2.0_2.42.10+dfsg-3ubuntu3.1_ppc64el.deb ... 523s Unpacking gir1.2-gdkpixbuf-2.0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 523s Selecting previously unselected package libgraphite2-3:ppc64el. 523s Preparing to unpack .../019-libgraphite2-3_1.3.14-2build1_ppc64el.deb ... 523s Unpacking libgraphite2-3:ppc64el (1.3.14-2build1) ... 523s Selecting previously unselected package libharfbuzz0b:ppc64el. 523s Preparing to unpack .../020-libharfbuzz0b_8.3.0-2build2_ppc64el.deb ... 523s Unpacking libharfbuzz0b:ppc64el (8.3.0-2build2) ... 523s Selecting previously unselected package libharfbuzz-gobject0:ppc64el. 523s Preparing to unpack .../021-libharfbuzz-gobject0_8.3.0-2build2_ppc64el.deb ... 523s Unpacking libharfbuzz-gobject0:ppc64el (8.3.0-2build2) ... 523s Selecting previously unselected package gir1.2-harfbuzz-0.0:ppc64el. 523s Preparing to unpack .../022-gir1.2-harfbuzz-0.0_8.3.0-2build2_ppc64el.deb ... 523s Unpacking gir1.2-harfbuzz-0.0:ppc64el (8.3.0-2build2) ... 523s Selecting previously unselected package fontconfig. 523s Preparing to unpack .../023-fontconfig_2.15.0-1.1ubuntu2_ppc64el.deb ... 523s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 523s Selecting previously unselected package libthai-data. 523s Preparing to unpack .../024-libthai-data_0.1.29-2build1_all.deb ... 523s Unpacking libthai-data (0.1.29-2build1) ... 523s Selecting previously unselected package libdatrie1:ppc64el. 523s Preparing to unpack .../025-libdatrie1_0.2.13-3build1_ppc64el.deb ... 523s Unpacking libdatrie1:ppc64el (0.2.13-3build1) ... 523s Selecting previously unselected package libthai0:ppc64el. 523s Preparing to unpack .../026-libthai0_0.1.29-2build1_ppc64el.deb ... 523s Unpacking libthai0:ppc64el (0.1.29-2build1) ... 523s Selecting previously unselected package libpango-1.0-0:ppc64el. 523s Preparing to unpack .../027-libpango-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 523s Unpacking libpango-1.0-0:ppc64el (1.52.1+ds-1build1) ... 523s Selecting previously unselected package libpangoft2-1.0-0:ppc64el. 523s Preparing to unpack .../028-libpangoft2-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 523s Unpacking libpangoft2-1.0-0:ppc64el (1.52.1+ds-1build1) ... 523s Selecting previously unselected package libpangocairo-1.0-0:ppc64el. 523s Preparing to unpack .../029-libpangocairo-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 523s Unpacking libpangocairo-1.0-0:ppc64el (1.52.1+ds-1build1) ... 523s Selecting previously unselected package libxft2:ppc64el. 523s Preparing to unpack .../030-libxft2_2.3.6-1build1_ppc64el.deb ... 523s Unpacking libxft2:ppc64el (2.3.6-1build1) ... 523s Selecting previously unselected package libpangoxft-1.0-0:ppc64el. 523s Preparing to unpack .../031-libpangoxft-1.0-0_1.52.1+ds-1build1_ppc64el.deb ... 523s Unpacking libpangoxft-1.0-0:ppc64el (1.52.1+ds-1build1) ... 523s Selecting previously unselected package gir1.2-pango-1.0:ppc64el. 523s Preparing to unpack .../032-gir1.2-pango-1.0_1.52.1+ds-1build1_ppc64el.deb ... 523s Unpacking gir1.2-pango-1.0:ppc64el (1.52.1+ds-1build1) ... 523s Selecting previously unselected package libxi6:ppc64el. 523s Preparing to unpack .../033-libxi6_2%3a1.8.1-1build1_ppc64el.deb ... 523s Unpacking libxi6:ppc64el (2:1.8.1-1build1) ... 523s Selecting previously unselected package libatspi2.0-0t64:ppc64el. 523s Preparing to unpack .../034-libatspi2.0-0t64_2.52.0-1build1_ppc64el.deb ... 523s Unpacking libatspi2.0-0t64:ppc64el (2.52.0-1build1) ... 523s Selecting previously unselected package libatk-bridge2.0-0t64:ppc64el. 523s Preparing to unpack .../035-libatk-bridge2.0-0t64_2.52.0-1build1_ppc64el.deb ... 523s Unpacking libatk-bridge2.0-0t64:ppc64el (2.52.0-1build1) ... 523s Selecting previously unselected package liblcms2-2:ppc64el. 523s Preparing to unpack .../036-liblcms2-2_2.14-2build1_ppc64el.deb ... 523s Unpacking liblcms2-2:ppc64el (2.14-2build1) ... 523s Selecting previously unselected package libcolord2:ppc64el. 523s Preparing to unpack .../037-libcolord2_1.4.7-1build2_ppc64el.deb ... 523s Unpacking libcolord2:ppc64el (1.4.7-1build2) ... 523s Selecting previously unselected package libavahi-common-data:ppc64el. 523s Preparing to unpack .../038-libavahi-common-data_0.8-13ubuntu6_ppc64el.deb ... 523s Unpacking libavahi-common-data:ppc64el (0.8-13ubuntu6) ... 523s Selecting previously unselected package libavahi-common3:ppc64el. 523s Preparing to unpack .../039-libavahi-common3_0.8-13ubuntu6_ppc64el.deb ... 523s Unpacking libavahi-common3:ppc64el (0.8-13ubuntu6) ... 523s Selecting previously unselected package libavahi-client3:ppc64el. 523s Preparing to unpack .../040-libavahi-client3_0.8-13ubuntu6_ppc64el.deb ... 523s Unpacking libavahi-client3:ppc64el (0.8-13ubuntu6) ... 523s Selecting previously unselected package libcups2t64:ppc64el. 523s Preparing to unpack .../041-libcups2t64_2.4.7-1.2ubuntu7.3_ppc64el.deb ... 523s Unpacking libcups2t64:ppc64el (2.4.7-1.2ubuntu7.3) ... 523s Selecting previously unselected package libepoxy0:ppc64el. 523s Preparing to unpack .../042-libepoxy0_1.5.10-1build1_ppc64el.deb ... 523s Unpacking libepoxy0:ppc64el (1.5.10-1build1) ... 523s Selecting previously unselected package libwayland-client0:ppc64el. 523s Preparing to unpack .../043-libwayland-client0_1.22.0-2.1build1_ppc64el.deb ... 523s Unpacking libwayland-client0:ppc64el (1.22.0-2.1build1) ... 523s Selecting previously unselected package libwayland-cursor0:ppc64el. 523s Preparing to unpack .../044-libwayland-cursor0_1.22.0-2.1build1_ppc64el.deb ... 523s Unpacking libwayland-cursor0:ppc64el (1.22.0-2.1build1) ... 523s Selecting previously unselected package libwayland-egl1:ppc64el. 523s Preparing to unpack .../045-libwayland-egl1_1.22.0-2.1build1_ppc64el.deb ... 523s Unpacking libwayland-egl1:ppc64el (1.22.0-2.1build1) ... 523s Selecting previously unselected package libxcomposite1:ppc64el. 523s Preparing to unpack .../046-libxcomposite1_1%3a0.4.5-1build3_ppc64el.deb ... 523s Unpacking libxcomposite1:ppc64el (1:0.4.5-1build3) ... 523s Selecting previously unselected package libxfixes3:ppc64el. 523s Preparing to unpack .../047-libxfixes3_1%3a6.0.0-2build1_ppc64el.deb ... 523s Unpacking libxfixes3:ppc64el (1:6.0.0-2build1) ... 523s Selecting previously unselected package libxcursor1:ppc64el. 523s Preparing to unpack .../048-libxcursor1_1%3a1.2.1-1build1_ppc64el.deb ... 523s Unpacking libxcursor1:ppc64el (1:1.2.1-1build1) ... 523s Selecting previously unselected package libxdamage1:ppc64el. 523s Preparing to unpack .../049-libxdamage1_1%3a1.1.6-1build1_ppc64el.deb ... 523s Unpacking libxdamage1:ppc64el (1:1.1.6-1build1) ... 523s Selecting previously unselected package libxinerama1:ppc64el. 523s Preparing to unpack .../050-libxinerama1_2%3a1.1.4-3build1_ppc64el.deb ... 523s Unpacking libxinerama1:ppc64el (2:1.1.4-3build1) ... 524s Selecting previously unselected package libxrandr2:ppc64el. 524s Preparing to unpack .../051-libxrandr2_2%3a1.5.2-2build1_ppc64el.deb ... 524s Unpacking libxrandr2:ppc64el (2:1.5.2-2build1) ... 524s Selecting previously unselected package dbus-x11. 524s Preparing to unpack .../052-dbus-x11_1.14.10-4ubuntu4.1_ppc64el.deb ... 524s Unpacking dbus-x11 (1.14.10-4ubuntu4.1) ... 524s Selecting previously unselected package libdconf1:ppc64el. 524s Preparing to unpack .../053-libdconf1_0.40.0-4build2_ppc64el.deb ... 524s Unpacking libdconf1:ppc64el (0.40.0-4build2) ... 524s Selecting previously unselected package dconf-service. 524s Preparing to unpack .../054-dconf-service_0.40.0-4build2_ppc64el.deb ... 524s Unpacking dconf-service (0.40.0-4build2) ... 524s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 524s Preparing to unpack .../055-dconf-gsettings-backend_0.40.0-4build2_ppc64el.deb ... 524s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 524s Selecting previously unselected package libgtk-3-common. 524s Preparing to unpack .../056-libgtk-3-common_3.24.41-4ubuntu1.3_all.deb ... 524s Unpacking libgtk-3-common (3.24.41-4ubuntu1.3) ... 524s Selecting previously unselected package libgtk-3-0t64:ppc64el. 524s Preparing to unpack .../057-libgtk-3-0t64_3.24.41-4ubuntu1.3_ppc64el.deb ... 524s Unpacking libgtk-3-0t64:ppc64el (3.24.41-4ubuntu1.3) ... 524s Selecting previously unselected package gir1.2-gtk-3.0:ppc64el. 524s Preparing to unpack .../058-gir1.2-gtk-3.0_3.24.41-4ubuntu1.3_ppc64el.deb ... 524s Unpacking gir1.2-gtk-3.0:ppc64el (3.24.41-4ubuntu1.3) ... 524s Selecting previously unselected package libx11-xcb1:ppc64el. 524s Preparing to unpack .../059-libx11-xcb1_2%3a1.8.7-1build1_ppc64el.deb ... 524s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1build1) ... 524s Selecting previously unselected package libxcb-util1:ppc64el. 524s Preparing to unpack .../060-libxcb-util1_0.4.0-1build3_ppc64el.deb ... 524s Unpacking libxcb-util1:ppc64el (0.4.0-1build3) ... 524s Selecting previously unselected package libstartup-notification0:ppc64el. 524s Preparing to unpack .../061-libstartup-notification0_0.12-6build3_ppc64el.deb ... 524s Unpacking libstartup-notification0:ppc64el (0.12-6build3) ... 524s Selecting previously unselected package libxres1:ppc64el. 524s Preparing to unpack .../062-libxres1_2%3a1.2.1-1build1_ppc64el.deb ... 524s Unpacking libxres1:ppc64el (2:1.2.1-1build1) ... 524s Selecting previously unselected package libwnck-3-common. 524s Preparing to unpack .../063-libwnck-3-common_43.0-3build4_all.deb ... 524s Unpacking libwnck-3-common (43.0-3build4) ... 524s Selecting previously unselected package libwnck-3-0:ppc64el. 524s Preparing to unpack .../064-libwnck-3-0_43.0-3build4_ppc64el.deb ... 524s Unpacking libwnck-3-0:ppc64el (43.0-3build4) ... 524s Selecting previously unselected package gir1.2-wnck-3.0:ppc64el. 524s Preparing to unpack .../065-gir1.2-wnck-3.0_43.0-3build4_ppc64el.deb ... 524s Unpacking gir1.2-wnck-3.0:ppc64el (43.0-3build4) ... 524s Selecting previously unselected package gnome-terminal-data. 524s Preparing to unpack .../066-gnome-terminal-data_3.52.0-1ubuntu2_all.deb ... 524s Unpacking gnome-terminal-data (3.52.0-1ubuntu2) ... 524s Selecting previously unselected package session-migration. 524s Preparing to unpack .../067-session-migration_0.3.9build1_ppc64el.deb ... 524s Unpacking session-migration (0.3.9build1) ... 524s Selecting previously unselected package gsettings-desktop-schemas. 524s Preparing to unpack .../068-gsettings-desktop-schemas_46.1-0ubuntu1_all.deb ... 524s Unpacking gsettings-desktop-schemas (46.1-0ubuntu1) ... 524s Selecting previously unselected package libhandy-1-0:ppc64el. 524s Preparing to unpack .../069-libhandy-1-0_1.8.3-1build2_ppc64el.deb ... 524s Unpacking libhandy-1-0:ppc64el (1.8.3-1build2) ... 524s Selecting previously unselected package libvte-2.91-common. 524s Preparing to unpack .../070-libvte-2.91-common_0.76.0-1ubuntu0.1_ppc64el.deb ... 524s Unpacking libvte-2.91-common (0.76.0-1ubuntu0.1) ... 524s Selecting previously unselected package libvte-2.91-0:ppc64el. 524s Preparing to unpack .../071-libvte-2.91-0_0.76.0-1ubuntu0.1_ppc64el.deb ... 524s Unpacking libvte-2.91-0:ppc64el (0.76.0-1ubuntu0.1) ... 524s Selecting previously unselected package gnome-terminal. 524s Preparing to unpack .../072-gnome-terminal_3.52.0-1ubuntu2_ppc64el.deb ... 524s Unpacking gnome-terminal (3.52.0-1ubuntu2) ... 524s Selecting previously unselected package libwhoopsie-preferences0. 524s Preparing to unpack .../073-libwhoopsie-preferences0_23build3_ppc64el.deb ... 524s Unpacking libwhoopsie-preferences0 (23build3) ... 524s Selecting previously unselected package libwhoopsie0:ppc64el. 524s Preparing to unpack .../074-libwhoopsie0_0.2.77build3_ppc64el.deb ... 524s Unpacking libwhoopsie0:ppc64el (0.2.77build3) ... 524s Selecting previously unselected package whoopsie-preferences. 524s Preparing to unpack .../075-whoopsie-preferences_23build3_ppc64el.deb ... 524s Unpacking whoopsie-preferences (23build3) ... 524s Selecting previously unselected package apport-gtk. 524s Preparing to unpack .../076-apport-gtk_2.28.1-0ubuntu3.7_all.deb ... 524s Unpacking apport-gtk (2.28.1-0ubuntu3.7) ... 524s Selecting previously unselected package python3-pyqt5.sip. 524s Preparing to unpack .../077-python3-pyqt5.sip_12.13.0-1build3_ppc64el.deb ... 524s Unpacking python3-pyqt5.sip (12.13.0-1build3) ... 524s Selecting previously unselected package libdouble-conversion3:ppc64el. 524s Preparing to unpack .../078-libdouble-conversion3_3.3.0-1build1_ppc64el.deb ... 524s Unpacking libdouble-conversion3:ppc64el (3.3.0-1build1) ... 524s Selecting previously unselected package libpcre2-16-0:ppc64el. 524s Preparing to unpack .../079-libpcre2-16-0_10.42-4ubuntu2.1_ppc64el.deb ... 524s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu2.1) ... 524s Selecting previously unselected package libqt5core5t64:ppc64el. 524s Preparing to unpack .../080-libqt5core5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 524s Unpacking libqt5core5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 524s Selecting previously unselected package libqt5dbus5t64:ppc64el. 524s Preparing to unpack .../081-libqt5dbus5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 524s Unpacking libqt5dbus5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 524s Selecting previously unselected package libglvnd0:ppc64el. 524s Preparing to unpack .../082-libglvnd0_1.7.0-1build1_ppc64el.deb ... 524s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 524s Selecting previously unselected package libwayland-server0:ppc64el. 524s Preparing to unpack .../083-libwayland-server0_1.22.0-2.1build1_ppc64el.deb ... 524s Unpacking libwayland-server0:ppc64el (1.22.0-2.1build1) ... 524s Selecting previously unselected package libxcb-randr0:ppc64el. 524s Preparing to unpack .../084-libxcb-randr0_1.15-1ubuntu2_ppc64el.deb ... 524s Unpacking libxcb-randr0:ppc64el (1.15-1ubuntu2) ... 524s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 524s Preparing to unpack .../085-libdrm-amdgpu1_2.4.122-1~ubuntu0.24.04.1_ppc64el.deb ... 524s Unpacking libdrm-amdgpu1:ppc64el (2.4.122-1~ubuntu0.24.04.1) ... 524s Selecting previously unselected package libdrm-radeon1:ppc64el. 524s Preparing to unpack .../086-libdrm-radeon1_2.4.122-1~ubuntu0.24.04.1_ppc64el.deb ... 524s Unpacking libdrm-radeon1:ppc64el (2.4.122-1~ubuntu0.24.04.1) ... 524s Selecting previously unselected package libglapi-mesa:ppc64el. 524s Preparing to unpack .../087-libglapi-mesa_24.2.8-1ubuntu1~24.04.1_ppc64el.deb ... 524s Unpacking libglapi-mesa:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 524s Selecting previously unselected package libllvm19:ppc64el. 524s Preparing to unpack .../088-libllvm19_1%3a19.1.1-1ubuntu1~24.04.2_ppc64el.deb ... 524s Unpacking libllvm19:ppc64el (1:19.1.1-1ubuntu1~24.04.2) ... 525s Selecting previously unselected package libxcb-dri2-0:ppc64el. 525s Preparing to unpack .../089-libxcb-dri2-0_1.15-1ubuntu2_ppc64el.deb ... 525s Unpacking libxcb-dri2-0:ppc64el (1.15-1ubuntu2) ... 525s Selecting previously unselected package libxcb-dri3-0:ppc64el. 525s Preparing to unpack .../090-libxcb-dri3-0_1.15-1ubuntu2_ppc64el.deb ... 525s Unpacking libxcb-dri3-0:ppc64el (1.15-1ubuntu2) ... 525s Selecting previously unselected package libxcb-present0:ppc64el. 525s Preparing to unpack .../091-libxcb-present0_1.15-1ubuntu2_ppc64el.deb ... 525s Unpacking libxcb-present0:ppc64el (1.15-1ubuntu2) ... 525s Selecting previously unselected package libxcb-sync1:ppc64el. 525s Preparing to unpack .../092-libxcb-sync1_1.15-1ubuntu2_ppc64el.deb ... 525s Unpacking libxcb-sync1:ppc64el (1.15-1ubuntu2) ... 525s Selecting previously unselected package libxcb-xfixes0:ppc64el. 525s Preparing to unpack .../093-libxcb-xfixes0_1.15-1ubuntu2_ppc64el.deb ... 525s Unpacking libxcb-xfixes0:ppc64el (1.15-1ubuntu2) ... 525s Selecting previously unselected package libxshmfence1:ppc64el. 525s Preparing to unpack .../094-libxshmfence1_1.3-1build5_ppc64el.deb ... 525s Unpacking libxshmfence1:ppc64el (1.3-1build5) ... 525s Selecting previously unselected package mesa-libgallium:ppc64el. 525s Preparing to unpack .../095-mesa-libgallium_24.2.8-1ubuntu1~24.04.1_ppc64el.deb ... 525s Unpacking mesa-libgallium:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 525s Selecting previously unselected package libgbm1:ppc64el. 525s Preparing to unpack .../096-libgbm1_24.2.8-1ubuntu1~24.04.1_ppc64el.deb ... 525s Unpacking libgbm1:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 525s Selecting previously unselected package libegl-mesa0:ppc64el. 525s Preparing to unpack .../097-libegl-mesa0_24.2.8-1ubuntu1~24.04.1_ppc64el.deb ... 525s Unpacking libegl-mesa0:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 525s Selecting previously unselected package libegl1:ppc64el. 525s Preparing to unpack .../098-libegl1_1.7.0-1build1_ppc64el.deb ... 525s Unpacking libegl1:ppc64el (1.7.0-1build1) ... 525s Selecting previously unselected package libxcb-glx0:ppc64el. 525s Preparing to unpack .../099-libxcb-glx0_1.15-1ubuntu2_ppc64el.deb ... 525s Unpacking libxcb-glx0:ppc64el (1.15-1ubuntu2) ... 525s Selecting previously unselected package libxxf86vm1:ppc64el. 525s Preparing to unpack .../100-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 525s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 525s Selecting previously unselected package libvulkan1:ppc64el. 525s Preparing to unpack .../101-libvulkan1_1.3.275.0-1build1_ppc64el.deb ... 525s Unpacking libvulkan1:ppc64el (1.3.275.0-1build1) ... 525s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 525s Preparing to unpack .../102-libgl1-mesa-dri_24.2.8-1ubuntu1~24.04.1_ppc64el.deb ... 525s Unpacking libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 525s Selecting previously unselected package libglx-mesa0:ppc64el. 525s Preparing to unpack .../103-libglx-mesa0_24.2.8-1ubuntu1~24.04.1_ppc64el.deb ... 525s Unpacking libglx-mesa0:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 525s Selecting previously unselected package libglx0:ppc64el. 525s Preparing to unpack .../104-libglx0_1.7.0-1build1_ppc64el.deb ... 525s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 526s Selecting previously unselected package libgl1:ppc64el. 526s Preparing to unpack .../105-libgl1_1.7.0-1build1_ppc64el.deb ... 526s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 526s Selecting previously unselected package x11-common. 526s Preparing to unpack .../106-x11-common_1%3a7.7+23ubuntu3_all.deb ... 526s Unpacking x11-common (1:7.7+23ubuntu3) ... 526s Selecting previously unselected package libice6:ppc64el. 526s Preparing to unpack .../107-libice6_2%3a1.0.10-1build3_ppc64el.deb ... 526s Unpacking libice6:ppc64el (2:1.0.10-1build3) ... 526s Selecting previously unselected package libmtdev1t64:ppc64el. 526s Preparing to unpack .../108-libmtdev1t64_1.1.6-1.1build1_ppc64el.deb ... 526s Unpacking libmtdev1t64:ppc64el (1.1.6-1.1build1) ... 526s Selecting previously unselected package libwacom-common. 526s Preparing to unpack .../109-libwacom-common_2.10.0-2_all.deb ... 526s Unpacking libwacom-common (2.10.0-2) ... 526s Selecting previously unselected package libwacom9:ppc64el. 526s Preparing to unpack .../110-libwacom9_2.10.0-2_ppc64el.deb ... 526s Unpacking libwacom9:ppc64el (2.10.0-2) ... 526s Selecting previously unselected package libinput-bin. 526s Preparing to unpack .../111-libinput-bin_1.25.0-1ubuntu3.1_ppc64el.deb ... 526s Unpacking libinput-bin (1.25.0-1ubuntu3.1) ... 526s Selecting previously unselected package libinput10:ppc64el. 526s Preparing to unpack .../112-libinput10_1.25.0-1ubuntu3.1_ppc64el.deb ... 526s Unpacking libinput10:ppc64el (1.25.0-1ubuntu3.1) ... 526s Selecting previously unselected package libmd4c0:ppc64el. 526s Preparing to unpack .../113-libmd4c0_0.4.8-1build1_ppc64el.deb ... 526s Unpacking libmd4c0:ppc64el (0.4.8-1build1) ... 526s Selecting previously unselected package libqt5network5t64:ppc64el. 526s Preparing to unpack .../114-libqt5network5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5network5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package libsm6:ppc64el. 526s Preparing to unpack .../115-libsm6_2%3a1.2.3-1build3_ppc64el.deb ... 526s Unpacking libsm6:ppc64el (2:1.2.3-1build3) ... 526s Selecting previously unselected package libxcb-icccm4:ppc64el. 526s Preparing to unpack .../116-libxcb-icccm4_0.4.1-1.1build3_ppc64el.deb ... 526s Unpacking libxcb-icccm4:ppc64el (0.4.1-1.1build3) ... 526s Selecting previously unselected package libxcb-image0:ppc64el. 526s Preparing to unpack .../117-libxcb-image0_0.4.0-2build1_ppc64el.deb ... 526s Unpacking libxcb-image0:ppc64el (0.4.0-2build1) ... 526s Selecting previously unselected package libxcb-keysyms1:ppc64el. 526s Preparing to unpack .../118-libxcb-keysyms1_0.4.0-1build4_ppc64el.deb ... 526s Unpacking libxcb-keysyms1:ppc64el (0.4.0-1build4) ... 526s Selecting previously unselected package libxcb-render-util0:ppc64el. 526s Preparing to unpack .../119-libxcb-render-util0_0.3.9-1build4_ppc64el.deb ... 526s Unpacking libxcb-render-util0:ppc64el (0.3.9-1build4) ... 526s Selecting previously unselected package libxcb-shape0:ppc64el. 526s Preparing to unpack .../120-libxcb-shape0_1.15-1ubuntu2_ppc64el.deb ... 526s Unpacking libxcb-shape0:ppc64el (1.15-1ubuntu2) ... 526s Selecting previously unselected package libxcb-xinerama0:ppc64el. 526s Preparing to unpack .../121-libxcb-xinerama0_1.15-1ubuntu2_ppc64el.deb ... 526s Unpacking libxcb-xinerama0:ppc64el (1.15-1ubuntu2) ... 526s Selecting previously unselected package libxcb-xinput0:ppc64el. 526s Preparing to unpack .../122-libxcb-xinput0_1.15-1ubuntu2_ppc64el.deb ... 526s Unpacking libxcb-xinput0:ppc64el (1.15-1ubuntu2) ... 526s Selecting previously unselected package libxcb-xkb1:ppc64el. 526s Preparing to unpack .../123-libxcb-xkb1_1.15-1ubuntu2_ppc64el.deb ... 526s Unpacking libxcb-xkb1:ppc64el (1.15-1ubuntu2) ... 526s Selecting previously unselected package libxkbcommon-x11-0:ppc64el. 526s Preparing to unpack .../124-libxkbcommon-x11-0_1.6.0-1build1_ppc64el.deb ... 526s Unpacking libxkbcommon-x11-0:ppc64el (1.6.0-1build1) ... 526s Selecting previously unselected package libqt5gui5t64:ppc64el. 526s Preparing to unpack .../125-libqt5gui5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5gui5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package libqt5widgets5t64:ppc64el. 526s Preparing to unpack .../126-libqt5widgets5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5widgets5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package libqt5xml5t64:ppc64el. 526s Preparing to unpack .../127-libqt5xml5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5xml5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package libqt5designer5:ppc64el. 526s Preparing to unpack .../128-libqt5designer5_5.15.13-1_ppc64el.deb ... 526s Unpacking libqt5designer5:ppc64el (5.15.13-1) ... 526s Selecting previously unselected package libqt5sql5t64:ppc64el. 526s Preparing to unpack .../129-libqt5sql5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5sql5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package libqt5help5:ppc64el. 526s Preparing to unpack .../130-libqt5help5_5.15.13-1_ppc64el.deb ... 526s Unpacking libqt5help5:ppc64el (5.15.13-1) ... 526s Selecting previously unselected package libqt5printsupport5t64:ppc64el. 526s Preparing to unpack .../131-libqt5printsupport5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5printsupport5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package libqt5test5t64:ppc64el. 526s Preparing to unpack .../132-libqt5test5t64_5.15.13+dfsg-1ubuntu1_ppc64el.deb ... 526s Unpacking libqt5test5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 526s Selecting previously unselected package python3-pyqt5. 526s Preparing to unpack .../133-python3-pyqt5_5.15.10+dfsg-1build6_ppc64el.deb ... 526s Unpacking python3-pyqt5 (5.15.10+dfsg-1build6) ... 526s Selecting previously unselected package apport-kde. 526s Preparing to unpack .../134-apport-kde_2.28.1-0ubuntu3.7_all.deb ... 526s Unpacking apport-kde (2.28.1-0ubuntu3.7) ... 526s Selecting previously unselected package libbabeltrace1:ppc64el. 526s Preparing to unpack .../135-libbabeltrace1_1.5.11-3build3_ppc64el.deb ... 526s Unpacking libbabeltrace1:ppc64el (1.5.11-3build3) ... 526s Selecting previously unselected package libdebuginfod1t64:ppc64el. 526s Preparing to unpack .../136-libdebuginfod1t64_0.190-1.1ubuntu0.1_ppc64el.deb ... 526s Unpacking libdebuginfod1t64:ppc64el (0.190-1.1ubuntu0.1) ... 526s Selecting previously unselected package libsource-highlight-common. 526s Preparing to unpack .../137-libsource-highlight-common_3.1.9-4.3build1_all.deb ... 526s Unpacking libsource-highlight-common (3.1.9-4.3build1) ... 526s Selecting previously unselected package libsource-highlight4t64:ppc64el. 526s Preparing to unpack .../138-libsource-highlight4t64_3.1.9-4.3build1_ppc64el.deb ... 526s Unpacking libsource-highlight4t64:ppc64el (3.1.9-4.3build1) ... 526s Selecting previously unselected package gdb. 526s Preparing to unpack .../139-gdb_15.0.50.20240403-0ubuntu1_ppc64el.deb ... 526s Unpacking gdb (15.0.50.20240403-0ubuntu1) ... 527s Selecting previously unselected package libc6-dbg:ppc64el. 527s Preparing to unpack .../140-libc6-dbg_2.39-0ubuntu8.4_ppc64el.deb ... 527s Unpacking libc6-dbg:ppc64el (2.39-0ubuntu8.4) ... 527s Selecting previously unselected package apport-retrace. 527s Preparing to unpack .../141-apport-retrace_2.28.1-0ubuntu3.7_all.deb ... 527s Unpacking apport-retrace (2.28.1-0ubuntu3.7) ... 527s Selecting previously unselected package valgrind. 527s Preparing to unpack .../142-valgrind_1%3a3.22.0-0ubuntu3_ppc64el.deb ... 527s Unpacking valgrind (1:3.22.0-0ubuntu3) ... 527s Selecting previously unselected package apport-valgrind. 527s Preparing to unpack .../143-apport-valgrind_2.28.1-0ubuntu3.7_all.deb ... 527s Unpacking apport-valgrind (2.28.1-0ubuntu3.7) ... 527s Selecting previously unselected package chaos-marmosets. 527s Preparing to unpack .../144-chaos-marmosets_0.1.2-2_ppc64el.deb ... 527s Unpacking chaos-marmosets (0.1.2-2) ... 527s Selecting previously unselected package gcc-13-base:ppc64el. 527s Preparing to unpack .../145-gcc-13-base_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 527s Unpacking gcc-13-base:ppc64el (13.3.0-6ubuntu2~24.04) ... 527s Selecting previously unselected package libisl23:ppc64el. 527s Preparing to unpack .../146-libisl23_0.26-3build1.1_ppc64el.deb ... 527s Unpacking libisl23:ppc64el (0.26-3build1.1) ... 527s Selecting previously unselected package libmpc3:ppc64el. 527s Preparing to unpack .../147-libmpc3_1.3.1-1build1.1_ppc64el.deb ... 527s Unpacking libmpc3:ppc64el (1.3.1-1build1.1) ... 527s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 527s Preparing to unpack .../148-cpp-13-powerpc64le-linux-gnu_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 527s Unpacking cpp-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 527s Selecting previously unselected package cpp-13. 527s Preparing to unpack .../149-cpp-13_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 527s Unpacking cpp-13 (13.3.0-6ubuntu2~24.04) ... 527s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 527s Preparing to unpack .../150-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 527s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 527s Selecting previously unselected package cpp. 527s Preparing to unpack .../151-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 527s Unpacking cpp (4:13.2.0-7ubuntu1) ... 527s Selecting previously unselected package desktop-file-utils. 527s Preparing to unpack .../152-desktop-file-utils_0.27-2build1_ppc64el.deb ... 527s Unpacking desktop-file-utils (0.27-2build1) ... 527s Selecting previously unselected package libcc1-0:ppc64el. 527s Preparing to unpack .../153-libcc1-0_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 527s Unpacking libcc1-0:ppc64el (14.2.0-4ubuntu2~24.04) ... 527s Selecting previously unselected package libgomp1:ppc64el. 527s Preparing to unpack .../154-libgomp1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 527s Unpacking libgomp1:ppc64el (14.2.0-4ubuntu2~24.04) ... 527s Selecting previously unselected package libitm1:ppc64el. 527s Preparing to unpack .../155-libitm1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 527s Unpacking libitm1:ppc64el (14.2.0-4ubuntu2~24.04) ... 527s Selecting previously unselected package libatomic1:ppc64el. 527s Preparing to unpack .../156-libatomic1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 527s Unpacking libatomic1:ppc64el (14.2.0-4ubuntu2~24.04) ... 527s Selecting previously unselected package libasan8:ppc64el. 527s Preparing to unpack .../157-libasan8_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 527s Unpacking libasan8:ppc64el (14.2.0-4ubuntu2~24.04) ... 528s Selecting previously unselected package liblsan0:ppc64el. 528s Preparing to unpack .../158-liblsan0_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 528s Unpacking liblsan0:ppc64el (14.2.0-4ubuntu2~24.04) ... 528s Selecting previously unselected package libtsan2:ppc64el. 528s Preparing to unpack .../159-libtsan2_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 528s Unpacking libtsan2:ppc64el (14.2.0-4ubuntu2~24.04) ... 528s Selecting previously unselected package libubsan1:ppc64el. 528s Preparing to unpack .../160-libubsan1_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 528s Unpacking libubsan1:ppc64el (14.2.0-4ubuntu2~24.04) ... 528s Selecting previously unselected package libquadmath0:ppc64el. 528s Preparing to unpack .../161-libquadmath0_14.2.0-4ubuntu2~24.04_ppc64el.deb ... 528s Unpacking libquadmath0:ppc64el (14.2.0-4ubuntu2~24.04) ... 528s Selecting previously unselected package libgcc-13-dev:ppc64el. 528s Preparing to unpack .../162-libgcc-13-dev_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 528s Unpacking libgcc-13-dev:ppc64el (13.3.0-6ubuntu2~24.04) ... 528s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 528s Preparing to unpack .../163-gcc-13-powerpc64le-linux-gnu_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 528s Unpacking gcc-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 528s Selecting previously unselected package gcc-13. 528s Preparing to unpack .../164-gcc-13_13.3.0-6ubuntu2~24.04_ppc64el.deb ... 528s Unpacking gcc-13 (13.3.0-6ubuntu2~24.04) ... 528s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 528s Preparing to unpack .../165-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 528s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 528s Selecting previously unselected package gcc. 528s Preparing to unpack .../166-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 528s Unpacking gcc (4:13.2.0-7ubuntu1) ... 528s Selecting previously unselected package gdb-multiarch. 528s Preparing to unpack .../167-gdb-multiarch_15.0.50.20240403-0ubuntu1_ppc64el.deb ... 528s Unpacking gdb-multiarch (15.0.50.20240403-0ubuntu1) ... 528s Selecting previously unselected package librsvg2-2:ppc64el. 528s Preparing to unpack .../168-librsvg2-2_2.58.0+dfsg-1build1_ppc64el.deb ... 528s Unpacking librsvg2-2:ppc64el (2.58.0+dfsg-1build1) ... 528s Selecting previously unselected package librsvg2-common:ppc64el. 528s Preparing to unpack .../169-librsvg2-common_2.58.0+dfsg-1build1_ppc64el.deb ... 528s Unpacking librsvg2-common:ppc64el (2.58.0+dfsg-1build1) ... 528s Selecting previously unselected package gnome-icon-theme. 528s Preparing to unpack .../170-gnome-icon-theme_3.12.0-5_all.deb ... 528s Unpacking gnome-icon-theme (3.12.0-5) ... 529s Selecting previously unselected package gvfs-common. 529s Preparing to unpack .../171-gvfs-common_1.54.0-1ubuntu2_all.deb ... 529s Unpacking gvfs-common (1.54.0-1ubuntu2) ... 529s Selecting previously unselected package libgck-2-2:ppc64el. 529s Preparing to unpack .../172-libgck-2-2_4.2.0-5_ppc64el.deb ... 529s Unpacking libgck-2-2:ppc64el (4.2.0-5) ... 529s Selecting previously unselected package libgcr-4-4:ppc64el. 529s Preparing to unpack .../173-libgcr-4-4_4.2.0-5_ppc64el.deb ... 529s Unpacking libgcr-4-4:ppc64el (4.2.0-5) ... 529s Selecting previously unselected package libsecret-common. 529s Preparing to unpack .../174-libsecret-common_0.21.4-1build3_all.deb ... 529s Unpacking libsecret-common (0.21.4-1build3) ... 529s Selecting previously unselected package libsecret-1-0:ppc64el. 529s Preparing to unpack .../175-libsecret-1-0_0.21.4-1build3_ppc64el.deb ... 529s Unpacking libsecret-1-0:ppc64el (0.21.4-1build3) ... 529s Selecting previously unselected package gvfs-libs:ppc64el. 529s Preparing to unpack .../176-gvfs-libs_1.54.0-1ubuntu2_ppc64el.deb ... 529s Unpacking gvfs-libs:ppc64el (1.54.0-1ubuntu2) ... 529s Selecting previously unselected package gvfs-daemons. 529s Preparing to unpack .../177-gvfs-daemons_1.54.0-1ubuntu2_ppc64el.deb ... 529s Unpacking gvfs-daemons (1.54.0-1ubuntu2) ... 529s Selecting previously unselected package libfontenc1:ppc64el. 529s Preparing to unpack .../178-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 529s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 529s Selecting previously unselected package libxt6t64:ppc64el. 529s Preparing to unpack .../179-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 529s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 529s Selecting previously unselected package libxmu6:ppc64el. 529s Preparing to unpack .../180-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 529s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 529s Selecting previously unselected package libxaw7:ppc64el. 529s Preparing to unpack .../181-libxaw7_2%3a1.0.14-1build2_ppc64el.deb ... 529s Unpacking libxaw7:ppc64el (2:1.0.14-1build2) ... 529s Selecting previously unselected package libxfont2:ppc64el. 529s Preparing to unpack .../182-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 529s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 529s Selecting previously unselected package libxkbfile1:ppc64el. 529s Preparing to unpack .../183-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 529s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 529s Selecting previously unselected package python3-iniconfig. 529s Preparing to unpack .../184-python3-iniconfig_1.1.1-2_all.deb ... 529s Unpacking python3-iniconfig (1.1.1-2) ... 529s Selecting previously unselected package python3-packaging. 529s Preparing to unpack .../185-python3-packaging_24.0-1_all.deb ... 529s Unpacking python3-packaging (24.0-1) ... 529s Selecting previously unselected package python3-pluggy. 529s Preparing to unpack .../186-python3-pluggy_1.4.0-1_all.deb ... 529s Unpacking python3-pluggy (1.4.0-1) ... 529s Selecting previously unselected package python3-psutil. 529s Preparing to unpack .../187-python3-psutil_5.9.8-2build2_ppc64el.deb ... 529s Unpacking python3-psutil (5.9.8-2build2) ... 529s Selecting previously unselected package python3-pytest. 529s Preparing to unpack .../188-python3-pytest_7.4.4-1_all.deb ... 529s Unpacking python3-pytest (7.4.4-1) ... 529s Selecting previously unselected package ubuntu-dbgsym-keyring. 529s Preparing to unpack .../189-ubuntu-dbgsym-keyring_2023.11.28.1_all.deb ... 529s Unpacking ubuntu-dbgsym-keyring (2023.11.28.1) ... 529s Selecting previously unselected package x11-xkb-utils. 529s Preparing to unpack .../190-x11-xkb-utils_7.7+8build2_ppc64el.deb ... 529s Unpacking x11-xkb-utils (7.7+8build2) ... 529s Selecting previously unselected package xserver-common. 529s Preparing to unpack .../191-xserver-common_2%3a21.1.12-1ubuntu1.4_all.deb ... 529s Unpacking xserver-common (2:21.1.12-1ubuntu1.4) ... 529s Selecting previously unselected package xvfb. 529s Preparing to unpack .../192-xvfb_2%3a21.1.12-1ubuntu1.4_ppc64el.deb ... 529s Unpacking xvfb (2:21.1.12-1ubuntu1.4) ... 529s Setting up libgraphite2-3:ppc64el (1.3.14-2build1) ... 529s Setting up libxcb-dri3-0:ppc64el (1.15-1ubuntu2) ... 529s Setting up liblcms2-2:ppc64el (2.14-2build1) ... 529s Setting up python3-iniconfig (1.1.1-2) ... 529s Setting up libpixman-1-0:ppc64el (0.42.2-1build1) ... 529s Setting up libllvm19:ppc64el (1:19.1.1-1ubuntu1~24.04.2) ... 529s Setting up libwayland-server0:ppc64el (1.22.0-2.1build1) ... 529s Setting up libx11-xcb1:ppc64el (2:1.8.7-1build1) ... 529s Setting up libwhoopsie-preferences0 (23build3) ... 529s Setting up session-migration (0.3.9build1) ... 529s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 529s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 532s Regenerating fonts cache... done. 532s Setting up libdouble-conversion3:ppc64el (3.3.0-1build1) ... 532s Setting up libgck-2-2:ppc64el (4.2.0-5) ... 532s Setting up libxdamage1:ppc64el (1:1.1.6-1build1) ... 532s Setting up libxcb-xfixes0:ppc64el (1.15-1ubuntu2) ... 532s Setting up desktop-file-utils (0.27-2build1) ... 532s Setting up libgcr-4-4:ppc64el (4.2.0-5) ... 532s Setting up hicolor-icon-theme (0.17-2) ... 532s Setting up libxi6:ppc64el (2:1.8.1-1build1) ... 532s Setting up libxcb-xinput0:ppc64el (1.15-1ubuntu2) ... 532s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 532s Setting up libvte-2.91-common (0.76.0-1ubuntu0.1) ... 532s Setting up libdatrie1:ppc64el (0.2.13-3build1) ... 532s Setting up libdebuginfod-common (0.190-1.1ubuntu0.1) ... 532s Setting up libxcb-render0:ppc64el (1.15-1ubuntu2) ... 532s Setting up libdrm-radeon1:ppc64el (2.4.122-1~ubuntu0.24.04.1) ... 532s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 532s Setting up libwnck-3-common (43.0-3build4) ... 532s Setting up libxcb-glx0:ppc64el (1.15-1ubuntu2) ... 532s Setting up ubuntu-dbgsym-keyring (2023.11.28.1) ... 532s Setting up libgdk-pixbuf2.0-common (2.42.10+dfsg-3ubuntu3.1) ... 532s Setting up libxcb-keysyms1:ppc64el (0.4.0-1build4) ... 532s Setting up libxcb-shape0:ppc64el (1.15-1ubuntu2) ... 532s Setting up x11-common (1:7.7+23ubuntu3) ... 532s Setting up libxcb-render-util0:ppc64el (0.3.9-1build4) ... 532s Setting up libxcb-shm0:ppc64el (1.15-1ubuntu2) ... 532s Setting up libxcb-icccm4:ppc64el (0.4.1-1.1build3) ... 532s Setting up libwhoopsie0:ppc64el (0.2.77build3) ... 532s Setting up libgomp1:ppc64el (14.2.0-4ubuntu2~24.04) ... 532s Setting up libcairo2:ppc64el (1.18.0-3build1) ... 532s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu2.1) ... 532s Setting up libcolord2:ppc64el (1.4.7-1build2) ... 532s Setting up python3-psutil (5.9.8-2build2) ... 532s Setting up gnome-terminal-data (3.52.0-1ubuntu2) ... 532s Setting up libsource-highlight-common (3.1.9-4.3build1) ... 532s Setting up libxcb-util1:ppc64el (0.4.0-1build3) ... 532s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 532s Setting up libc6-dbg:ppc64el (2.39-0ubuntu8.4) ... 532s Setting up libxcb-xkb1:ppc64el (1.15-1ubuntu2) ... 532s Setting up libxcb-image0:ppc64el (0.4.0-2build1) ... 532s Setting up libxcb-present0:ppc64el (1.15-1ubuntu2) ... 532s Setting up libdconf1:ppc64el (0.40.0-4build2) ... 532s Setting up libqt5core5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 532s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 532s Setting up python3-packaging (24.0-1) ... 533s Setting up libxcb-xinerama0:ppc64el (1.15-1ubuntu2) ... 533s Setting up gcc-13-base:ppc64el (13.3.0-6ubuntu2~24.04) ... 533s Setting up libepoxy0:ppc64el (1.5.10-1build1) ... 533s Setting up libxfixes3:ppc64el (1:6.0.0-2build1) ... 533s Setting up libxcb-sync1:ppc64el (1.15-1ubuntu2) ... 533s Setting up libavahi-common-data:ppc64el (0.8-13ubuntu6) ... 533s Setting up libatspi2.0-0t64:ppc64el (2.52.0-1build1) ... 533s Setting up libquadmath0:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up chaos-marmosets (0.1.2-2) ... 533s Setting up libxinerama1:ppc64el (2:1.1.4-3build1) ... 533s Setting up libxkbcommon-x11-0:ppc64el (1.6.0-1build1) ... 533s Setting up libmpc3:ppc64el (1.3.1-1build1.1) ... 533s Setting up libatomic1:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up libxrandr2:ppc64el (2:1.5.2-2build1) ... 533s Setting up libbabeltrace1:ppc64el (1.5.11-3build3) ... 533s Setting up libglapi-mesa:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 533s Setting up libvulkan1:ppc64el (1.3.275.0-1build1) ... 533s Setting up python3-pluggy (1.4.0-1) ... 533s Setting up libubsan1:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up libxcb-dri2-0:ppc64el (1.15-1ubuntu2) ... 533s Setting up python3-pyqt5.sip (12.13.0-1build3) ... 533s Setting up libmtdev1t64:ppc64el (1.1.6-1.1build1) ... 533s Setting up libxshmfence1:ppc64el (1.3-1build5) ... 533s Setting up at-spi2-common (2.52.0-1build1) ... 533s Setting up dbus-x11 (1.14.10-4ubuntu4.1) ... 533s Setting up libxcb-randr0:ppc64el (1.15-1ubuntu2) ... 533s Setting up libasan8:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up libqt5sql5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up libmd4c0:ppc64el (0.4.8-1build1) ... 533s Setting up libharfbuzz0b:ppc64el (8.3.0-2build2) ... 533s Setting up libthai-data (0.1.29-2build1) ... 533s Setting up libgdk-pixbuf-2.0-0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 533s Setting up libcairo-gobject2:ppc64el (1.18.0-3build1) ... 533s Setting up libwayland-egl1:ppc64el (1.22.0-2.1build1) ... 533s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 533s Setting up libtsan2:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up libisl23:ppc64el (0.26-3build1.1) ... 533s Setting up valgrind (1:3.22.0-0ubuntu3) ... 533s Setting up cpp-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 533s Setting up gvfs-common (1.54.0-1ubuntu2) ... 533s Setting up libxcomposite1:ppc64el (1:0.4.5-1build3) ... 533s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 533s Setting up libcc1-0:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up libsecret-common (0.21.4-1build3) ... 533s Setting up liblsan0:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up libitm1:ppc64el (14.2.0-4ubuntu2~24.04) ... 533s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 533s Setting up libxres1:ppc64el (2:1.2.1-1build1) ... 533s Setting up libdrm-amdgpu1:ppc64el (2.4.122-1~ubuntu0.24.04.1) ... 533s Setting up libwacom-common (2.10.0-2) ... 533s Setting up libstartup-notification0:ppc64el (0.12-6build3) ... 533s Setting up libwayland-client0:ppc64el (1.22.0-2.1build1) ... 533s Setting up gtk-update-icon-cache (3.24.41-4ubuntu1.3) ... 533s Setting up libdebuginfod1t64:ppc64el (0.190-1.1ubuntu0.1) ... 533s Setting up libice6:ppc64el (2:1.0.10-1build3) ... 533s Setting up mesa-libgallium:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 533s Setting up libxft2:ppc64el (2.3.6-1build1) ... 533s Setting up libqt5dbus5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up gir1.2-freedesktop:ppc64el (1.80.1-1) ... 533s Setting up libatk1.0-0t64:ppc64el (2.52.0-1build1) ... 533s Setting up cpp-13 (13.3.0-6ubuntu2~24.04) ... 533s Setting up gir1.2-gdkpixbuf-2.0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 533s Setting up libgbm1:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 533s Setting up gir1.2-atk-1.0:ppc64el (2.52.0-1build1) ... 533s Setting up libwacom9:ppc64el (2.10.0-2) ... 533s Setting up python3-pytest (7.4.4-1) ... 533s Setting up libxcursor1:ppc64el (1:1.2.1-1build1) ... 533s Setting up libgl1-mesa-dri:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 533s Setting up libqt5network5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up libavahi-common3:ppc64el (0.8-13ubuntu6) ... 533s Setting up apport-valgrind (2.28.1-0ubuntu3.7) ... 533s Setting up libqt5xml5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up dconf-service (0.40.0-4build2) ... 533s Setting up libsource-highlight4t64:ppc64el (3.1.9-4.3build1) ... 533s Setting up whoopsie-preferences (23build3) ... 533s Setting up libharfbuzz-gobject0:ppc64el (8.3.0-2build2) ... 533s Setting up libqt5test5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up gir1.2-harfbuzz-0.0:ppc64el (8.3.0-2build2) ... 533s Setting up libinput-bin (1.25.0-1ubuntu3.1) ... 533s Setting up libthai0:ppc64el (0.1.29-2build1) ... 533s Setting up libsecret-1-0:ppc64el (0.21.4-1build3) ... 533s Setting up libegl-mesa0:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 533s Setting up gdb (15.0.50.20240403-0ubuntu1) ... 533s Setting up gdb-multiarch (15.0.50.20240403-0ubuntu1) ... 533s Setting up libgcc-13-dev:ppc64el (13.3.0-6ubuntu2~24.04) ... 533s Setting up libwayland-cursor0:ppc64el (1.22.0-2.1build1) ... 533s Setting up cpp (4:13.2.0-7ubuntu1) ... 533s Setting up libegl1:ppc64el (1.7.0-1build1) ... 533s Setting up libsm6:ppc64el (2:1.2.3-1build3) ... 533s Setting up libavahi-client3:ppc64el (0.8-13ubuntu6) ... 533s Setting up libatk-bridge2.0-0t64:ppc64el (2.52.0-1build1) ... 533s Setting up libinput10:ppc64el (1.25.0-1ubuntu3.1) ... 533s Setting up libglx-mesa0:ppc64el (24.2.8-1ubuntu1~24.04.1) ... 533s Setting up libglx0:ppc64el (1.7.0-1build1) ... 533s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 533s Setting up libpango-1.0-0:ppc64el (1.52.1+ds-1build1) ... 533s Setting up apport-retrace (2.28.1-0ubuntu3.7) ... 533s Setting up libgl1:ppc64el (1.7.0-1build1) ... 533s Setting up gcc-13-powerpc64le-linux-gnu (13.3.0-6ubuntu2~24.04) ... 533s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 533s Setting up gcc-13 (13.3.0-6ubuntu2~24.04) ... 533s Setting up libpangoft2-1.0-0:ppc64el (1.52.1+ds-1build1) ... 533s Setting up libcups2t64:ppc64el (2.4.7-1.2ubuntu7.3) ... 533s Setting up libgtk-3-common (3.24.41-4ubuntu1.3) ... 533s Setting up libpangocairo-1.0-0:ppc64el (1.52.1+ds-1build1) ... 533s Setting up gsettings-desktop-schemas (46.1-0ubuntu1) ... 533s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 533s Setting up libpangoxft-1.0-0:ppc64el (1.52.1+ds-1build1) ... 533s Setting up libxaw7:ppc64el (2:1.0.14-1build2) ... 533s Setting up librsvg2-2:ppc64el (2.58.0+dfsg-1build1) ... 533s Setting up gir1.2-pango-1.0:ppc64el (1.52.1+ds-1build1) ... 533s Setting up libqt5gui5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 533s Setting up librsvg2-common:ppc64el (2.58.0+dfsg-1build1) ... 533s Setting up libqt5widgets5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up x11-xkb-utils (7.7+8build2) ... 533s Setting up libqt5help5:ppc64el (5.15.13-1) ... 533s Setting up gnome-icon-theme (3.12.0-5) ... 533s update-alternatives: using /usr/share/icons/gnome/scalable/places/debian-swirl.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode 533s Setting up gcc (4:13.2.0-7ubuntu1) ... 533s Setting up xserver-common (2:21.1.12-1ubuntu1.4) ... 533s Setting up libqt5printsupport5t64:ppc64el (5.15.13+dfsg-1ubuntu1) ... 533s Setting up libqt5designer5:ppc64el (5.15.13-1) ... 533s Setting up xvfb (2:21.1.12-1ubuntu1.4) ... 533s Setting up python3-pyqt5 (5.15.10+dfsg-1build6) ... 533s Setting up adwaita-icon-theme (46.0-1) ... 533s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 533s Setting up humanity-icon-theme (0.6.16) ... 534s Setting up ubuntu-mono (24.04-0ubuntu1) ... 534s Processing triggers for man-db (2.12.0-4build2) ... 535s Processing triggers for libglib2.0-0t64:ppc64el (2.80.0-6ubuntu3.4) ... 535s Processing triggers for dbus (1.14.10-4ubuntu4.1) ... 535s Setting up libgtk-3-0t64:ppc64el (3.24.41-4ubuntu1.3) ... 535s Processing triggers for udev (255.4-1ubuntu8.10) ... 535s Setting up gvfs-libs:ppc64el (1.54.0-1ubuntu2) ... 535s Setting up libwnck-3-0:ppc64el (43.0-3build4) ... 535s Setting up libhandy-1-0:ppc64el (1.8.3-1build2) ... 535s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 536s Setting up gir1.2-gtk-3.0:ppc64el (3.24.41-4ubuntu1.3) ... 536s Setting up libvte-2.91-0:ppc64el (0.76.0-1ubuntu0.1) ... 536s Setting up gvfs-daemons (1.54.0-1ubuntu2) ... 536s Setting up gir1.2-wnck-3.0:ppc64el (43.0-3build4) ... 536s Setting up gnome-terminal (3.52.0-1ubuntu2) ... 536s update-alternatives: using /usr/bin/gnome-terminal.wrapper to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode 536s Setting up apport-kde (2.28.1-0ubuntu3.7) ... 536s Setting up apport-gtk (2.28.1-0ubuntu3.7) ... 536s Processing triggers for libgdk-pixbuf-2.0-0:ppc64el (2.42.10+dfsg-3ubuntu3.1) ... 536s Processing triggers for libc-bin (2.39-0ubuntu8.4) ... 538s autopkgtest [14:34:46]: test system-tests: [----------------------- 539s ============================= test session starts ============================== 539s platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3 539s cachedir: .pytest_cache 539s rootdir: /tmp/autopkgtest.540jzu/autopkgtest_tmp 540s collecting ... collected 102 items 540s 540s tests/system/test_apport_retrace.py::test_retrace_system_sandbox SKIPPED [ 0%] 540s tests/system/test_apport_retrace.py::test_retrace_system_sandbox_gdb_sandbox SKIPPED [ 1%] 540s tests/system/test_apport_retrace.py::test_retrace_jammy_sandbox SKIPPED [ 2%] 540s tests/system/test_apport_retrace.py::test_retrace_jammy_sandbox_gdb_sandbox SKIPPED [ 3%] 786s tests/system/test_apport_valgrind.py::TestApportValgrind::test_sandbox_cache_options FAILED [ 4%] 786s tests/system/test_github_query.py::TestGitHubQuery::test_api_authentication PASSED [ 5%] 788s tests/system/test_packaging_apt_dpkg.py::test_install_packages_versioned[one-line] FAILED [ 6%] 789s tests/system/test_packaging_apt_dpkg.py::test_install_packages_versioned[deb822] FAILED [ 7%] 790s tests/system/test_packaging_apt_dpkg.py::test_install_packages_unversioned[one-line] FAILED [ 8%] 791s tests/system/test_packaging_apt_dpkg.py::test_install_packages_unversioned[deb822] FAILED [ 9%] 792s tests/system/test_packaging_apt_dpkg.py::test_install_packages_dependencies[one-line] FAILED [ 10%] 793s tests/system/test_packaging_apt_dpkg.py::test_install_packages_dependencies[deb822] FAILED [ 11%] 1020s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[one-line] FAILED [ 12%] 1244s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[deb822] FAILED [ 13%] 1245s tests/system/test_packaging_apt_dpkg.py::test_install_packages_error[one-line] PASSED [ 14%] 1246s tests/system/test_packaging_apt_dpkg.py::test_install_packages_error[deb822] PASSED [ 15%] 1248s tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox[one-line] FAILED [ 16%] 1251s tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox[deb822] FAILED [ 17%] 1252s tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox_repack[one-line] FAILED [ 18%] 1254s tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox_repack[deb822] FAILED [ 19%] 1256s tests/system/test_packaging_apt_dpkg.py::test_install_packages_armhf[one-line] FAILED [ 20%] 1258s tests/system/test_packaging_apt_dpkg.py::test_install_packages_armhf[deb822] FAILED [ 21%] 1260s tests/system/test_packaging_apt_dpkg.py::test_install_packages_from_launchpad[one-line] FAILED [ 22%] 1262s tests/system/test_packaging_apt_dpkg.py::test_install_packages_from_launchpad[deb822] FAILED [ 23%] 1264s tests/system/test_packaging_apt_dpkg.py::test_install_old_packages[one-line] FAILED [ 24%] 1266s tests/system/test_packaging_apt_dpkg.py::test_install_old_packages[deb822] FAILED [ 25%] 1267s tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_sandbox[one-line] FAILED [ 26%] 1268s tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_sandbox[deb822] FAILED [ 27%] 1483s tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_lp_sandbox[one-line] FAILED [ 28%] 1698s tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_lp_sandbox[deb822] FAILED [ 29%] 1744s tests/system/test_packaging_apt_dpkg.py::test_create_sources_for_a_named_ppa[one-line] FAILED [ 30%] 1775s tests/system/test_packaging_apt_dpkg.py::test_create_sources_for_a_named_ppa[deb822] FAILED [ 31%] 1807s tests/system/test_packaging_apt_dpkg.py::test_create_sources_for_an_unnamed_ppa[one-line] PASSED [ 32%] 1853s tests/system/test_packaging_apt_dpkg.py::test_create_sources_for_an_unnamed_ppa[deb822] PASSED [ 33%] 1854s tests/system/test_packaging_apt_dpkg.py::test_use_sources_for_a_ppa[one-line] PASSED [ 34%] 1855s tests/system/test_packaging_apt_dpkg.py::test_use_sources_for_a_ppa[deb822] PASSED [ 35%] 1888s tests/system/test_packaging_apt_dpkg.py::test_install_package_from_a_ppa[one-line] FAILED [ 36%] 1936s tests/system/test_packaging_apt_dpkg.py::test_install_package_from_a_ppa[deb822] FAILED [ 37%] 1936s tests/system/test_python_crashes.py::T::test_dbus_service_other_error PASSED [ 38%] 1962s tests/system/test_python_crashes.py::T::test_dbus_service_timeout_running PASSED [ 39%] 1963s tests/system/test_python_crashes.py::T::test_dbus_service_unknown_invalid PASSED [ 40%] 1963s tests/system/test_python_crashes.py::T::test_dbus_service_unknown_wrongbus_notrunning PASSED [ 41%] 1963s tests/system/test_python_crashes.py::T::test_dbus_service_unknown_wrongbus_running PASSED [ 42%] 1964s tests/system/test_signal_crashes.py::T::test_crash_system_slice PASSED [ 43%] 1964s tests/system/test_signal_crashes.py::T::test_create_test_non_sleep_process PASSED [ 44%] 1964s tests/system/test_signal_crashes.py::T::test_create_test_sleep_process PASSED [ 45%] 1981s tests/system/test_signal_crashes.py::T::test_limit_size PASSED [ 46%] 1982s tests/system/test_ui_gtk.py::T::test_administrator_disabled_reporting PASSED [ 47%] 1982s tests/system/test_ui_gtk.py::T::test_apport_bug_package_layout PASSED [ 48%] 1982s tests/system/test_ui_gtk.py::T::test_apport_bug_package_layout_load_file PASSED [ 49%] 1982s tests/system/test_ui_gtk.py::T::test_broken_crash_details PASSED [ 50%] 1982s tests/system/test_ui_gtk.py::T::test_bug_report_installed_package PASSED [ 50%] 1983s tests/system/test_ui_gtk.py::T::test_bug_report_uninstalled_package PASSED [ 51%] 1983s tests/system/test_ui_gtk.py::T::test_close_button PASSED [ 52%] 1983s tests/system/test_ui_gtk.py::T::test_close_during_collect PASSED [ 53%] 1983s tests/system/test_ui_gtk.py::T::test_crash_details PASSED [ 54%] 1983s tests/system/test_ui_gtk.py::T::test_crash_noaccept PASSED [ 55%] 1984s tests/system/test_ui_gtk.py::T::test_crash_nodetails PASSED [ 56%] 1984s tests/system/test_ui_gtk.py::T::test_dialog_nonascii PASSED [ 57%] 1984s tests/system/test_ui_gtk.py::T::test_examine_button PASSED [ 58%] 1984s tests/system/test_ui_gtk.py::T::test_hang_layout PASSED [ 59%] 1984s tests/system/test_ui_gtk.py::T::test_immediate_close PASSED [ 60%] 1984s tests/system/test_ui_gtk.py::T::test_kernel_crash_layout PASSED [ 61%] 1986s tests/system/test_ui_gtk.py::T::test_kerneloops_nodetails PASSED [ 62%] 1986s tests/system/test_ui_gtk.py::T::test_missing_icon PASSED [ 63%] 1986s tests/system/test_ui_gtk.py::T::test_package_crash_layout PASSED [ 64%] 1986s tests/system/test_ui_gtk.py::T::test_recoverable_crash_layout PASSED [ 65%] 1986s tests/system/test_ui_gtk.py::T::test_regular_crash_layout PASSED [ 66%] 1986s tests/system/test_ui_gtk.py::T::test_regular_crash_layout_norestart PASSED [ 67%] 1987s tests/system/test_ui_gtk.py::T::test_regular_crash_layout_restart PASSED [ 68%] 1987s tests/system/test_ui_gtk.py::T::test_regular_crash_thread_layout PASSED [ 69%] 1987s tests/system/test_ui_gtk.py::T::test_resizing PASSED [ 70%] 1987s tests/system/test_ui_gtk.py::T::test_system_crash_from_console_layout PASSED [ 71%] 1987s tests/system/test_ui_gtk.py::T::test_system_crash_layout PASSED [ 72%] 1987s tests/system/test_ui_gtk.py::T::test_text_to_markup PASSED [ 73%] 1987s tests/system/test_ui_gtk.py::T::test_text_to_markup_url_followed_by_dot PASSED [ 74%] 1988s tests/system/test_ui_gtk.py::T::test_ui_run_terminal PASSED [ 75%] 1988s tests/system/test_ui_gtk.py::T::test_ui_update_view_destroyed PASSED [ 76%] 1988s tests/system/test_ui_gtk.py::T::test_update_report PASSED [ 77%] 1988s tests/system/test_ui_gtk.py::T::test_update_report_different_binary_source PASSED [ 78%] 1989s tests/system/test_ui_kde.py::T::test_1_crash_details PASSED [ 79%] 1990s tests/system/test_ui_kde.py::T::test_1_crash_noaccept PASSED [ 80%] 1992s tests/system/test_ui_kde.py::T::test_1_crash_nodetails PASSED [ 81%] 1992s tests/system/test_ui_kde.py::T::test_1_update_report PASSED [ 82%] 1992s tests/system/test_ui_kde.py::T::test_1_update_report_different_binary_source PASSED [ 83%] 1992s tests/system/test_ui_kde.py::T::test_administrator_disabled_reporting PASSED [ 84%] 1992s tests/system/test_ui_kde.py::T::test_apport_bug_package_layout PASSED [ 85%] 1993s tests/system/test_ui_kde.py::T::test_bug_report_installed_package PASSED [ 86%] 1994s tests/system/test_ui_kde.py::T::test_bug_report_uninstalled_package PASSED [ 87%] 1994s tests/system/test_ui_kde.py::T::test_close_button PASSED [ 88%] 1994s tests/system/test_ui_kde.py::T::test_kernel_crash_layout PASSED [ 89%] 1994s tests/system/test_ui_kde.py::T::test_package_crash_layout PASSED [ 90%] 1994s tests/system/test_ui_kde.py::T::test_recoverable_crash_layout PASSED [ 91%] 1995s tests/system/test_ui_kde.py::T::test_regular_crash_layout PASSED [ 92%] 1995s tests/system/test_ui_kde.py::T::test_regular_crash_layout_norestart PASSED [ 93%] 1995s tests/system/test_ui_kde.py::T::test_regular_crash_layout_restart PASSED [ 94%] 1995s tests/system/test_ui_kde.py::T::test_regular_crash_thread_layout PASSED [ 95%] 1995s tests/system/test_ui_kde.py::T::test_system_crash_layout PASSED [ 96%] 1995s tests/system/test_ui_kde.py::T::test_ui_question_choice_hide_dialog PASSED [ 97%] 1995s tests/system/test_ui_kde.py::T::test_ui_question_file_close PASSED [ 98%] 1995s tests/system/test_ui_kde.py::T::test_ui_run_terminal PASSED [ 99%] 1995s tests/system/test_ui_kde.py::T::test_ui_set_upload_progress PASSED [100%] 1995s 1995s =================================== FAILURES =================================== 1995s ________________ TestApportValgrind.test_sandbox_cache_options _________________ 1995s 1995s self = 1995s 1995s @unittest.skipIf(MEM_TOTAL_MiB < 2000, f"{MEM_TOTAL_MiB} MiB is not enough memory") 1995s def test_sandbox_cache_options(self): 1995s """apport-valgrind creates a user specified sandbox and cache""" 1995s sandbox = os.path.join(self.workdir, "test-sandbox") 1995s cache = os.path.join(self.workdir, "test-cache") 1995s 1995s cmd = [ 1995s "apport-valgrind", 1995s "--sandbox-dir", 1995s sandbox, 1995s "--cache", 1995s cache, 1995s "/usr/bin/true", 1995s ] 1995s > subprocess.check_call(cmd, env=self.env) 1995s 1995s tests/system/test_apport_valgrind.py:58: 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s 1995s popenargs = (['apport-valgrind', '--sandbox-dir', '/tmp/tmpr5fa44by/test-sandbox', '--cache', '/tmp/tmpr5fa44by/test-cache', '/usr/bin/true'],) 1995s kwargs = {'env': {'ADTTMP': '/tmp/autopkgtest.540jzu/autopkgtest_tmp', 'ADT_ARTIFACTS': '/tmp/autopkgtest.540jzu/system-tests-artifacts', 'ADT_NORMAL_USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'systemd/255.4-1ubuntu8.10', ...}} 1995s retcode = 1 1995s cmd = ['apport-valgrind', '--sandbox-dir', '/tmp/tmpr5fa44by/test-sandbox', '--cache', '/tmp/tmpr5fa44by/test-cache', '/usr/bin/true'] 1995s 1995s def check_call(*popenargs, **kwargs): 1995s """Run command with arguments. Wait for command to complete. If 1995s the exit code was zero then return, otherwise raise 1995s CalledProcessError. The CalledProcessError object will have the 1995s return code in the returncode attribute. 1995s 1995s The arguments are the same as for the call function. Example: 1995s 1995s check_call(["ls", "-l"]) 1995s """ 1995s retcode = call(*popenargs, **kwargs) 1995s if retcode: 1995s cmd = kwargs.get("args") 1995s if cmd is None: 1995s cmd = popenargs[0] 1995s > raise CalledProcessError(retcode, cmd) 1995s E subprocess.CalledProcessError: Command '['apport-valgrind', '--sandbox-dir', '/tmp/tmpr5fa44by/test-sandbox', '--cache', '/tmp/tmpr5fa44by/test-cache', '/usr/bin/true']' returned non-zero exit status 1. 1995s 1995s /usr/lib/python3.12/subprocess.py:413: CalledProcessError 1995s ----------------------------- Captured stderr call ----------------------------- 1995s /usr/lib/python3/dist-packages/apt/cache.py:562: Warning: W:Download is performed unsandboxed as root as file '/tmp/tmpr5fa44by/test-cache/system/apt/var/lib/apt/lists/partial/ftpmaster.internal_ubuntu_dists_noble-proposed_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1995s res = self._cache.update(fetch_progress, slist, pulse_interval) 1995s ERROR: Package download error, try again later: Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/coreutils-dbgsym_9.4-3ubuntu6_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) Could not connect to launchpad.net:443 (185.125.189.222), connection timed out Could not connect to launchpad.net:443 (185.125.189.223), connection timed out 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libacl1-dbgsym_2.3.2-1build1.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libattr1-dbgsym_2.5.2-1build1.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libgmp10-dbgsym_6.3.0%2bdfsg-2ubuntu6.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libidn2-0-dbgsym_2.3.7-2build1.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libpcre2-8-0-dbgsym_10.42-4ubuntu2.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libselinux1-dbgsym_3.5-2ubuntu2.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libssl3t64-dbgsym_3.0.13-0ubuntu3.5_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/libunistring5-dbgsym_1.1-2build1.1_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) 1995s 1995s 1995s Interrupted while creating sandbox 1995s __________________ test_install_packages_versioned[one-line] ___________________ 1995s 1995s self = 1995s fetch_progress = 1995s pulse_interval = 0, raise_on_error = True, sources_list = None 1995s 1995s def update( 1995s self, 1995s fetch_progress: AcquireProgress | None = None, 1995s pulse_interval: int = 0, 1995s raise_on_error: bool = True, 1995s sources_list: str | None = None, 1995s ) -> int: 1995s """Run the equivalent of apt-get update. 1995s 1995s You probably want to call open() afterwards, in order to utilise the 1995s new cache. Otherwise, the old cache will be used which can lead to 1995s strange bugs. 1995s 1995s The first parameter *fetch_progress* may be set to an instance of 1995s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1995s . 1995s sources_list -- Update a alternative sources.list than the default. 1995s Note that the sources.list.d directory is ignored in this case 1995s """ 1995s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1995s if sources_list: 1995s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1995s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1995s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1995s apt_pkg.config.set( 1995s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1995s ) 1995s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1995s apt_pkg.config.set("APT::List-Cleanup", "0") 1995s slist = apt_pkg.SourceList() 1995s slist.read_main_list() 1995s else: 1995s slist = self._list 1995s 1995s try: 1995s if fetch_progress is None: 1995s fetch_progress = apt.progress.base.AcquireProgress() 1995s try: 1995s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1995s E apt_pkg.Error: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1995s 1995s During handling of the above exception, another exception occurred: 1995s 1995s self = 1995s aptroot = '/tmp/tmpeoed3cba/cache/Foonux 22.04/apt' 1995s apt_dir = '/tmp/tmpeoed3cba/config/Foonux 22.04' 1995s fetchProgress = 1995s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1995s arch = 'ppc64el' 1995s 1995s def _sandbox_cache( 1995s self, 1995s aptroot, 1995s apt_dir, 1995s fetchProgress, 1995s distro_name, 1995s release_codename, 1995s origins, 1995s arch, 1995s ): # pylint: disable=too-many-arguments 1995s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1995s lazily). 1995s 1995s Clear the package selection on subsequent calls. 1995s """ 1995s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1995s self._clear_apt_cache() 1995s self._build_apt_sandbox( 1995s aptroot, apt_dir, distro_name, release_codename, origins 1995s ) 1995s rootdir = os.path.abspath(aptroot) 1995s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1995s self._sandbox_apt_cache_arch = arch 1995s try: 1995s # We don't need to update this multiple times. 1995s > self._sandbox_apt_cache.update(fetchProgress) 1995s 1995s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s 1995s self = 1995s fetch_progress = 1995s pulse_interval = 0, raise_on_error = True, sources_list = None 1995s 1995s def update( 1995s self, 1995s fetch_progress: AcquireProgress | None = None, 1995s pulse_interval: int = 0, 1995s raise_on_error: bool = True, 1995s sources_list: str | None = None, 1995s ) -> int: 1995s """Run the equivalent of apt-get update. 1995s 1995s You probably want to call open() afterwards, in order to utilise the 1995s new cache. Otherwise, the old cache will be used which can lead to 1995s strange bugs. 1995s 1995s The first parameter *fetch_progress* may be set to an instance of 1995s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1995s . 1995s sources_list -- Update a alternative sources.list than the default. 1995s Note that the sources.list.d directory is ignored in this case 1995s """ 1995s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1995s if sources_list: 1995s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1995s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1995s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1995s apt_pkg.config.set( 1995s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1995s ) 1995s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1995s apt_pkg.config.set("APT::List-Cleanup", "0") 1995s slist = apt_pkg.SourceList() 1995s slist.read_main_list() 1995s else: 1995s slist = self._list 1995s 1995s try: 1995s if fetch_progress is None: 1995s fetch_progress = apt.progress.base.AcquireProgress() 1995s try: 1995s res = self._cache.update(fetch_progress, slist, pulse_interval) 1995s except SystemError as e: 1995s > raise FetchFailedException(e) 1995s E apt.cache.FetchFailedException: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1995s 1995s The above exception was the direct cause of the following exception: 1995s 1995s configdir = '/tmp/tmpeoed3cba/config', cachedir = '/tmp/tmpeoed3cba/cache' 1995s rootdir = '/tmp/tmpeoed3cba/root', apt_style = 'one-line' 1995s 1995s @pytest.mark.skipif(not has_internet(), reason="online test") 1995s def test_install_packages_versioned(configdir, cachedir, rootdir, apt_style): 1995s # TODO: Split into smaller functions/methods 1995s # pylint: disable=too-many-locals,too-many-statements 1995s """install_packages() with versions and with cache""" 1995s release = _setup_foonux_config(configdir, apt_style, updates=True) 1995s wanted = { 1995s "coreutils": "8.32-4.1ubuntu1", 1995s "libc6": "2.35-0ubuntu3", 1995s "libcurl4": "7.81.0-1", # should not come from -updates 1995s "tzdata": None, # should come from -updates, > 2022a 1995s } 1995s > obsolete = impl.install_packages( 1995s rootdir, configdir, release, list(wanted.items()), False, cachedir 1995s ) 1995s 1995s tests/system/test_packaging_apt_dpkg.py:102: 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1995s apt_cache = self._sandbox_cache( 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s 1995s self = 1995s aptroot = '/tmp/tmpeoed3cba/cache/Foonux 22.04/apt' 1995s apt_dir = '/tmp/tmpeoed3cba/config/Foonux 22.04' 1995s fetchProgress = 1995s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1995s arch = 'ppc64el' 1995s 1995s def _sandbox_cache( 1995s self, 1995s aptroot, 1995s apt_dir, 1995s fetchProgress, 1995s distro_name, 1995s release_codename, 1995s origins, 1995s arch, 1995s ): # pylint: disable=too-many-arguments 1995s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1995s lazily). 1995s 1995s Clear the package selection on subsequent calls. 1995s """ 1995s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1995s self._clear_apt_cache() 1995s self._build_apt_sandbox( 1995s aptroot, apt_dir, distro_name, release_codename, origins 1995s ) 1995s rootdir = os.path.abspath(aptroot) 1995s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1995s self._sandbox_apt_cache_arch = arch 1995s try: 1995s # We don't need to update this multiple times. 1995s self._sandbox_apt_cache.update(fetchProgress) 1995s except apt.cache.FetchFailedException as error: 1995s > raise SystemError(str(error)) from error 1995s E SystemError: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1995s ___________________ test_install_packages_versioned[deb822] ____________________ 1995s 1995s self = 1995s fetch_progress = 1995s pulse_interval = 0, raise_on_error = True, sources_list = None 1995s 1995s def update( 1995s self, 1995s fetch_progress: AcquireProgress | None = None, 1995s pulse_interval: int = 0, 1995s raise_on_error: bool = True, 1995s sources_list: str | None = None, 1995s ) -> int: 1995s """Run the equivalent of apt-get update. 1995s 1995s You probably want to call open() afterwards, in order to utilise the 1995s new cache. Otherwise, the old cache will be used which can lead to 1995s strange bugs. 1995s 1995s The first parameter *fetch_progress* may be set to an instance of 1995s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1995s . 1995s sources_list -- Update a alternative sources.list than the default. 1995s Note that the sources.list.d directory is ignored in this case 1995s """ 1995s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1995s if sources_list: 1995s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1995s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1995s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1995s apt_pkg.config.set( 1995s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1995s ) 1995s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1995s apt_pkg.config.set("APT::List-Cleanup", "0") 1995s slist = apt_pkg.SourceList() 1995s slist.read_main_list() 1995s else: 1995s slist = self._list 1995s 1995s try: 1995s if fetch_progress is None: 1995s fetch_progress = apt.progress.base.AcquireProgress() 1995s try: 1995s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1995s E apt_pkg.Error: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1995s 1995s During handling of the above exception, another exception occurred: 1995s 1995s self = 1995s aptroot = '/tmp/tmphxe8h37w/cache/Foonux 22.04/apt' 1995s apt_dir = '/tmp/tmphxe8h37w/config/Foonux 22.04' 1995s fetchProgress = 1995s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1995s arch = 'ppc64el' 1995s 1995s def _sandbox_cache( 1995s self, 1995s aptroot, 1995s apt_dir, 1995s fetchProgress, 1995s distro_name, 1995s release_codename, 1995s origins, 1995s arch, 1995s ): # pylint: disable=too-many-arguments 1995s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1995s lazily). 1995s 1995s Clear the package selection on subsequent calls. 1995s """ 1995s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1995s self._clear_apt_cache() 1995s self._build_apt_sandbox( 1995s aptroot, apt_dir, distro_name, release_codename, origins 1995s ) 1995s rootdir = os.path.abspath(aptroot) 1995s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1995s self._sandbox_apt_cache_arch = arch 1995s try: 1995s # We don't need to update this multiple times. 1995s > self._sandbox_apt_cache.update(fetchProgress) 1995s 1995s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s 1995s self = 1995s fetch_progress = 1995s pulse_interval = 0, raise_on_error = True, sources_list = None 1995s 1995s def update( 1995s self, 1995s fetch_progress: AcquireProgress | None = None, 1995s pulse_interval: int = 0, 1995s raise_on_error: bool = True, 1995s sources_list: str | None = None, 1995s ) -> int: 1995s """Run the equivalent of apt-get update. 1995s 1995s You probably want to call open() afterwards, in order to utilise the 1995s new cache. Otherwise, the old cache will be used which can lead to 1995s strange bugs. 1995s 1995s The first parameter *fetch_progress* may be set to an instance of 1995s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1995s . 1995s sources_list -- Update a alternative sources.list than the default. 1995s Note that the sources.list.d directory is ignored in this case 1995s """ 1995s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1995s if sources_list: 1995s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1995s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1995s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1995s apt_pkg.config.set( 1995s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1995s ) 1995s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1995s apt_pkg.config.set("APT::List-Cleanup", "0") 1995s slist = apt_pkg.SourceList() 1995s slist.read_main_list() 1995s else: 1995s slist = self._list 1995s 1995s try: 1995s if fetch_progress is None: 1995s fetch_progress = apt.progress.base.AcquireProgress() 1995s try: 1995s res = self._cache.update(fetch_progress, slist, pulse_interval) 1995s except SystemError as e: 1995s > raise FetchFailedException(e) 1995s E apt.cache.FetchFailedException: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1995s 1995s The above exception was the direct cause of the following exception: 1995s 1995s configdir = '/tmp/tmphxe8h37w/config', cachedir = '/tmp/tmphxe8h37w/cache' 1995s rootdir = '/tmp/tmphxe8h37w/root', apt_style = 'deb822' 1995s 1995s @pytest.mark.skipif(not has_internet(), reason="online test") 1995s def test_install_packages_versioned(configdir, cachedir, rootdir, apt_style): 1995s # TODO: Split into smaller functions/methods 1995s # pylint: disable=too-many-locals,too-many-statements 1995s """install_packages() with versions and with cache""" 1995s release = _setup_foonux_config(configdir, apt_style, updates=True) 1995s wanted = { 1995s "coreutils": "8.32-4.1ubuntu1", 1995s "libc6": "2.35-0ubuntu3", 1995s "libcurl4": "7.81.0-1", # should not come from -updates 1995s "tzdata": None, # should come from -updates, > 2022a 1995s } 1995s > obsolete = impl.install_packages( 1995s rootdir, configdir, release, list(wanted.items()), False, cachedir 1995s ) 1995s 1995s tests/system/test_packaging_apt_dpkg.py:102: 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1995s apt_cache = self._sandbox_cache( 1995s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1995s 1995s self = 1995s aptroot = '/tmp/tmphxe8h37w/cache/Foonux 22.04/apt' 1995s apt_dir = '/tmp/tmphxe8h37w/config/Foonux 22.04' 1995s fetchProgress = 1995s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1995s arch = 'ppc64el' 1995s 1995s def _sandbox_cache( 1995s self, 1995s aptroot, 1995s apt_dir, 1995s fetchProgress, 1995s distro_name, 1995s release_codename, 1995s origins, 1995s arch, 1995s ): # pylint: disable=too-many-arguments 1995s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1995s lazily). 1995s 1995s Clear the package selection on subsequent calls. 1995s """ 1995s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1995s self._clear_apt_cache() 1995s self._build_apt_sandbox( 1995s aptroot, apt_dir, distro_name, release_codename, origins 1995s ) 1995s rootdir = os.path.abspath(aptroot) 1995s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1995s self._sandbox_apt_cache_arch = arch 1995s try: 1995s # We don't need to update this multiple times. 1995s self._sandbox_apt_cache.update(fetchProgress) 1995s except apt.cache.FetchFailedException as error: 1995s > raise SystemError(str(error)) from error 1995s E SystemError: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1995s _________________ test_install_packages_unversioned[one-line] __________________ 1995s 1995s self = 1995s fetch_progress = 1995s pulse_interval = 0, raise_on_error = True, sources_list = None 1995s 1995s def update( 1995s self, 1995s fetch_progress: AcquireProgress | None = None, 1995s pulse_interval: int = 0, 1995s raise_on_error: bool = True, 1995s sources_list: str | None = None, 1995s ) -> int: 1995s """Run the equivalent of apt-get update. 1995s 1995s You probably want to call open() afterwards, in order to utilise the 1995s new cache. Otherwise, the old cache will be used which can lead to 1995s strange bugs. 1995s 1995s The first parameter *fetch_progress* may be set to an instance of 1995s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1995s . 1995s sources_list -- Update a alternative sources.list than the default. 1995s Note that the sources.list.d directory is ignored in this case 1995s """ 1995s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1995s if sources_list: 1995s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1995s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1995s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1995s apt_pkg.config.set( 1995s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1995s ) 1995s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1995s apt_pkg.config.set("APT::List-Cleanup", "0") 1995s slist = apt_pkg.SourceList() 1995s slist.read_main_list() 1995s else: 1995s slist = self._list 1995s 1995s try: 1995s if fetch_progress is None: 1995s fetch_progress = apt.progress.base.AcquireProgress() 1995s try: 1995s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1995s E apt_pkg.Error: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1995s 1995s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1995s 1995s During handling of the above exception, another exception occurred: 1995s 1995s self = 1995s rootdir = '/tmp/tmpmqfrq2bw/root', configdir = '/tmp/tmpmqfrq2bw/config' 1995s release = 'Foonux 22.04', packages = [('coreutils', None), ('tzdata', None)] 1995s verbose = False, cache_dir = None, permanent_rootdir = False 1995s architecture = 'ppc64el', origins = None, install_dbg = True 1995s install_deps = False 1995s 1995s def install_packages( 1995s self, 1995s rootdir, 1995s configdir, 1995s release, 1995s packages, 1995s verbose=False, 1995s cache_dir=None, 1995s permanent_rootdir=False, 1995s architecture=None, 1995s origins=None, 1995s install_dbg=True, 1995s install_deps=False, 1995s ): # pylint: disable=too-many-arguments 1995s # TODO: Split into smaller functions/methods 1995s # pylint: disable=too-many-branches,too-many-locals 1995s # pylint: disable=too-many-nested-blocks,too-many-statements 1995s """Install packages into a sandbox (for apport-retrace). 1995s 1995s In order to work without any special permissions and without touching 1995s the running system, this should only download and unpack packages into 1995s the given root directory, not install them into the system. 1995s 1995s configdir points to a directory with by-release configuration files for 1995s the packaging system; this is completely dependent on the backend 1995s implementation, the only assumption is that this looks into 1995s configdir/release/, so that you can use retracing for multiple 1995s DistroReleases. As a special case, if configdir is None, it uses the 1995s current system configuration, and "release" is ignored. 1995s 1995s release is the value of the report's 'DistroRelease' field. 1995s 1995s packages is a list of ('packagename', 'version') tuples. If the version 1995s is None, it should install the most current available version. 1995s 1995s If cache_dir is given, then the downloaded packages will be stored 1995s there, to speed up subsequent retraces. 1995s 1995s If permanent_rootdir is True, then the sandbox created from the 1995s downloaded packages will be reused, to speed up subsequent retraces. 1995s 1995s If architecture is given, the sandbox will be created with packages of 1995s the given architecture (as specified in a report's "Architecture" 1995s field). If not given it defaults to the host system's architecture. 1995s 1995s If origins is given, the sandbox will be created with apt data sources 1995s for foreign origins. 1995s 1995s If install_deps is True, then the dependencies of packages will also 1995s be installed. 1995s 1995s Return a string with outdated packages, or an empty string if all 1995s packages were installed. 1995s 1995s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s > apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:955: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpmqfrq2bw/config', cachedir = '/tmp/tmpmqfrq2bw/cache' 1996s rootdir = '/tmp/tmpmqfrq2bw/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_unversioned(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() without versions and no cache""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s > obsolete = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("coreutils", None), ("tzdata", None)], 1996s False, 1996s None, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:234: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s rootdir = '/tmp/tmpmqfrq2bw/root', configdir = '/tmp/tmpmqfrq2bw/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None), ('tzdata', None)] 1996s verbose = False, cache_dir = None, permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:957: SystemError 1996s __________________ test_install_packages_unversioned[deb822] ___________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s rootdir = '/tmp/tmpwbdk94pu/root', configdir = '/tmp/tmpwbdk94pu/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None), ('tzdata', None)] 1996s verbose = False, cache_dir = None, permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s > apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:955: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpwbdk94pu/config', cachedir = '/tmp/tmpwbdk94pu/cache' 1996s rootdir = '/tmp/tmpwbdk94pu/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_unversioned(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() without versions and no cache""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s > obsolete = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("coreutils", None), ("tzdata", None)], 1996s False, 1996s None, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:234: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s rootdir = '/tmp/tmpwbdk94pu/root', configdir = '/tmp/tmpwbdk94pu/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None), ('tzdata', None)] 1996s verbose = False, cache_dir = None, permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:957: SystemError 1996s _________________ test_install_packages_dependencies[one-line] _________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s rootdir = '/tmp/tmp6tuyl4s4/root', configdir = '/tmp/tmp6tuyl4s4/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None)], verbose = False 1996s cache_dir = None, permanent_rootdir = False, architecture = 'ppc64el' 1996s origins = None, install_dbg = True, install_deps = True 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s > apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:955: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp6tuyl4s4/config', rootdir = '/tmp/tmp6tuyl4s4/root' 1996s apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_dependencies(configdir, rootdir, apt_style): 1996s """Test install packages's dependencies.""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s # coreutils should always depend on libc6 1996s > result = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("coreutils", None)], 1996s False, 1996s None, 1996s install_deps=True, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:283: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s rootdir = '/tmp/tmp6tuyl4s4/root', configdir = '/tmp/tmp6tuyl4s4/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None)], verbose = False 1996s cache_dir = None, permanent_rootdir = False, architecture = 'ppc64el' 1996s origins = None, install_dbg = True, install_deps = True 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:957: SystemError 1996s __________________ test_install_packages_dependencies[deb822] __________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s rootdir = '/tmp/tmpphbxwrlh/root', configdir = '/tmp/tmpphbxwrlh/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None)], verbose = False 1996s cache_dir = None, permanent_rootdir = False, architecture = 'ppc64el' 1996s origins = None, install_dbg = True, install_deps = True 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s > apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:955: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpphbxwrlh/config', rootdir = '/tmp/tmpphbxwrlh/root' 1996s apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_dependencies(configdir, rootdir, apt_style): 1996s """Test install packages's dependencies.""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s # coreutils should always depend on libc6 1996s > result = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("coreutils", None)], 1996s False, 1996s None, 1996s install_deps=True, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:283: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s rootdir = '/tmp/tmpphbxwrlh/root', configdir = '/tmp/tmpphbxwrlh/config' 1996s release = 'Foonux 22.04', packages = [('coreutils', None)], verbose = False 1996s cache_dir = None, permanent_rootdir = False, architecture = 'ppc64el' 1996s origins = None, install_dbg = True, install_deps = True 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:957: SystemError 1996s ____________________ test_install_packages_system[one-line] ____________________ 1996s 1996s self = 1996s rootdir = '/tmp/tmpwpart64b/root', configdir = None, release = 'Ubuntu 24.04' 1996s packages = [('coreutils', '9.4-3ubuntu6'), ('tzdata', '1.1')], verbose = False 1996s cache_dir = '/tmp/tmpwpart64b/cache', permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s raise SystemError(str(error)) from error 1996s apt_cache.open() 1996s 1996s archivedir = apt.apt_pkg.config.find_dir("Dir::Cache::archives") 1996s 1996s obsolete = "" 1996s 1996s src_records = apt.apt_pkg.SourceRecords() 1996s 1996s # read original package list 1996s pkg_list = os.path.join(rootdir, "packages.txt") 1996s pkg_versions = {} 1996s if os.path.exists(pkg_list): 1996s with open(pkg_list, encoding="utf-8") as f: 1996s for line in f: 1996s line = line.strip() 1996s if not line: 1996s continue 1996s (p, v) = line.split() 1996s pkg_versions[p] = v 1996s 1996s # mark packages for installation 1996s real_pkgs = set() 1996s lp_cache = {} 1996s fetcher = apt.apt_pkg.Acquire(fetchProgress) 1996s # need to keep AcquireFile references 1996s acquire_queue = [] 1996s # add any dependencies to the packages list 1996s if install_deps: 1996s deps = [] 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s for dep in cache_pkg.candidate.dependencies: 1996s # the dependency may be satisfied by a different package 1996s if dep[0].name not in apt_cache: 1996s dep[0] = apt_cache.get_providing_packages(dep[0].name)[0] 1996s # the version in dep is the one from pkg's dependencies, 1996s # so use the version from the cache 1996s dep_pkg_vers = apt_cache[dep[0].name].candidate.version 1996s # if the dependency is in the list of packages we don't 1996s # need to look up its dependencies again 1996s if dep[0].name in [pkg[0] for pkg in packages]: 1996s continue 1996s # if the package is already extracted in the sandbox 1996s # because the report needs that package we don't want to 1996s # install a newer version which may cause a CRC mismatch 1996s # with the installed dbg symbols 1996s if dep[0].name in pkg_versions: 1996s inst_version = pkg_versions[dep[0].name] 1996s if self.compare_versions(inst_version, dep_pkg_vers) > -1: 1996s deps.append((dep[0].name, inst_version)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s if dep[0].name not in [pkg[0] for pkg in packages]: 1996s packages.append((dep[0].name, None)) 1996s packages.extend(deps) 1996s 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s 1996s # try to select matching version 1996s try: 1996s if ver: 1996s cache_pkg.candidate = cache_pkg.versions[ver] 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, lp_url, hash=f"sha1:{sha1sum}", destdir=archivedir 1996s ) 1996s ) 1996s lp_cache[pkg] = ver 1996s else: 1996s obsolete += ( 1996s f"{pkg} version {ver} required," 1996s f" but {cache_pkg.candidate.version} is available\n" 1996s ) 1996s ver = cache_pkg.candidate.version 1996s 1996s candidate = cache_pkg.candidate 1996s real_pkgs.add(pkg) 1996s 1996s if permanent_rootdir: 1996s virtual_mapping = self._virtual_mapping(aptroot) 1996s # Remember all the virtual packages that this package provides, 1996s # so that if we encounter that virtual package as a 1996s # Conflicts/Replaces later, we know to remove this package from 1996s # the cache. 1996s for p in candidate.provides: 1996s virtual_mapping.setdefault(p, set()).add(pkg) 1996s conflicts = [] 1996s if "Conflicts" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends( 1996s candidate.record["Conflicts"] 1996s ) 1996s if "Replaces" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends(candidate.record["Replaces"]) 1996s for conflict in conflicts: 1996s # if the package conflicts with itself its wonky e.g. 1996s # gdb in artful 1996s if conflict[0][0] == candidate.package.name: 1996s continue 1996s # apt_pkg.parse_depends needs to handle the or operator, 1996s # but as policy states it is invalid to use that in 1996s # Replaces/Depends, we can safely choose the first value 1996s # here. 1996s conflict = conflict[0] 1996s if apt_cache.is_virtual_package(conflict[0]): 1996s try: 1996s providers = virtual_mapping[conflict[0]] 1996s except KeyError: 1996s # We may not have seen the virtual package that 1996s # this conflicts with, so we can assume it's not 1996s # unpacked into the sandbox. 1996s continue 1996s for p in providers: 1996s # if the candidate package being installed 1996s # conflicts with but also provides a virtual 1996s # package don't act on the candidate e.g. 1996s # libpam-modules and libpam-mkhomedir in artful 1996s if p == candidate.package.name: 1996s continue 1996s debs = os.path.join(archivedir, f"{p}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[p] 1996s except KeyError: 1996s pass 1996s del providers 1996s else: 1996s debs = os.path.join(archivedir, f"{conflict[0]}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[conflict[0]] 1996s except KeyError: 1996s pass 1996s 1996s if candidate.architecture != "all" and install_dbg: 1996s try: 1996s dbg_pkg = f"{pkg}-dbg" 1996s dbg = apt_cache[dbg_pkg] 1996s pkg_found = False 1996s # try to get the same version as pkg 1996s if ver: 1996s try: 1996s dbg.candidate = dbg.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbg_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbg_pkg] = ver 1996s pkg_found = True 1996s # if it can't be found in Launchpad failover to a 1996s # code path that'll use -dbgsym packages 1996s else: 1996s raise 1996s if not pkg_found: 1996s try: 1996s dbg.candidate = dbg.versions[candidate.version] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated -dbg package for {pkg}:" 1996s f" package version {ver}" 1996s f" -dbg version {dbg.candidate.version}\n" 1996s ) 1996s real_pkgs.add(dbg_pkg) 1996s except KeyError: 1996s # install all -dbg from the source package; lookup() just 1996s # works from the current list pointer, we always need to 1996s # start from the beginning 1996s src_records.restart() 1996s if src_records.lookup(candidate.source_name): 1996s # ignore transitional packages 1996s # False positive, see 1996s # https://github.com/PyCQA/pylint/issues/7122 1996s # pylint: disable=not-an-iterable 1996s dbgs = [ 1996s p 1996s for p in src_records.binaries 1996s if p.endswith("-dbg") 1996s and p in apt_cache 1996s and "transitional" not in apt_cache[p].candidate.description 1996s ] 1996s # if a specific version of a package was requested 1996s # only install dbg pkgs whose version matches 1996s if ver: 1996s for dbg in dbgs: 1996s if apt_cache[dbg].candidate.version != ver: 1996s dbgs.remove(dbg) 1996s else: 1996s dbgs = [] 1996s if dbgs: 1996s for p in dbgs: 1996s # if the package has already been added to 1996s # real_pkgs don't search for it again 1996s if p in real_pkgs: 1996s continue 1996s pkg_found = False 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, p, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[p] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s # we don't really expect that, but it's 1996s # possible that other binaries have a 1996s # different version 1996s pass 1996s real_pkgs.add(p) 1996s else: 1996s pkg_found = False 1996s dbgsym_pkg = f"{pkg}-dbgsym" 1996s try: 1996s dbgsym = apt_cache[dbgsym_pkg] 1996s real_pkgs.add(dbgsym_pkg) 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated debug symbol package" 1996s f" for {pkg}: package version" 1996s f" {candidate.version}" 1996s f" dbgsym version" 1996s f" {dbgsym.candidate.version}\n" 1996s ) 1996s 1996s except KeyError: 1996s if ver: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s obsolete += f"no debug symbol package found for {pkg}\n" 1996s 1996s # unpack packages, weed out the ones that are already installed (for 1996s # permanent sandboxes) 1996s logger = logging.getLogger(__name__) 1996s requested_pkgs = dict(packages) 1996s for p in real_pkgs.copy(): 1996s if p in requested_pkgs: 1996s if requested_pkgs[p] is None: 1996s # We already have the latest version of this package 1996s if pkg_versions.get(p) == apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Removing %s which is already the right version", p 1996s ) 1996s real_pkgs.remove(p) 1996s else: 1996s logger.debug( 1996s "Installing %s version %s", 1996s p, 1996s apt_cache[p].candidate.version, 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != requested_pkgs[p]: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug("Installing %s", p) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s 1996s last_written = time.time() 1996s # fetch packages 1996s try: 1996s > apt_cache.fetch_archives(fetcher=fetcher) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:1321: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apt/cache.py:475: in fetch_archives 1996s return self._fetch_archives( 1996s /usr/lib/python3/dist-packages/apt/cache.py:443: in _fetch_archives 1996s return self._run_fetcher(fetcher, allow_unauthenticated) 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetcher = 1996s allow_unauthenticated = True 1996s 1996s def _run_fetcher( 1996s self, fetcher: apt_pkg.Acquire, allow_unauthenticated: bool | None 1996s ) -> int: 1996s if allow_unauthenticated is None: 1996s allow_unauthenticated = apt_pkg.config.find_b( 1996s "APT::Get::" "AllowUnauthenticated", False 1996s ) 1996s 1996s untrusted = [item for item in fetcher.items if not item.is_trusted] 1996s if untrusted and not allow_unauthenticated: 1996s raise UntrustedException( 1996s "Untrusted packages:\n%s" % "\n".join(i.desc_uri for i in untrusted) 1996s ) 1996s 1996s # do the actual fetching 1996s res = fetcher.run() 1996s 1996s # now check the result (this is the code from apt-get.cc) 1996s failed = False 1996s err_msg = "" 1996s for item in fetcher.items: 1996s if item.status == item.STAT_DONE: 1996s continue 1996s if item.STAT_IDLE: 1996s continue 1996s err_msg += f"Failed to fetch {item.desc_uri} {item.error_text}\n" 1996s failed = True 1996s 1996s # we raise a exception if the download failed or it was cancelt 1996s if res == fetcher.RESULT_CANCELLED: 1996s raise FetchCancelledException(err_msg) 1996s elif failed: 1996s > raise FetchFailedException(err_msg) 1996s E apt.cache.FetchFailedException: Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/coreutils-dbgsym_9.4-3ubuntu6_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) Could not connect to launchpad.net:443 (185.125.189.222), connection timed out Could not connect to launchpad.net:443 (185.125.189.223), connection timed out 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:424: FetchFailedException 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s cachedir = '/tmp/tmpwpart64b/cache', workdir = '/tmp/tmpwpart64b' 1996s rootdir = '/tmp/tmpwpart64b/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_system(cachedir, workdir, rootdir, apt_style): 1996s # pylint: disable=unused-argument 1996s """install_packages() with system configuration""" 1996s # trigger an unrelated package query here to get the cache set up, 1996s # reproducing an install failure when the internal caches are not 1996s # reset properly 1996s impl.get_version("dash") 1996s 1996s release = " ".join(impl.get_os_version()) 1996s cachedir = os.path.join(workdir, "cache") 1996s rootdir = os.path.join(workdir, "root") 1996s 1996s > result = impl.install_packages( 1996s rootdir, 1996s None, 1996s release, 1996s [("coreutils", impl.get_version("coreutils")), ("tzdata", "1.1")], 1996s False, 1996s cachedir, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:316: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s rootdir = '/tmp/tmpwpart64b/root', configdir = None, release = 'Ubuntu 24.04' 1996s packages = [('coreutils', '9.4-3ubuntu6'), ('tzdata', '1.1')], verbose = False 1996s cache_dir = '/tmp/tmpwpart64b/cache', permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s raise SystemError(str(error)) from error 1996s apt_cache.open() 1996s 1996s archivedir = apt.apt_pkg.config.find_dir("Dir::Cache::archives") 1996s 1996s obsolete = "" 1996s 1996s src_records = apt.apt_pkg.SourceRecords() 1996s 1996s # read original package list 1996s pkg_list = os.path.join(rootdir, "packages.txt") 1996s pkg_versions = {} 1996s if os.path.exists(pkg_list): 1996s with open(pkg_list, encoding="utf-8") as f: 1996s for line in f: 1996s line = line.strip() 1996s if not line: 1996s continue 1996s (p, v) = line.split() 1996s pkg_versions[p] = v 1996s 1996s # mark packages for installation 1996s real_pkgs = set() 1996s lp_cache = {} 1996s fetcher = apt.apt_pkg.Acquire(fetchProgress) 1996s # need to keep AcquireFile references 1996s acquire_queue = [] 1996s # add any dependencies to the packages list 1996s if install_deps: 1996s deps = [] 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s for dep in cache_pkg.candidate.dependencies: 1996s # the dependency may be satisfied by a different package 1996s if dep[0].name not in apt_cache: 1996s dep[0] = apt_cache.get_providing_packages(dep[0].name)[0] 1996s # the version in dep is the one from pkg's dependencies, 1996s # so use the version from the cache 1996s dep_pkg_vers = apt_cache[dep[0].name].candidate.version 1996s # if the dependency is in the list of packages we don't 1996s # need to look up its dependencies again 1996s if dep[0].name in [pkg[0] for pkg in packages]: 1996s continue 1996s # if the package is already extracted in the sandbox 1996s # because the report needs that package we don't want to 1996s # install a newer version which may cause a CRC mismatch 1996s # with the installed dbg symbols 1996s if dep[0].name in pkg_versions: 1996s inst_version = pkg_versions[dep[0].name] 1996s if self.compare_versions(inst_version, dep_pkg_vers) > -1: 1996s deps.append((dep[0].name, inst_version)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s if dep[0].name not in [pkg[0] for pkg in packages]: 1996s packages.append((dep[0].name, None)) 1996s packages.extend(deps) 1996s 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s 1996s # try to select matching version 1996s try: 1996s if ver: 1996s cache_pkg.candidate = cache_pkg.versions[ver] 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, lp_url, hash=f"sha1:{sha1sum}", destdir=archivedir 1996s ) 1996s ) 1996s lp_cache[pkg] = ver 1996s else: 1996s obsolete += ( 1996s f"{pkg} version {ver} required," 1996s f" but {cache_pkg.candidate.version} is available\n" 1996s ) 1996s ver = cache_pkg.candidate.version 1996s 1996s candidate = cache_pkg.candidate 1996s real_pkgs.add(pkg) 1996s 1996s if permanent_rootdir: 1996s virtual_mapping = self._virtual_mapping(aptroot) 1996s # Remember all the virtual packages that this package provides, 1996s # so that if we encounter that virtual package as a 1996s # Conflicts/Replaces later, we know to remove this package from 1996s # the cache. 1996s for p in candidate.provides: 1996s virtual_mapping.setdefault(p, set()).add(pkg) 1996s conflicts = [] 1996s if "Conflicts" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends( 1996s candidate.record["Conflicts"] 1996s ) 1996s if "Replaces" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends(candidate.record["Replaces"]) 1996s for conflict in conflicts: 1996s # if the package conflicts with itself its wonky e.g. 1996s # gdb in artful 1996s if conflict[0][0] == candidate.package.name: 1996s continue 1996s # apt_pkg.parse_depends needs to handle the or operator, 1996s # but as policy states it is invalid to use that in 1996s # Replaces/Depends, we can safely choose the first value 1996s # here. 1996s conflict = conflict[0] 1996s if apt_cache.is_virtual_package(conflict[0]): 1996s try: 1996s providers = virtual_mapping[conflict[0]] 1996s except KeyError: 1996s # We may not have seen the virtual package that 1996s # this conflicts with, so we can assume it's not 1996s # unpacked into the sandbox. 1996s continue 1996s for p in providers: 1996s # if the candidate package being installed 1996s # conflicts with but also provides a virtual 1996s # package don't act on the candidate e.g. 1996s # libpam-modules and libpam-mkhomedir in artful 1996s if p == candidate.package.name: 1996s continue 1996s debs = os.path.join(archivedir, f"{p}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[p] 1996s except KeyError: 1996s pass 1996s del providers 1996s else: 1996s debs = os.path.join(archivedir, f"{conflict[0]}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[conflict[0]] 1996s except KeyError: 1996s pass 1996s 1996s if candidate.architecture != "all" and install_dbg: 1996s try: 1996s dbg_pkg = f"{pkg}-dbg" 1996s dbg = apt_cache[dbg_pkg] 1996s pkg_found = False 1996s # try to get the same version as pkg 1996s if ver: 1996s try: 1996s dbg.candidate = dbg.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbg_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbg_pkg] = ver 1996s pkg_found = True 1996s # if it can't be found in Launchpad failover to a 1996s # code path that'll use -dbgsym packages 1996s else: 1996s raise 1996s if not pkg_found: 1996s try: 1996s dbg.candidate = dbg.versions[candidate.version] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated -dbg package for {pkg}:" 1996s f" package version {ver}" 1996s f" -dbg version {dbg.candidate.version}\n" 1996s ) 1996s real_pkgs.add(dbg_pkg) 1996s except KeyError: 1996s # install all -dbg from the source package; lookup() just 1996s # works from the current list pointer, we always need to 1996s # start from the beginning 1996s src_records.restart() 1996s if src_records.lookup(candidate.source_name): 1996s # ignore transitional packages 1996s # False positive, see 1996s # https://github.com/PyCQA/pylint/issues/7122 1996s # pylint: disable=not-an-iterable 1996s dbgs = [ 1996s p 1996s for p in src_records.binaries 1996s if p.endswith("-dbg") 1996s and p in apt_cache 1996s and "transitional" not in apt_cache[p].candidate.description 1996s ] 1996s # if a specific version of a package was requested 1996s # only install dbg pkgs whose version matches 1996s if ver: 1996s for dbg in dbgs: 1996s if apt_cache[dbg].candidate.version != ver: 1996s dbgs.remove(dbg) 1996s else: 1996s dbgs = [] 1996s if dbgs: 1996s for p in dbgs: 1996s # if the package has already been added to 1996s # real_pkgs don't search for it again 1996s if p in real_pkgs: 1996s continue 1996s pkg_found = False 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, p, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[p] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s # we don't really expect that, but it's 1996s # possible that other binaries have a 1996s # different version 1996s pass 1996s real_pkgs.add(p) 1996s else: 1996s pkg_found = False 1996s dbgsym_pkg = f"{pkg}-dbgsym" 1996s try: 1996s dbgsym = apt_cache[dbgsym_pkg] 1996s real_pkgs.add(dbgsym_pkg) 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated debug symbol package" 1996s f" for {pkg}: package version" 1996s f" {candidate.version}" 1996s f" dbgsym version" 1996s f" {dbgsym.candidate.version}\n" 1996s ) 1996s 1996s except KeyError: 1996s if ver: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s obsolete += f"no debug symbol package found for {pkg}\n" 1996s 1996s # unpack packages, weed out the ones that are already installed (for 1996s # permanent sandboxes) 1996s logger = logging.getLogger(__name__) 1996s requested_pkgs = dict(packages) 1996s for p in real_pkgs.copy(): 1996s if p in requested_pkgs: 1996s if requested_pkgs[p] is None: 1996s # We already have the latest version of this package 1996s if pkg_versions.get(p) == apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Removing %s which is already the right version", p 1996s ) 1996s real_pkgs.remove(p) 1996s else: 1996s logger.debug( 1996s "Installing %s version %s", 1996s p, 1996s apt_cache[p].candidate.version, 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != requested_pkgs[p]: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug("Installing %s", p) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s 1996s last_written = time.time() 1996s # fetch packages 1996s try: 1996s apt_cache.fetch_archives(fetcher=fetcher) 1996s except apt.cache.FetchFailedException as error: 1996s apport.logging.error( 1996s "Package download error, try again later: %s", str(error) 1996s ) 1996s > sys.exit(1) # transient error 1996s E SystemExit: 1 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:1326: SystemExit 1996s ----------------------------- Captured stderr call ----------------------------- 1996s ERROR: Package download error, try again later: Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/coreutils-dbgsym_9.4-3ubuntu6_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) Could not connect to launchpad.net:443 (185.125.189.222), connection timed out Could not connect to launchpad.net:443 (185.125.189.223), connection timed out 1996s 1996s _____________________ test_install_packages_system[deb822] _____________________ 1996s 1996s self = 1996s rootdir = '/tmp/tmpc56r8dyl/root', configdir = None, release = 'Ubuntu 24.04' 1996s packages = [('coreutils', '9.4-3ubuntu6'), ('tzdata', '1.1')], verbose = False 1996s cache_dir = '/tmp/tmpc56r8dyl/cache', permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s raise SystemError(str(error)) from error 1996s apt_cache.open() 1996s 1996s archivedir = apt.apt_pkg.config.find_dir("Dir::Cache::archives") 1996s 1996s obsolete = "" 1996s 1996s src_records = apt.apt_pkg.SourceRecords() 1996s 1996s # read original package list 1996s pkg_list = os.path.join(rootdir, "packages.txt") 1996s pkg_versions = {} 1996s if os.path.exists(pkg_list): 1996s with open(pkg_list, encoding="utf-8") as f: 1996s for line in f: 1996s line = line.strip() 1996s if not line: 1996s continue 1996s (p, v) = line.split() 1996s pkg_versions[p] = v 1996s 1996s # mark packages for installation 1996s real_pkgs = set() 1996s lp_cache = {} 1996s fetcher = apt.apt_pkg.Acquire(fetchProgress) 1996s # need to keep AcquireFile references 1996s acquire_queue = [] 1996s # add any dependencies to the packages list 1996s if install_deps: 1996s deps = [] 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s for dep in cache_pkg.candidate.dependencies: 1996s # the dependency may be satisfied by a different package 1996s if dep[0].name not in apt_cache: 1996s dep[0] = apt_cache.get_providing_packages(dep[0].name)[0] 1996s # the version in dep is the one from pkg's dependencies, 1996s # so use the version from the cache 1996s dep_pkg_vers = apt_cache[dep[0].name].candidate.version 1996s # if the dependency is in the list of packages we don't 1996s # need to look up its dependencies again 1996s if dep[0].name in [pkg[0] for pkg in packages]: 1996s continue 1996s # if the package is already extracted in the sandbox 1996s # because the report needs that package we don't want to 1996s # install a newer version which may cause a CRC mismatch 1996s # with the installed dbg symbols 1996s if dep[0].name in pkg_versions: 1996s inst_version = pkg_versions[dep[0].name] 1996s if self.compare_versions(inst_version, dep_pkg_vers) > -1: 1996s deps.append((dep[0].name, inst_version)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s if dep[0].name not in [pkg[0] for pkg in packages]: 1996s packages.append((dep[0].name, None)) 1996s packages.extend(deps) 1996s 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s 1996s # try to select matching version 1996s try: 1996s if ver: 1996s cache_pkg.candidate = cache_pkg.versions[ver] 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, lp_url, hash=f"sha1:{sha1sum}", destdir=archivedir 1996s ) 1996s ) 1996s lp_cache[pkg] = ver 1996s else: 1996s obsolete += ( 1996s f"{pkg} version {ver} required," 1996s f" but {cache_pkg.candidate.version} is available\n" 1996s ) 1996s ver = cache_pkg.candidate.version 1996s 1996s candidate = cache_pkg.candidate 1996s real_pkgs.add(pkg) 1996s 1996s if permanent_rootdir: 1996s virtual_mapping = self._virtual_mapping(aptroot) 1996s # Remember all the virtual packages that this package provides, 1996s # so that if we encounter that virtual package as a 1996s # Conflicts/Replaces later, we know to remove this package from 1996s # the cache. 1996s for p in candidate.provides: 1996s virtual_mapping.setdefault(p, set()).add(pkg) 1996s conflicts = [] 1996s if "Conflicts" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends( 1996s candidate.record["Conflicts"] 1996s ) 1996s if "Replaces" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends(candidate.record["Replaces"]) 1996s for conflict in conflicts: 1996s # if the package conflicts with itself its wonky e.g. 1996s # gdb in artful 1996s if conflict[0][0] == candidate.package.name: 1996s continue 1996s # apt_pkg.parse_depends needs to handle the or operator, 1996s # but as policy states it is invalid to use that in 1996s # Replaces/Depends, we can safely choose the first value 1996s # here. 1996s conflict = conflict[0] 1996s if apt_cache.is_virtual_package(conflict[0]): 1996s try: 1996s providers = virtual_mapping[conflict[0]] 1996s except KeyError: 1996s # We may not have seen the virtual package that 1996s # this conflicts with, so we can assume it's not 1996s # unpacked into the sandbox. 1996s continue 1996s for p in providers: 1996s # if the candidate package being installed 1996s # conflicts with but also provides a virtual 1996s # package don't act on the candidate e.g. 1996s # libpam-modules and libpam-mkhomedir in artful 1996s if p == candidate.package.name: 1996s continue 1996s debs = os.path.join(archivedir, f"{p}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[p] 1996s except KeyError: 1996s pass 1996s del providers 1996s else: 1996s debs = os.path.join(archivedir, f"{conflict[0]}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[conflict[0]] 1996s except KeyError: 1996s pass 1996s 1996s if candidate.architecture != "all" and install_dbg: 1996s try: 1996s dbg_pkg = f"{pkg}-dbg" 1996s dbg = apt_cache[dbg_pkg] 1996s pkg_found = False 1996s # try to get the same version as pkg 1996s if ver: 1996s try: 1996s dbg.candidate = dbg.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbg_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbg_pkg] = ver 1996s pkg_found = True 1996s # if it can't be found in Launchpad failover to a 1996s # code path that'll use -dbgsym packages 1996s else: 1996s raise 1996s if not pkg_found: 1996s try: 1996s dbg.candidate = dbg.versions[candidate.version] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated -dbg package for {pkg}:" 1996s f" package version {ver}" 1996s f" -dbg version {dbg.candidate.version}\n" 1996s ) 1996s real_pkgs.add(dbg_pkg) 1996s except KeyError: 1996s # install all -dbg from the source package; lookup() just 1996s # works from the current list pointer, we always need to 1996s # start from the beginning 1996s src_records.restart() 1996s if src_records.lookup(candidate.source_name): 1996s # ignore transitional packages 1996s # False positive, see 1996s # https://github.com/PyCQA/pylint/issues/7122 1996s # pylint: disable=not-an-iterable 1996s dbgs = [ 1996s p 1996s for p in src_records.binaries 1996s if p.endswith("-dbg") 1996s and p in apt_cache 1996s and "transitional" not in apt_cache[p].candidate.description 1996s ] 1996s # if a specific version of a package was requested 1996s # only install dbg pkgs whose version matches 1996s if ver: 1996s for dbg in dbgs: 1996s if apt_cache[dbg].candidate.version != ver: 1996s dbgs.remove(dbg) 1996s else: 1996s dbgs = [] 1996s if dbgs: 1996s for p in dbgs: 1996s # if the package has already been added to 1996s # real_pkgs don't search for it again 1996s if p in real_pkgs: 1996s continue 1996s pkg_found = False 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, p, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[p] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s # we don't really expect that, but it's 1996s # possible that other binaries have a 1996s # different version 1996s pass 1996s real_pkgs.add(p) 1996s else: 1996s pkg_found = False 1996s dbgsym_pkg = f"{pkg}-dbgsym" 1996s try: 1996s dbgsym = apt_cache[dbgsym_pkg] 1996s real_pkgs.add(dbgsym_pkg) 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated debug symbol package" 1996s f" for {pkg}: package version" 1996s f" {candidate.version}" 1996s f" dbgsym version" 1996s f" {dbgsym.candidate.version}\n" 1996s ) 1996s 1996s except KeyError: 1996s if ver: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s obsolete += f"no debug symbol package found for {pkg}\n" 1996s 1996s # unpack packages, weed out the ones that are already installed (for 1996s # permanent sandboxes) 1996s logger = logging.getLogger(__name__) 1996s requested_pkgs = dict(packages) 1996s for p in real_pkgs.copy(): 1996s if p in requested_pkgs: 1996s if requested_pkgs[p] is None: 1996s # We already have the latest version of this package 1996s if pkg_versions.get(p) == apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Removing %s which is already the right version", p 1996s ) 1996s real_pkgs.remove(p) 1996s else: 1996s logger.debug( 1996s "Installing %s version %s", 1996s p, 1996s apt_cache[p].candidate.version, 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != requested_pkgs[p]: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug("Installing %s", p) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s 1996s last_written = time.time() 1996s # fetch packages 1996s try: 1996s > apt_cache.fetch_archives(fetcher=fetcher) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:1321: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apt/cache.py:475: in fetch_archives 1996s return self._fetch_archives( 1996s /usr/lib/python3/dist-packages/apt/cache.py:443: in _fetch_archives 1996s return self._run_fetcher(fetcher, allow_unauthenticated) 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetcher = 1996s allow_unauthenticated = True 1996s 1996s def _run_fetcher( 1996s self, fetcher: apt_pkg.Acquire, allow_unauthenticated: bool | None 1996s ) -> int: 1996s if allow_unauthenticated is None: 1996s allow_unauthenticated = apt_pkg.config.find_b( 1996s "APT::Get::" "AllowUnauthenticated", False 1996s ) 1996s 1996s untrusted = [item for item in fetcher.items if not item.is_trusted] 1996s if untrusted and not allow_unauthenticated: 1996s raise UntrustedException( 1996s "Untrusted packages:\n%s" % "\n".join(i.desc_uri for i in untrusted) 1996s ) 1996s 1996s # do the actual fetching 1996s res = fetcher.run() 1996s 1996s # now check the result (this is the code from apt-get.cc) 1996s failed = False 1996s err_msg = "" 1996s for item in fetcher.items: 1996s if item.status == item.STAT_DONE: 1996s continue 1996s if item.STAT_IDLE: 1996s continue 1996s err_msg += f"Failed to fetch {item.desc_uri} {item.error_text}\n" 1996s failed = True 1996s 1996s # we raise a exception if the download failed or it was cancelt 1996s if res == fetcher.RESULT_CANCELLED: 1996s raise FetchCancelledException(err_msg) 1996s elif failed: 1996s > raise FetchFailedException(err_msg) 1996s E apt.cache.FetchFailedException: Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/coreutils-dbgsym_9.4-3ubuntu6_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Could not connect to launchpad.net:443 (185.125.189.223), connection timed out Could not connect to launchpad.net:443 (185.125.189.222), connection timed out 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:424: FetchFailedException 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s cachedir = '/tmp/tmpc56r8dyl/cache', workdir = '/tmp/tmpc56r8dyl' 1996s rootdir = '/tmp/tmpc56r8dyl/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_system(cachedir, workdir, rootdir, apt_style): 1996s # pylint: disable=unused-argument 1996s """install_packages() with system configuration""" 1996s # trigger an unrelated package query here to get the cache set up, 1996s # reproducing an install failure when the internal caches are not 1996s # reset properly 1996s impl.get_version("dash") 1996s 1996s release = " ".join(impl.get_os_version()) 1996s cachedir = os.path.join(workdir, "cache") 1996s rootdir = os.path.join(workdir, "root") 1996s 1996s > result = impl.install_packages( 1996s rootdir, 1996s None, 1996s release, 1996s [("coreutils", impl.get_version("coreutils")), ("tzdata", "1.1")], 1996s False, 1996s cachedir, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:316: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s rootdir = '/tmp/tmpc56r8dyl/root', configdir = None, release = 'Ubuntu 24.04' 1996s packages = [('coreutils', '9.4-3ubuntu6'), ('tzdata', '1.1')], verbose = False 1996s cache_dir = '/tmp/tmpc56r8dyl/cache', permanent_rootdir = False 1996s architecture = 'ppc64el', origins = None, install_dbg = True 1996s install_deps = False 1996s 1996s def install_packages( 1996s self, 1996s rootdir, 1996s configdir, 1996s release, 1996s packages, 1996s verbose=False, 1996s cache_dir=None, 1996s permanent_rootdir=False, 1996s architecture=None, 1996s origins=None, 1996s install_dbg=True, 1996s install_deps=False, 1996s ): # pylint: disable=too-many-arguments 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s # pylint: disable=too-many-nested-blocks,too-many-statements 1996s """Install packages into a sandbox (for apport-retrace). 1996s 1996s In order to work without any special permissions and without touching 1996s the running system, this should only download and unpack packages into 1996s the given root directory, not install them into the system. 1996s 1996s configdir points to a directory with by-release configuration files for 1996s the packaging system; this is completely dependent on the backend 1996s implementation, the only assumption is that this looks into 1996s configdir/release/, so that you can use retracing for multiple 1996s DistroReleases. As a special case, if configdir is None, it uses the 1996s current system configuration, and "release" is ignored. 1996s 1996s release is the value of the report's 'DistroRelease' field. 1996s 1996s packages is a list of ('packagename', 'version') tuples. If the version 1996s is None, it should install the most current available version. 1996s 1996s If cache_dir is given, then the downloaded packages will be stored 1996s there, to speed up subsequent retraces. 1996s 1996s If permanent_rootdir is True, then the sandbox created from the 1996s downloaded packages will be reused, to speed up subsequent retraces. 1996s 1996s If architecture is given, the sandbox will be created with packages of 1996s the given architecture (as specified in a report's "Architecture" 1996s field). If not given it defaults to the host system's architecture. 1996s 1996s If origins is given, the sandbox will be created with apt data sources 1996s for foreign origins. 1996s 1996s If install_deps is True, then the dependencies of packages will also 1996s be installed. 1996s 1996s Return a string with outdated packages, or an empty string if all 1996s packages were installed. 1996s 1996s If something is wrong with the environment (invalid configuration, 1996s package servers down, etc.), this should raise a SystemError with a 1996s meaningful error message. 1996s """ 1996s if not architecture: 1996s architecture = self.get_system_architecture() 1996s if not configdir: 1996s apt_dir = "/etc/apt" 1996s self._current_release_codename = self.get_distro_codename() 1996s else: 1996s # support architecture specific config, fall back to global config 1996s apt_dir = os.path.join(configdir, release) 1996s if architecture != self.get_system_architecture(): 1996s arch_apt_dir = os.path.join(configdir, release, architecture) 1996s arch_old_sources = os.path.join(arch_apt_dir, "sources.list") 1996s arch_sources_dir = os.path.join(arch_apt_dir, "sources.list.d") 1996s if os.path.exists(arch_old_sources) or ( 1996s os.path.exists(arch_sources_dir) and os.listdir(arch_sources_dir) 1996s ): 1996s apt_dir = arch_apt_dir 1996s 1996s # set mirror for get_file_package() 1996s try: 1996s self.set_mirror(self._get_primary_mirror_from_apt_sources(apt_dir)) 1996s except SystemError as error: 1996s apport.logging.warning("cannot determine mirror: %s", str(error)) 1996s 1996s # set current release code name for _distro_release_to_codename 1996s with open( 1996s os.path.join(configdir, release, "codename"), encoding="utf-8" 1996s ) as f: 1996s self._current_release_codename = f.read().strip() 1996s 1996s # create apt sandbox 1996s if cache_dir: 1996s tmp_aptroot = False 1996s if architecture != self.get_system_architecture(): 1996s aptroot_arch = architecture 1996s else: 1996s aptroot_arch = "" 1996s if configdir: 1996s aptroot = os.path.join(cache_dir, release, aptroot_arch, "apt") 1996s else: 1996s aptroot = os.path.join(cache_dir, "system", aptroot_arch, "apt") 1996s if not os.path.isdir(aptroot): 1996s os.makedirs(aptroot) 1996s else: 1996s tmp_aptroot = True 1996s aptroot = tempfile.mkdtemp() 1996s 1996s apt.apt_pkg.config.set("APT::Architecture", architecture) 1996s apt.apt_pkg.config.set("Acquire::Languages", "none") 1996s # directly connect to Launchpad when downloading deb files 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::api.launchpad.net", "DIRECT") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy::launchpad.net", "DIRECT") 1996s 1996s if verbose: 1996s fetchProgress = apt.progress.text.AcquireProgress() 1996s else: 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s if not tmp_aptroot: 1996s apt_cache = self._sandbox_cache( 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s architecture, 1996s ) 1996s else: 1996s self._build_apt_sandbox( 1996s aptroot, 1996s apt_dir, 1996s self.get_distro_name(), 1996s self._current_release_codename, 1996s origins, 1996s ) 1996s apt_cache = apt.Cache(rootdir=os.path.abspath(aptroot)) 1996s try: 1996s apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s raise SystemError(str(error)) from error 1996s apt_cache.open() 1996s 1996s archivedir = apt.apt_pkg.config.find_dir("Dir::Cache::archives") 1996s 1996s obsolete = "" 1996s 1996s src_records = apt.apt_pkg.SourceRecords() 1996s 1996s # read original package list 1996s pkg_list = os.path.join(rootdir, "packages.txt") 1996s pkg_versions = {} 1996s if os.path.exists(pkg_list): 1996s with open(pkg_list, encoding="utf-8") as f: 1996s for line in f: 1996s line = line.strip() 1996s if not line: 1996s continue 1996s (p, v) = line.split() 1996s pkg_versions[p] = v 1996s 1996s # mark packages for installation 1996s real_pkgs = set() 1996s lp_cache = {} 1996s fetcher = apt.apt_pkg.Acquire(fetchProgress) 1996s # need to keep AcquireFile references 1996s acquire_queue = [] 1996s # add any dependencies to the packages list 1996s if install_deps: 1996s deps = [] 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s for dep in cache_pkg.candidate.dependencies: 1996s # the dependency may be satisfied by a different package 1996s if dep[0].name not in apt_cache: 1996s dep[0] = apt_cache.get_providing_packages(dep[0].name)[0] 1996s # the version in dep is the one from pkg's dependencies, 1996s # so use the version from the cache 1996s dep_pkg_vers = apt_cache[dep[0].name].candidate.version 1996s # if the dependency is in the list of packages we don't 1996s # need to look up its dependencies again 1996s if dep[0].name in [pkg[0] for pkg in packages]: 1996s continue 1996s # if the package is already extracted in the sandbox 1996s # because the report needs that package we don't want to 1996s # install a newer version which may cause a CRC mismatch 1996s # with the installed dbg symbols 1996s if dep[0].name in pkg_versions: 1996s inst_version = pkg_versions[dep[0].name] 1996s if self.compare_versions(inst_version, dep_pkg_vers) > -1: 1996s deps.append((dep[0].name, inst_version)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s else: 1996s deps.append((dep[0].name, dep_pkg_vers)) 1996s if dep[0].name not in [pkg[0] for pkg in packages]: 1996s packages.append((dep[0].name, None)) 1996s packages.extend(deps) 1996s 1996s for pkg, ver in packages: 1996s try: 1996s cache_pkg = apt_cache[pkg] 1996s except KeyError: 1996s m = f"package {pkg.replace('%', '%%')} does not exist, ignoring" 1996s obsolete += f"{m}\n" 1996s apport.logging.warning("%s", m) 1996s continue 1996s 1996s # try to select matching version 1996s try: 1996s if ver: 1996s cache_pkg.candidate = cache_pkg.versions[ver] 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, lp_url, hash=f"sha1:{sha1sum}", destdir=archivedir 1996s ) 1996s ) 1996s lp_cache[pkg] = ver 1996s else: 1996s obsolete += ( 1996s f"{pkg} version {ver} required," 1996s f" but {cache_pkg.candidate.version} is available\n" 1996s ) 1996s ver = cache_pkg.candidate.version 1996s 1996s candidate = cache_pkg.candidate 1996s real_pkgs.add(pkg) 1996s 1996s if permanent_rootdir: 1996s virtual_mapping = self._virtual_mapping(aptroot) 1996s # Remember all the virtual packages that this package provides, 1996s # so that if we encounter that virtual package as a 1996s # Conflicts/Replaces later, we know to remove this package from 1996s # the cache. 1996s for p in candidate.provides: 1996s virtual_mapping.setdefault(p, set()).add(pkg) 1996s conflicts = [] 1996s if "Conflicts" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends( 1996s candidate.record["Conflicts"] 1996s ) 1996s if "Replaces" in candidate.record: 1996s conflicts += apt.apt_pkg.parse_depends(candidate.record["Replaces"]) 1996s for conflict in conflicts: 1996s # if the package conflicts with itself its wonky e.g. 1996s # gdb in artful 1996s if conflict[0][0] == candidate.package.name: 1996s continue 1996s # apt_pkg.parse_depends needs to handle the or operator, 1996s # but as policy states it is invalid to use that in 1996s # Replaces/Depends, we can safely choose the first value 1996s # here. 1996s conflict = conflict[0] 1996s if apt_cache.is_virtual_package(conflict[0]): 1996s try: 1996s providers = virtual_mapping[conflict[0]] 1996s except KeyError: 1996s # We may not have seen the virtual package that 1996s # this conflicts with, so we can assume it's not 1996s # unpacked into the sandbox. 1996s continue 1996s for p in providers: 1996s # if the candidate package being installed 1996s # conflicts with but also provides a virtual 1996s # package don't act on the candidate e.g. 1996s # libpam-modules and libpam-mkhomedir in artful 1996s if p == candidate.package.name: 1996s continue 1996s debs = os.path.join(archivedir, f"{p}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[p] 1996s except KeyError: 1996s pass 1996s del providers 1996s else: 1996s debs = os.path.join(archivedir, f"{conflict[0]}_*.deb") 1996s for path in glob.glob(debs): 1996s ver = self._deb_version(path) 1996s if apt.apt_pkg.check_dep(ver, conflict[2], conflict[1]): 1996s os.unlink(path) 1996s try: 1996s del pkg_versions[conflict[0]] 1996s except KeyError: 1996s pass 1996s 1996s if candidate.architecture != "all" and install_dbg: 1996s try: 1996s dbg_pkg = f"{pkg}-dbg" 1996s dbg = apt_cache[dbg_pkg] 1996s pkg_found = False 1996s # try to get the same version as pkg 1996s if ver: 1996s try: 1996s dbg.candidate = dbg.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbg_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbg_pkg] = ver 1996s pkg_found = True 1996s # if it can't be found in Launchpad failover to a 1996s # code path that'll use -dbgsym packages 1996s else: 1996s raise 1996s if not pkg_found: 1996s try: 1996s dbg.candidate = dbg.versions[candidate.version] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated -dbg package for {pkg}:" 1996s f" package version {ver}" 1996s f" -dbg version {dbg.candidate.version}\n" 1996s ) 1996s real_pkgs.add(dbg_pkg) 1996s except KeyError: 1996s # install all -dbg from the source package; lookup() just 1996s # works from the current list pointer, we always need to 1996s # start from the beginning 1996s src_records.restart() 1996s if src_records.lookup(candidate.source_name): 1996s # ignore transitional packages 1996s # False positive, see 1996s # https://github.com/PyCQA/pylint/issues/7122 1996s # pylint: disable=not-an-iterable 1996s dbgs = [ 1996s p 1996s for p in src_records.binaries 1996s if p.endswith("-dbg") 1996s and p in apt_cache 1996s and "transitional" not in apt_cache[p].candidate.description 1996s ] 1996s # if a specific version of a package was requested 1996s # only install dbg pkgs whose version matches 1996s if ver: 1996s for dbg in dbgs: 1996s if apt_cache[dbg].candidate.version != ver: 1996s dbgs.remove(dbg) 1996s else: 1996s dbgs = [] 1996s if dbgs: 1996s for p in dbgs: 1996s # if the package has already been added to 1996s # real_pkgs don't search for it again 1996s if p in real_pkgs: 1996s continue 1996s pkg_found = False 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, p, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[p] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s apt_cache[p].candidate = apt_cache[p].versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s # we don't really expect that, but it's 1996s # possible that other binaries have a 1996s # different version 1996s pass 1996s real_pkgs.add(p) 1996s else: 1996s pkg_found = False 1996s dbgsym_pkg = f"{pkg}-dbgsym" 1996s try: 1996s dbgsym = apt_cache[dbgsym_pkg] 1996s real_pkgs.add(dbgsym_pkg) 1996s # prefer the version requested 1996s if ver: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ver] 1996s pkg_found = True 1996s except KeyError: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s try: 1996s dbgsym.candidate = dbgsym.versions[ 1996s candidate.version 1996s ] 1996s except KeyError: 1996s obsolete += ( 1996s f"outdated debug symbol package" 1996s f" for {pkg}: package version" 1996s f" {candidate.version}" 1996s f" dbgsym version" 1996s f" {dbgsym.candidate.version}\n" 1996s ) 1996s 1996s except KeyError: 1996s if ver: 1996s (lp_url, sha1sum) = self.get_lp_binary_package( 1996s release, dbgsym_pkg, ver, architecture 1996s ) 1996s if lp_url: 1996s acquire_queue.append( 1996s apt.apt_pkg.AcquireFile( 1996s fetcher, 1996s lp_url, 1996s hash=f"sha1:{sha1sum}", 1996s destdir=archivedir, 1996s ) 1996s ) 1996s lp_cache[dbgsym_pkg] = ver 1996s pkg_found = True 1996s if not pkg_found: 1996s obsolete += f"no debug symbol package found for {pkg}\n" 1996s 1996s # unpack packages, weed out the ones that are already installed (for 1996s # permanent sandboxes) 1996s logger = logging.getLogger(__name__) 1996s requested_pkgs = dict(packages) 1996s for p in real_pkgs.copy(): 1996s if p in requested_pkgs: 1996s if requested_pkgs[p] is None: 1996s # We already have the latest version of this package 1996s if pkg_versions.get(p) == apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Removing %s which is already the right version", p 1996s ) 1996s real_pkgs.remove(p) 1996s else: 1996s logger.debug( 1996s "Installing %s version %s", 1996s p, 1996s apt_cache[p].candidate.version, 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != requested_pkgs[p]: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug( 1996s "Installing %s version %s", p, apt_cache[p].candidate.version 1996s ) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s elif pkg_versions.get(p) != apt_cache[p].candidate.version: 1996s logger.debug("Installing %s", p) 1996s apt_cache[p].mark_install(False, False) 1996s else: 1996s logger.debug("Removing %s which is already the right version", p) 1996s real_pkgs.remove(p) 1996s 1996s last_written = time.time() 1996s # fetch packages 1996s try: 1996s apt_cache.fetch_archives(fetcher=fetcher) 1996s except apt.cache.FetchFailedException as error: 1996s apport.logging.error( 1996s "Package download error, try again later: %s", str(error) 1996s ) 1996s > sys.exit(1) # transient error 1996s E SystemExit: 1 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:1326: SystemExit 1996s ----------------------------- Captured stderr call ----------------------------- 1996s ERROR: Package download error, try again later: Failed to fetch https://launchpad.net/ubuntu/%2barchive/primary/%2bfiles/coreutils-dbgsym_9.4-3ubuntu6_ppc64el.ddeb Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::3ba). - connect (101: Network is unreachable) Cannot initiate the connection to launchpad.net:443 (2620:2d:4000:1009::f3). - connect (101: Network is unreachable) Could not connect to launchpad.net:443 (185.125.189.223), connection timed out Could not connect to launchpad.net:443 (185.125.189.222), connection timed out 1996s 1996s ______________ test_install_packages_permanent_sandbox[one-line] _______________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp2o9sjaaj/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp2o9sjaaj/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp2o9sjaaj/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp2o9sjaaj/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp2o9sjaaj/config', cachedir = '/tmp/tmp2o9sjaaj/cache' 1996s rootdir = '/tmp/tmp2o9sjaaj/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_permanent_sandbox(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() with a permanent sandbox""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s zonetab = os.path.join(rootdir, "usr/share/zoneinfo/zone.tab") 1996s 1996s > impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("tzdata", None)], 1996s False, 1996s cachedir, 1996s permanent_rootdir=True, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:392: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp2o9sjaaj/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp2o9sjaaj/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp2o9sjaaj/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s _______________ test_install_packages_permanent_sandbox[deb822] ________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp76_irwdd/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp76_irwdd/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp76_irwdd/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp76_irwdd/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp76_irwdd/config', cachedir = '/tmp/tmp76_irwdd/cache' 1996s rootdir = '/tmp/tmp76_irwdd/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_permanent_sandbox(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() with a permanent sandbox""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s zonetab = os.path.join(rootdir, "usr/share/zoneinfo/zone.tab") 1996s 1996s > impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("tzdata", None)], 1996s False, 1996s cachedir, 1996s permanent_rootdir=True, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:392: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp76_irwdd/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp76_irwdd/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp76_irwdd/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ___________ test_install_packages_permanent_sandbox_repack[one-line] ___________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp632rmozt/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp632rmozt/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp632rmozt/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp632rmozt/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp632rmozt/config', cachedir = '/tmp/tmp632rmozt/cache' 1996s rootdir = '/tmp/tmp632rmozt/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_permanent_sandbox_repack( 1996s configdir, cachedir, rootdir, apt_style 1996s ): 1996s # Both packages needs to conflict with each other, because they 1996s # ship the same file. 1996s release = _setup_foonux_config(configdir, apt_style) 1996s > impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("libcurl4-gnutls-dev", None)], 1996s False, 1996s cachedir, 1996s permanent_rootdir=True, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:500: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp632rmozt/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp632rmozt/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp632rmozt/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ____________ test_install_packages_permanent_sandbox_repack[deb822] ____________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp47w0egwf/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp47w0egwf/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp47w0egwf/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp47w0egwf/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp47w0egwf/config', cachedir = '/tmp/tmp47w0egwf/cache' 1996s rootdir = '/tmp/tmp47w0egwf/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_permanent_sandbox_repack( 1996s configdir, cachedir, rootdir, apt_style 1996s ): 1996s # Both packages needs to conflict with each other, because they 1996s # ship the same file. 1996s release = _setup_foonux_config(configdir, apt_style) 1996s > impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("libcurl4-gnutls-dev", None)], 1996s False, 1996s cachedir, 1996s permanent_rootdir=True, 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:500: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp47w0egwf/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp47w0egwf/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp47w0egwf/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ____________________ test_install_packages_armhf[one-line] _____________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmpd_k5oy9x/cache/Foonux 22.04/armhf/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmpd_k5oy9x/cache/Foonux 22.04/armhf/apt' 1996s apt_dir = '/tmp/tmpd_k5oy9x/config/Foonux 22.04/armhf' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'armhf' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmpd_k5oy9x/cache/Foonux 22.04/armhf/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpd_k5oy9x/config', cachedir = '/tmp/tmpd_k5oy9x/cache' 1996s rootdir = '/tmp/tmpd_k5oy9x/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s @pytest.mark.skipif( 1996s impl.get_system_architecture() == "armhf", reason="native armhf architecture" 1996s ) 1996s def test_install_packages_armhf(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() for foreign architecture armhf""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_version = "2.35-0ubuntu0" 1996s got_version = "2.35-0ubuntu3" 1996s > obsolete = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("coreutils", None), ("libc6", wanted_version)], 1996s False, 1996s cachedir, 1996s architecture="armhf", 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:544: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmpd_k5oy9x/cache/Foonux 22.04/armhf/apt' 1996s apt_dir = '/tmp/tmpd_k5oy9x/config/Foonux 22.04/armhf' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'armhf' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmpd_k5oy9x/cache/Foonux 22.04/armhf/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s _____________________ test_install_packages_armhf[deb822] ______________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmpaxhoe0g2/cache/Foonux 22.04/armhf/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmpaxhoe0g2/cache/Foonux 22.04/armhf/apt' 1996s apt_dir = '/tmp/tmpaxhoe0g2/config/Foonux 22.04/armhf' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'armhf' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmpaxhoe0g2/cache/Foonux 22.04/armhf/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpaxhoe0g2/config', cachedir = '/tmp/tmpaxhoe0g2/cache' 1996s rootdir = '/tmp/tmpaxhoe0g2/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s @pytest.mark.skipif( 1996s impl.get_system_architecture() == "armhf", reason="native armhf architecture" 1996s ) 1996s def test_install_packages_armhf(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() for foreign architecture armhf""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_version = "2.35-0ubuntu0" 1996s got_version = "2.35-0ubuntu3" 1996s > obsolete = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [("coreutils", None), ("libc6", wanted_version)], 1996s False, 1996s cachedir, 1996s architecture="armhf", 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:544: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmpaxhoe0g2/cache/Foonux 22.04/armhf/apt' 1996s apt_dir = '/tmp/tmpaxhoe0g2/config/Foonux 22.04/armhf' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'armhf' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmpaxhoe0g2/cache/Foonux 22.04/armhf/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ________________ test_install_packages_from_launchpad[one-line] ________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmpqawi0w80/cache/Foonux 20.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_focal_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmpqawi0w80/cache/Foonux 20.04/apt' 1996s apt_dir = '/tmp/tmpqawi0w80/config/Foonux 20.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'focal', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmpqawi0w80/cache/Foonux 20.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_focal_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpqawi0w80/config', cachedir = '/tmp/tmpqawi0w80/cache' 1996s rootdir = '/tmp/tmpqawi0w80/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_from_launchpad(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() using packages only available on Launchpad""" 1996s release = _setup_foonux_config(configdir, apt_style, release="focal") 1996s # Wanted are superseded versions from -updates or -security. 1996s wanted = { 1996s "distro-info-data": "0.43ubuntu1.9", # arch all 1996s "libc6": "2.31-0ubuntu9.4", # -dbg, arch specific 1996s "qemu-utils": "1:4.2-3ubuntu6.1", # -dbgsym, arch specific 1996s } 1996s > obsolete = impl.install_packages( 1996s rootdir, configdir, release, list(wanted.items()), False, cachedir 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:581: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmpqawi0w80/cache/Foonux 20.04/apt' 1996s apt_dir = '/tmp/tmpqawi0w80/config/Foonux 20.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'focal', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmpqawi0w80/cache/Foonux 20.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_focal_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s _________________ test_install_packages_from_launchpad[deb822] _________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp_wupk_g0/cache/Foonux 20.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_focal_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp_wupk_g0/cache/Foonux 20.04/apt' 1996s apt_dir = '/tmp/tmp_wupk_g0/config/Foonux 20.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'focal', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp_wupk_g0/cache/Foonux 20.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_focal_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp_wupk_g0/config', cachedir = '/tmp/tmp_wupk_g0/cache' 1996s rootdir = '/tmp/tmp_wupk_g0/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_packages_from_launchpad(configdir, cachedir, rootdir, apt_style): 1996s """install_packages() using packages only available on Launchpad""" 1996s release = _setup_foonux_config(configdir, apt_style, release="focal") 1996s # Wanted are superseded versions from -updates or -security. 1996s wanted = { 1996s "distro-info-data": "0.43ubuntu1.9", # arch all 1996s "libc6": "2.31-0ubuntu9.4", # -dbg, arch specific 1996s "qemu-utils": "1:4.2-3ubuntu6.1", # -dbgsym, arch specific 1996s } 1996s > obsolete = impl.install_packages( 1996s rootdir, configdir, release, list(wanted.items()), False, cachedir 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:581: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp_wupk_g0/cache/Foonux 20.04/apt' 1996s apt_dir = '/tmp/tmp_wupk_g0/config/Foonux 20.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'focal', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp_wupk_g0/cache/Foonux 20.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_focal_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s _____________________ test_install_old_packages[one-line] ______________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp0k937a4j/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp0k937a4j/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp0k937a4j/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp0k937a4j/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp0k937a4j/config', cachedir = '/tmp/tmp0k937a4j/cache' 1996s rootdir = '/tmp/tmp0k937a4j/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_old_packages(configdir, cachedir, rootdir, apt_style): 1996s """Sandbox will install older package versions from launchpad.""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_package = "libcurl4" 1996s wanted_version = "7.81.0-1" # pre-release version 1996s > obsolete = impl.install_packages( 1996s rootdir, configdir, release, [(wanted_package, wanted_version)], False, cachedir 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:639: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp0k937a4j/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp0k937a4j/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp0k937a4j/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ______________________ test_install_old_packages[deb822] _______________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmpyhqlyn_w/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmpyhqlyn_w/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmpyhqlyn_w/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmpyhqlyn_w/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpyhqlyn_w/config', cachedir = '/tmp/tmpyhqlyn_w/cache' 1996s rootdir = '/tmp/tmpyhqlyn_w/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_old_packages(configdir, cachedir, rootdir, apt_style): 1996s """Sandbox will install older package versions from launchpad.""" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_package = "libcurl4" 1996s wanted_version = "7.81.0-1" # pre-release version 1996s > obsolete = impl.install_packages( 1996s rootdir, configdir, release, [(wanted_package, wanted_version)], False, cachedir 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:639: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmpyhqlyn_w/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmpyhqlyn_w/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy', origins = None 1996s arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmpyhqlyn_w/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.6 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ____________________ test_get_source_tree_sandbox[one-line] ____________________ 1996s 1996s configdir = '/tmp/tmpziz58l4z/config', workdir = '/tmp/tmpziz58l4z' 1996s rootdir = '/tmp/tmpziz58l4z/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_get_source_tree_sandbox(configdir, workdir, rootdir, apt_style): 1996s release = _setup_foonux_config(configdir, apt_style) 1996s out_dir = os.path.join(workdir, "out") 1996s os.mkdir(out_dir) 1996s # pylint: disable=protected-access 1996s impl._build_apt_sandbox( 1996s rootdir, os.path.join(configdir, release), "ubuntu", "jammy", origins=None 1996s ) 1996s res = impl.get_source_tree("base-files", out_dir, sandbox=rootdir) 1996s > assert os.path.isdir(os.path.join(res, "debian")) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:685: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s a = None, p = ('debian',) 1996s 1996s > ??? 1996s E TypeError: expected str, bytes or os.PathLike object, not NoneType 1996s 1996s :76: TypeError 1996s ----------------------------- Captured stderr call ----------------------------- 1996s W: Download is performed unsandboxed as root as file '/tmp/tmpziz58l4z/root/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1996s E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128] 1996s E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s E: You must put some 'deb-src' URIs in your sources.list 1996s _____________________ test_get_source_tree_sandbox[deb822] _____________________ 1996s 1996s configdir = '/tmp/tmpzzjubt80/config', workdir = '/tmp/tmpzzjubt80' 1996s rootdir = '/tmp/tmpzzjubt80/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_get_source_tree_sandbox(configdir, workdir, rootdir, apt_style): 1996s release = _setup_foonux_config(configdir, apt_style) 1996s out_dir = os.path.join(workdir, "out") 1996s os.mkdir(out_dir) 1996s # pylint: disable=protected-access 1996s impl._build_apt_sandbox( 1996s rootdir, os.path.join(configdir, release), "ubuntu", "jammy", origins=None 1996s ) 1996s res = impl.get_source_tree("base-files", out_dir, sandbox=rootdir) 1996s > assert os.path.isdir(os.path.join(res, "debian")) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:685: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s a = None, p = ('debian',) 1996s 1996s > ??? 1996s E TypeError: expected str, bytes or os.PathLike object, not NoneType 1996s 1996s :76: TypeError 1996s ----------------------------- Captured stderr call ----------------------------- 1996s W: Download is performed unsandboxed as root as file '/tmp/tmpzzjubt80/root/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1996s E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128] 1996s E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s E: You must put some 'deb-src' URIs in your sources.list 1996s __________________ test_get_source_tree_lp_sandbox[one-line] ___________________ 1996s 1996s configdir = '/tmp/tmp776smz3_/config', workdir = '/tmp/tmp776smz3_' 1996s rootdir = '/tmp/tmp776smz3_/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_get_source_tree_lp_sandbox(configdir, workdir, rootdir, apt_style): 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_package = "curl" 1996s wanted_version = "7.81.0-1ubuntu1.2" # superseded -security version 1996s out_dir = os.path.join(workdir, "out") 1996s os.mkdir(out_dir) 1996s # pylint: disable=protected-access 1996s impl._build_apt_sandbox( 1996s rootdir, os.path.join(configdir, release), "ubuntu", "jammy", origins=None 1996s ) 1996s > res = impl.get_source_tree( 1996s wanted_package, out_dir, version=wanted_version, sandbox=rootdir 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:702: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s srcpackage = 'curl', output_dir = '/tmp/tmp776smz3_/out' 1996s version = '7.81.0-1ubuntu1.2', sandbox = '/tmp/tmp776smz3_/root' 1996s 1996s def get_source_tree(self, srcpackage, output_dir, version=None, sandbox=None): 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s """Download source package and unpack it into output_dir. 1996s 1996s This also has to care about applying patches etc., so that output_dir 1996s will eventually contain the actually compiled source. output_dir needs 1996s to exist and should be empty. 1996s 1996s If version is given, this particular version will be retrieved. 1996s Otherwise this will fetch the latest available version. 1996s 1996s If sandbox is given, it calls apt-get source in that sandbox, otherwise 1996s it uses the system apt configuration. 1996s 1996s If apt_update is True, it will call apt-get update before apt-get 1996s source. This is mostly necessary for freshly created sandboxes. 1996s 1996s Return the directory that contains the actual source root directory 1996s (which might be a subdirectory of output_dir). Return None if the 1996s source is not available. 1996s """ 1996s # configure apt for sandbox 1996s env = os.environ.copy() 1996s if sandbox: 1996s # hard to change, pylint: disable=consider-using-with 1996s f = tempfile.NamedTemporaryFile("w+") 1996s f.write( 1996s f'Dir "{sandbox}";\n' 1996s f'Dir::State::Status "/var/lib/dpkg/status";\n' 1996s f'Debug::NoLocking "true";\n' 1996s ) 1996s f.flush() 1996s env["APT_CONFIG"] = f.name 1996s 1996s if sandbox and not glob.glob(f"{sandbox}/var/lib/apt/lists/*Sources"): 1996s subprocess.call(["apt-get", "-qq", "update"], env=env) 1996s 1996s # fetch source tree 1996s argv = ["apt-get", "-qq", "--assume-yes", "source", srcpackage] 1996s if version: 1996s argv[-1] += f"={version}" 1996s try: 1996s if subprocess.call(argv, cwd=output_dir, env=env) != 0: 1996s if not version: 1996s return None 1996s sf_urls = self.get_lp_source_package(srcpackage, version) 1996s if sf_urls: 1996s proxy = "" 1996s if apt.apt_pkg.config.find("Acquire::http::Proxy") != "": 1996s proxy = apt.apt_pkg.config.find("Acquire::http::Proxy") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy", "") 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s fetcher = apt.apt_pkg.Acquire(fetchProgress) 1996s af_queue = [] 1996s for sf in sf_urls: 1996s af_queue.append( 1996s apt.apt_pkg.AcquireFile(fetcher, sf, destdir=output_dir) 1996s ) 1996s result = fetcher.run() 1996s if result != fetcher.RESULT_CONTINUE: 1996s return None 1996s if proxy: 1996s apt.apt_pkg.config.set("Acquire::http::Proxy", proxy) 1996s for dsc in glob.glob(os.path.join(output_dir, "*.dsc")): 1996s subprocess.call( 1996s ["dpkg-source", "-sn", "-x", dsc], 1996s stdout=subprocess.PIPE, 1996s cwd=output_dir, 1996s ) 1996s else: 1996s return None 1996s except OSError: 1996s return None 1996s 1996s # find top level directory 1996s root = None 1996s for d in glob.glob(os.path.join(output_dir, f"{srcpackage}-*")): 1996s if os.path.isdir(d): 1996s root = d 1996s > assert root, "could not determine source tree root directory" 1996s E AssertionError: could not determine source tree root directory 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:796: AssertionError 1996s ----------------------------- Captured stderr call ----------------------------- 1996s W: Download is performed unsandboxed as root as file '/tmp/tmp776smz3_/root/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1996s E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128] 1996s E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s E: You must put some 'deb-src' URIs in your sources.list 1996s ___________________ test_get_source_tree_lp_sandbox[deb822] ____________________ 1996s 1996s configdir = '/tmp/tmpr8p2uls3/config', workdir = '/tmp/tmpr8p2uls3' 1996s rootdir = '/tmp/tmpr8p2uls3/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_get_source_tree_lp_sandbox(configdir, workdir, rootdir, apt_style): 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_package = "curl" 1996s wanted_version = "7.81.0-1ubuntu1.2" # superseded -security version 1996s out_dir = os.path.join(workdir, "out") 1996s os.mkdir(out_dir) 1996s # pylint: disable=protected-access 1996s impl._build_apt_sandbox( 1996s rootdir, os.path.join(configdir, release), "ubuntu", "jammy", origins=None 1996s ) 1996s > res = impl.get_source_tree( 1996s wanted_package, out_dir, version=wanted_version, sandbox=rootdir 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:702: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s srcpackage = 'curl', output_dir = '/tmp/tmpr8p2uls3/out' 1996s version = '7.81.0-1ubuntu1.2', sandbox = '/tmp/tmpr8p2uls3/root' 1996s 1996s def get_source_tree(self, srcpackage, output_dir, version=None, sandbox=None): 1996s # TODO: Split into smaller functions/methods 1996s # pylint: disable=too-many-branches,too-many-locals 1996s """Download source package and unpack it into output_dir. 1996s 1996s This also has to care about applying patches etc., so that output_dir 1996s will eventually contain the actually compiled source. output_dir needs 1996s to exist and should be empty. 1996s 1996s If version is given, this particular version will be retrieved. 1996s Otherwise this will fetch the latest available version. 1996s 1996s If sandbox is given, it calls apt-get source in that sandbox, otherwise 1996s it uses the system apt configuration. 1996s 1996s If apt_update is True, it will call apt-get update before apt-get 1996s source. This is mostly necessary for freshly created sandboxes. 1996s 1996s Return the directory that contains the actual source root directory 1996s (which might be a subdirectory of output_dir). Return None if the 1996s source is not available. 1996s """ 1996s # configure apt for sandbox 1996s env = os.environ.copy() 1996s if sandbox: 1996s # hard to change, pylint: disable=consider-using-with 1996s f = tempfile.NamedTemporaryFile("w+") 1996s f.write( 1996s f'Dir "{sandbox}";\n' 1996s f'Dir::State::Status "/var/lib/dpkg/status";\n' 1996s f'Debug::NoLocking "true";\n' 1996s ) 1996s f.flush() 1996s env["APT_CONFIG"] = f.name 1996s 1996s if sandbox and not glob.glob(f"{sandbox}/var/lib/apt/lists/*Sources"): 1996s subprocess.call(["apt-get", "-qq", "update"], env=env) 1996s 1996s # fetch source tree 1996s argv = ["apt-get", "-qq", "--assume-yes", "source", srcpackage] 1996s if version: 1996s argv[-1] += f"={version}" 1996s try: 1996s if subprocess.call(argv, cwd=output_dir, env=env) != 0: 1996s if not version: 1996s return None 1996s sf_urls = self.get_lp_source_package(srcpackage, version) 1996s if sf_urls: 1996s proxy = "" 1996s if apt.apt_pkg.config.find("Acquire::http::Proxy") != "": 1996s proxy = apt.apt_pkg.config.find("Acquire::http::Proxy") 1996s apt.apt_pkg.config.set("Acquire::http::Proxy", "") 1996s fetchProgress = apt.progress.base.AcquireProgress() 1996s fetcher = apt.apt_pkg.Acquire(fetchProgress) 1996s af_queue = [] 1996s for sf in sf_urls: 1996s af_queue.append( 1996s apt.apt_pkg.AcquireFile(fetcher, sf, destdir=output_dir) 1996s ) 1996s result = fetcher.run() 1996s if result != fetcher.RESULT_CONTINUE: 1996s return None 1996s if proxy: 1996s apt.apt_pkg.config.set("Acquire::http::Proxy", proxy) 1996s for dsc in glob.glob(os.path.join(output_dir, "*.dsc")): 1996s subprocess.call( 1996s ["dpkg-source", "-sn", "-x", dsc], 1996s stdout=subprocess.PIPE, 1996s cwd=output_dir, 1996s ) 1996s else: 1996s return None 1996s except OSError: 1996s return None 1996s 1996s # find top level directory 1996s root = None 1996s for d in glob.glob(os.path.join(output_dir, f"{srcpackage}-*")): 1996s if os.path.isdir(d): 1996s root = d 1996s > assert root, "could not determine source tree root directory" 1996s E AssertionError: could not determine source tree root directory 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:796: AssertionError 1996s ----------------------------- Captured stderr call ----------------------------- 1996s W: Download is performed unsandboxed as root as file '/tmp/tmpr8p2uls3/root/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1996s E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128] 1996s E: The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed. 1996s E: You must put some 'deb-src' URIs in your sources.list 1996s ________________ test_create_sources_for_a_named_ppa[one-line] _________________ 1996s 1996s configdir = '/tmp/tmpr5nxswu_/config', rootdir = '/tmp/tmpr5nxswu_/root' 1996s apt_style = 'one-line' 1996s 1996s @skip_if_command_is_missing("gpg") 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_create_sources_for_a_named_ppa(configdir, rootdir, apt_style): 1996s """Add sources.list entries for a named PPA.""" 1996s ppa = "LP-PPA-daisy-pluckers-daisy-seeds" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s # pylint: disable=protected-access 1996s impl._build_apt_sandbox( 1996s rootdir, os.path.join(configdir, release), "ubuntu", "jammy", origins=[ppa] 1996s ) 1996s if WITH_DEB822_SUPPORT: 1996s ppasource = os.path.join( 1996s rootdir, "etc", "apt", "sources.list.d", f"{ppa}.sources" 1996s ) 1996s entries = _parse_deb822_sources(ppasource) 1996s assert [ 1996s e 1996s for e in entries 1996s if {"deb", "deb-src"} == set(e.types) 1996s and "jammy" in e.suites 1996s and "main" in e.comps 1996s and "http://ppa.launchpad.net/" 1996s "daisy-pluckers/daisy-seeds/ubuntu" in e.uris 1996s ] 1996s assert [ 1996s e 1996s for e in entries 1996s if "deb" in e.types 1996s and "jammy" in e.suites 1996s and "main/debug" in e.comps 1996s and "http://ppa.launchpad.net/" 1996s "daisy-pluckers/daisy-seeds/ubuntu" in e.uris 1996s ] 1996s else: 1996s with open( 1996s os.path.join(rootdir, "etc", "apt", "sources.list.d", f"{ppa}.list"), 1996s encoding="utf-8", 1996s ) as f: 1996s sources = f.read().splitlines() 1996s assert ( 1996s "deb http://ppa.launchpad.net/daisy-pluckers/daisy-seeds/ubuntu" 1996s " jammy main main/debug" in sources 1996s ) 1996s assert ( 1996s "deb-src http://ppa.launchpad.net/daisy-pluckers/daisy-seeds/ubuntu" 1996s " jammy main" in sources 1996s ) 1996s 1996s gpg = subprocess.run( 1996s [ 1996s "gpg", 1996s "--no-options", 1996s "--no-default-keyring", 1996s "--no-auto-check-trustdb", 1996s "--trust-model", 1996s "always", 1996s "--batch", 1996s "--list-keys", 1996s "--keyring", 1996s os.path.join( 1996s rootdir, 1996s "etc", 1996s "apt", 1996s "trusted.gpg.d", 1996s "LP-PPA-daisy-pluckers-daisy-seeds.gpg", 1996s ), 1996s ], 1996s check=True, 1996s stdout=subprocess.PIPE, 1996s ) 1996s apt_keys = gpg.stdout.decode() 1996s > assert "Launchpad PPA for Daisy Pluckers" in apt_keys 1996s E AssertionError: assert 'Launchpad PPA for Daisy Pluckers' in '' 1996s 1996s tests/system/test_packaging_apt_dpkg.py:783: AssertionError 1996s ----------------------------- Captured stdout call ----------------------------- 1996s Executing: /tmp/apt-key-gpghome.A2RAQdRvum/gpg.1.sh --quiet --keyserver keyserver.ubuntu.com --recv-key EE4C183F8F691A32EAF73FDC26A03F88AD6B4C33 1996s ----------------------------- Captured stderr call ----------------------------- 1996s Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). 1996s gpg: keyserver receive failed: Connection timed out 1996s WARNING: Unable to import key for https://api.launchpad.net/devel/~daisy-pluckers/+archive/ubuntu/daisy-seeds 1996s _________________ test_create_sources_for_a_named_ppa[deb822] __________________ 1996s 1996s configdir = '/tmp/tmpfvq_inr1/config', rootdir = '/tmp/tmpfvq_inr1/root' 1996s apt_style = 'deb822' 1996s 1996s @skip_if_command_is_missing("gpg") 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_create_sources_for_a_named_ppa(configdir, rootdir, apt_style): 1996s """Add sources.list entries for a named PPA.""" 1996s ppa = "LP-PPA-daisy-pluckers-daisy-seeds" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s # pylint: disable=protected-access 1996s impl._build_apt_sandbox( 1996s rootdir, os.path.join(configdir, release), "ubuntu", "jammy", origins=[ppa] 1996s ) 1996s if WITH_DEB822_SUPPORT: 1996s ppasource = os.path.join( 1996s rootdir, "etc", "apt", "sources.list.d", f"{ppa}.sources" 1996s ) 1996s entries = _parse_deb822_sources(ppasource) 1996s assert [ 1996s e 1996s for e in entries 1996s if {"deb", "deb-src"} == set(e.types) 1996s and "jammy" in e.suites 1996s and "main" in e.comps 1996s and "http://ppa.launchpad.net/" 1996s "daisy-pluckers/daisy-seeds/ubuntu" in e.uris 1996s ] 1996s assert [ 1996s e 1996s for e in entries 1996s if "deb" in e.types 1996s and "jammy" in e.suites 1996s and "main/debug" in e.comps 1996s and "http://ppa.launchpad.net/" 1996s "daisy-pluckers/daisy-seeds/ubuntu" in e.uris 1996s ] 1996s else: 1996s with open( 1996s os.path.join(rootdir, "etc", "apt", "sources.list.d", f"{ppa}.list"), 1996s encoding="utf-8", 1996s ) as f: 1996s sources = f.read().splitlines() 1996s assert ( 1996s "deb http://ppa.launchpad.net/daisy-pluckers/daisy-seeds/ubuntu" 1996s " jammy main main/debug" in sources 1996s ) 1996s assert ( 1996s "deb-src http://ppa.launchpad.net/daisy-pluckers/daisy-seeds/ubuntu" 1996s " jammy main" in sources 1996s ) 1996s 1996s gpg = subprocess.run( 1996s [ 1996s "gpg", 1996s "--no-options", 1996s "--no-default-keyring", 1996s "--no-auto-check-trustdb", 1996s "--trust-model", 1996s "always", 1996s "--batch", 1996s "--list-keys", 1996s "--keyring", 1996s os.path.join( 1996s rootdir, 1996s "etc", 1996s "apt", 1996s "trusted.gpg.d", 1996s "LP-PPA-daisy-pluckers-daisy-seeds.gpg", 1996s ), 1996s ], 1996s check=True, 1996s stdout=subprocess.PIPE, 1996s ) 1996s apt_keys = gpg.stdout.decode() 1996s > assert "Launchpad PPA for Daisy Pluckers" in apt_keys 1996s E AssertionError: assert 'Launchpad PPA for Daisy Pluckers' in '' 1996s 1996s tests/system/test_packaging_apt_dpkg.py:783: AssertionError 1996s ----------------------------- Captured stdout call ----------------------------- 1996s Executing: /tmp/apt-key-gpghome.FmmMZMUQVG/gpg.1.sh --quiet --keyserver keyserver.ubuntu.com --recv-key EE4C183F8F691A32EAF73FDC26A03F88AD6B4C33 1996s ----------------------------- Captured stderr call ----------------------------- 1996s Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). 1996s gpg: keyserver receive failed: Connection timed out 1996s WARNING: Unable to import key for https://api.launchpad.net/devel/~daisy-pluckers/+archive/ubuntu/daisy-seeds 1996s __________________ test_install_package_from_a_ppa[one-line] ___________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmpt8iv6e_y/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAD2CE78135EFFF5, E:The repository 'http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmpt8iv6e_y/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmpt8iv6e_y/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy' 1996s origins = ['LP-PPA-apport-hackers-apport-autopkgtests'], arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmpt8iv6e_y/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAD2CE78135EFFF5, E:The repository 'http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmpt8iv6e_y/config', cachedir = '/tmp/tmpt8iv6e_y/cache' 1996s rootdir = '/tmp/tmpt8iv6e_y/root', apt_style = 'one-line' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_package_from_a_ppa(configdir, cachedir, rootdir, apt_style): 1996s """Install a package from a PPA.""" 1996s # Needs apport package in https://launchpad.net 1996s # /~apport-hackers/+archive/ubuntu/apport-autopkgtests 1996s ppa = "LP-PPA-apport-hackers-apport-autopkgtests" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_package = "apport" 1996s wanted_version = "2.20.11-0ubuntu82.1~ppa2" 1996s > obsolete = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [(wanted_package, wanted_version)], 1996s False, 1996s cachedir, 1996s origins=[ppa], 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:904: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmpt8iv6e_y/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmpt8iv6e_y/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy' 1996s origins = ['LP-PPA-apport-hackers-apport-autopkgtests'], arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmpt8iv6e_y/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ports.ubuntu.com_ubuntu-ports_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.5 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAD2CE78135EFFF5, E:The repository 'http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ----------------------------- Captured stdout call ----------------------------- 1996s Executing: /tmp/apt-key-gpghome.mRc4hc0GJ2/gpg.1.sh --quiet --keyserver keyserver.ubuntu.com --recv-key F5038FF7E3E2B0346DF1A7A7AAD2CE78135EFFF5 1996s ----------------------------- Captured stderr call ----------------------------- 1996s Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). 1996s gpg: keyserver receive failed: Network is unreachable 1996s WARNING: Unable to import key for https://api.launchpad.net/devel/~apport-hackers/+archive/ubuntu/apport-autopkgtests 1996s ___________________ test_install_package_from_a_ppa[deb822] ____________________ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s > res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s E apt_pkg.Error: W:Download is performed unsandboxed as root as file '/tmp/tmp4quhtp5v/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ppa.launchpad.net_apport-hackers_apport-autopkgtests_ubuntu_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAD2CE78135EFFF5, E:The repository 'http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Error 1996s 1996s During handling of the above exception, another exception occurred: 1996s 1996s self = 1996s aptroot = '/tmp/tmp4quhtp5v/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp4quhtp5v/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy' 1996s origins = ['LP-PPA-apport-hackers-apport-autopkgtests'], arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s > self._sandbox_apt_cache.update(fetchProgress) 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:261: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s fetch_progress = 1996s pulse_interval = 0, raise_on_error = True, sources_list = None 1996s 1996s def update( 1996s self, 1996s fetch_progress: AcquireProgress | None = None, 1996s pulse_interval: int = 0, 1996s raise_on_error: bool = True, 1996s sources_list: str | None = None, 1996s ) -> int: 1996s """Run the equivalent of apt-get update. 1996s 1996s You probably want to call open() afterwards, in order to utilise the 1996s new cache. Otherwise, the old cache will be used which can lead to 1996s strange bugs. 1996s 1996s The first parameter *fetch_progress* may be set to an instance of 1996s apt.progress.FetchProgress, the default is apt.progress.FetchProgress() 1996s . 1996s sources_list -- Update a alternative sources.list than the default. 1996s Note that the sources.list.d directory is ignored in this case 1996s """ 1996s with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")): 1996s if sources_list: 1996s old_sources_list = apt_pkg.config.find("Dir::Etc::sourcelist") 1996s old_sources_list_d = apt_pkg.config.find("Dir::Etc::sourceparts") 1996s old_cleanup = apt_pkg.config.find("APT::List-Cleanup") 1996s apt_pkg.config.set( 1996s "Dir::Etc::sourcelist", os.path.abspath(sources_list) 1996s ) 1996s apt_pkg.config.set("Dir::Etc::sourceparts", "xxx") 1996s apt_pkg.config.set("APT::List-Cleanup", "0") 1996s slist = apt_pkg.SourceList() 1996s slist.read_main_list() 1996s else: 1996s slist = self._list 1996s 1996s try: 1996s if fetch_progress is None: 1996s fetch_progress = apt.progress.base.AcquireProgress() 1996s try: 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s except SystemError as e: 1996s > raise FetchFailedException(e) 1996s E apt.cache.FetchFailedException: W:Download is performed unsandboxed as root as file '/tmp/tmp4quhtp5v/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ppa.launchpad.net_apport-hackers_apport-autopkgtests_ubuntu_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAD2CE78135EFFF5, E:The repository 'http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apt/cache.py:564: FetchFailedException 1996s 1996s The above exception was the direct cause of the following exception: 1996s 1996s configdir = '/tmp/tmp4quhtp5v/config', cachedir = '/tmp/tmp4quhtp5v/cache' 1996s rootdir = '/tmp/tmp4quhtp5v/root', apt_style = 'deb822' 1996s 1996s @pytest.mark.skipif(not has_internet(), reason="online test") 1996s def test_install_package_from_a_ppa(configdir, cachedir, rootdir, apt_style): 1996s """Install a package from a PPA.""" 1996s # Needs apport package in https://launchpad.net 1996s # /~apport-hackers/+archive/ubuntu/apport-autopkgtests 1996s ppa = "LP-PPA-apport-hackers-apport-autopkgtests" 1996s release = _setup_foonux_config(configdir, apt_style) 1996s wanted_package = "apport" 1996s wanted_version = "2.20.11-0ubuntu82.1~ppa2" 1996s > obsolete = impl.install_packages( 1996s rootdir, 1996s configdir, 1996s release, 1996s [(wanted_package, wanted_version)], 1996s False, 1996s cachedir, 1996s origins=[ppa], 1996s ) 1996s 1996s tests/system/test_packaging_apt_dpkg.py:904: 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:936: in install_packages 1996s apt_cache = self._sandbox_cache( 1996s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1996s 1996s self = 1996s aptroot = '/tmp/tmp4quhtp5v/cache/Foonux 22.04/apt' 1996s apt_dir = '/tmp/tmp4quhtp5v/config/Foonux 22.04' 1996s fetchProgress = 1996s distro_name = 'ubuntu', release_codename = 'jammy' 1996s origins = ['LP-PPA-apport-hackers-apport-autopkgtests'], arch = 'ppc64el' 1996s 1996s def _sandbox_cache( 1996s self, 1996s aptroot, 1996s apt_dir, 1996s fetchProgress, 1996s distro_name, 1996s release_codename, 1996s origins, 1996s arch, 1996s ): # pylint: disable=too-many-arguments 1996s """Build apt sandbox and return apt.Cache(rootdir=) (initialized 1996s lazily). 1996s 1996s Clear the package selection on subsequent calls. 1996s """ 1996s if not self._sandbox_apt_cache or arch != self._sandbox_apt_cache_arch: 1996s self._clear_apt_cache() 1996s self._build_apt_sandbox( 1996s aptroot, apt_dir, distro_name, release_codename, origins 1996s ) 1996s rootdir = os.path.abspath(aptroot) 1996s self._sandbox_apt_cache = apt.Cache(rootdir=rootdir) 1996s self._sandbox_apt_cache_arch = arch 1996s try: 1996s # We don't need to update this multiple times. 1996s self._sandbox_apt_cache.update(fetchProgress) 1996s except apt.cache.FetchFailedException as error: 1996s > raise SystemError(str(error)) from error 1996s E SystemError: W:Download is performed unsandboxed as root as file '/tmp/tmp4quhtp5v/cache/Foonux 22.04/apt/var/lib/apt/lists/partial/ppa.launchpad.net_apport-hackers_apport-autopkgtests_ubuntu_dists_jammy_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied), E:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy/InRelease 403 Forbidden [IP: 10.151.41.7 3128], E:The repository 'http://ports.ubuntu.com/ubuntu-ports jammy InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:GPG error: http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAD2CE78135EFFF5, E:The repository 'http://ppa.launchpad.net/apport-hackers/apport-autopkgtests/ubuntu jammy InRelease' is not signed. 1996s 1996s /usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py:263: SystemError 1996s ----------------------------- Captured stdout call ----------------------------- 1996s Executing: /tmp/apt-key-gpghome.uWOhvjfeS9/gpg.1.sh --quiet --keyserver keyserver.ubuntu.com --recv-key F5038FF7E3E2B0346DF1A7A7AAD2CE78135EFFF5 1996s ----------------------------- Captured stderr call ----------------------------- 1996s Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). 1996s gpg: keyserver receive failed: Connection timed out 1996s WARNING: Unable to import key for https://api.launchpad.net/devel/~apport-hackers/+archive/ubuntu/apport-autopkgtests 1996s =============================== warnings summary =============================== 1996s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[one-line] 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Warning: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:Download is performed unsandboxed as root as file '/tmp/tmpwpart64b/cache/system/apt/var/lib/apt/lists/partial/ftpmaster.internal_ubuntu_dists_noble-proposed_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s 1996s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[one-line] 1996s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[one-line] 1996s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[deb822] 1996s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[deb822] 1996s tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_lp_sandbox[one-line] 1996s tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_lp_sandbox[deb822] 1996s /usr/lib/python3/dist-packages/httplib2/__init__.py:147: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated 1996s context = ssl.SSLContext(DEFAULT_TLS_VERSION) 1996s 1996s tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[deb822] 1996s /usr/lib/python3/dist-packages/apt/cache.py:562: Warning: W:Download is performed unsandboxed as root as file '/tmp/tmpc56r8dyl/cache/system/apt/var/lib/apt/lists/partial/ftpmaster.internal_ubuntu_dists_noble-proposed_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) 1996s res = self._cache.update(fetch_progress, slist, pulse_interval) 1996s 1996s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 1996s =========================== short test summary info ============================ 1996s SKIPPED [1] tests/system/test_apport_retrace.py:172: Test only works on amd64. See https://launchpad.net/bugs/2069815 1996s SKIPPED [1] tests/system/test_apport_retrace.py:201: GDB sandbox only available on amd64 1996s SKIPPED [1] tests/system/test_apport_retrace.py:231: Test only works on amd64. See https://launchpad.net/bugs/2069815 1996s SKIPPED [1] tests/system/test_apport_retrace.py:264: GDB sandbox only available on amd64 1996s FAILED tests/system/test_apport_valgrind.py::TestApportValgrind::test_sandbox_cache_options 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_versioned[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_versioned[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_unversioned[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_unversioned[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_dependencies[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_dependencies[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_system[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox_repack[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_permanent_sandbox_repack[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_armhf[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_armhf[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_from_launchpad[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_packages_from_launchpad[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_old_packages[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_old_packages[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_sandbox[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_sandbox[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_lp_sandbox[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_get_source_tree_lp_sandbox[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_create_sources_for_a_named_ppa[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_create_sources_for_a_named_ppa[deb822] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_package_from_a_ppa[one-line] 1996s FAILED tests/system/test_packaging_apt_dpkg.py::test_install_package_from_a_ppa[deb822] 1996s ====== 27 failed, 71 passed, 4 skipped, 8 warnings in 1456.58s (0:24:16) ======= 1996s autopkgtest [14:59:04]: test system-tests: -----------------------] 1996s autopkgtest [14:59:04]: test system-tests: - - - - - - - - - - results - - - - - - - - - - 1996s system-tests FAIL non-zero exit status 1 1997s autopkgtest [14:59:05]: @@@@@@@@@@@@@@@@@@@@ summary 1997s unit-and-integration-tests PASS 1997s system-tests FAIL non-zero exit status 1