This bug was fixed in the package apport - 2.28.1-0ubuntu3.1 --------------- apport (2.28.1-0ubuntu3.1) noble; urgency=medium
[ Chris Peterson ] * d/package-hooks/subiquity.py: update information collection (LP: #2067775) - Add information about snap update/refresh state - Attach logs and change key names to align with the information attached by subiquity's self-collection - Attach hardware information - Ensure bug reports are always private since there may be private information in the logs - Don't require sudo for logs collection - Add journal logs - Ensure snap revision is included in both deb and snap collection style - Handle version information when permission elevation fails. [ Benjamin Drung ] * apport: do not modify permission of existing /var/crash or create /var/crash with setgid permission (mode 3777) (LP: #2066995) * apport.postinst: Create /var/crash with mode 3777 (LP: #2066995) * whoopsie-upload-all: exit with 0 if whoopsie is disabled (LP: #2069360) * Fix retracing crashes on Ubuntu 24.04 (noble) and add chaos-marmosets as dependency for the newly added system-tests (LP: #2067120) [ Sebastien Bacher ] * Fix some issues in the hook for ubuntu-desktop-bootstrap (LP: #2072751) -- Benjamin Drung <bdr...@ubuntu.com> Mon, 22 Jul 2024 16:59:07 +0200 ** Changed in: apport (Ubuntu Noble) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/2067120 Title: apport-retrace crashed with subprocess.CalledProcessError in check_call(): Command '['dpkg', '-x', '/srv/vms/apport-retrace/Ubuntu 24.04/apt/var/cache/apt/archives//base-files_13ubuntu9_amd64.deb', '/tmp/apport_sandbox_zj9wto2z']' returned non-zero exit status 2. Status in Apport: Fix Released Status in apport package in Ubuntu: Fix Released Status in apport source package in Noble: Fix Released Bug description: [ Impact ] I'm finding it impossible to retrace any crashes with the version of apport packaged in noble or with upstream commit id adfe3698731b69b0f19ca36ecca90d8e96001250. The retracing process ends with the following lines: Extracting downloaded debs... tar: ./lib: Cannot create symlink to ‘usr/lib’: File exists tar: Exiting with failure status due to previous errors dpkg-deb: error: tar subprocess returned error exit status 2 Traceback (most recent call last): File "/usr/bin/apport-retrace", line 696, in <module> main() File "/usr/bin/apport-retrace", line 465, in main sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 227, in make_sandbox outdated_msg = packaging.install_packages( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py", line 1350, in install_packages subprocess.check_call(["dpkg", "-x", i.destfile, rootdir]) File "/usr/lib/python3.12/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['dpkg', '-x', '/srv/vms/apport-retrace/Ubuntu 24.04/apt/var/cache/apt/archives//base-files_13ubuntu9_amd64.deb', '/tmp/apport_sandbox_zj9wto2z']' returned non-zero exit status 2. I've tried cleaning the cache, /srv/vms/apport-retrace/Ubuntu 24.04/, but the retracing process continues to fail. The crashes I'm trying to retrace have been uploaded to Launchpad and still have the coredumps attached but I'd be happy to subscribe an apport developer to them. [ Test Plan ] The fix for this bug adds four new system test cases. These system test cases are run in the autopkgtest. Check that those four test cases succeed on amd64 on autopkgtest. [ Where problems could occur ] The fix touches apport-retrace. This binary is not installed by default, but is used by us to retrace users reports and by users to retrace their own crashes. This fix might reveal new issues with apport-retrace and it will hopefully help retracing more bugs on Launchpad. This should lead to more bug reports. [ Other Info ] ProblemType: Crash DistroRelease: Ubuntu 24.04 Package: apport-retrace 2.28.1-0ubuntu3 ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1 Uname: Linux 6.8.0-31-generic x86_64 NonfreeKernelModules: nvidia_modeset wl nvidia zfs ApportLog: ApportVersion: 2.28.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri May 24 16:03:45 2024 ExecutablePath: /usr/bin/apport-retrace ExecutableTimestamp: 1713871810 InstallationDate: Installed on 2018-08-10 (2114 days ago) InstallationMedia: Ubuntu-Server 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) InterpreterPath: /usr/bin/python3.12 JournalErrors: -- No entries -- PackageArchitecture: all ProcCmdline: /usr/bin/python3 /usr/bin/apport-retrace -v -S /home/bdmurray/source-trees/daisy/watchtower-archive/ -C /srv/vms/apport-retrace --verbose --gdb-sandbox --auth /home/bdmurray/.launchpadlib/retracer-credentials-lpnet --confirm 2062390 ProcCwd: /home/bdmurray/source-trees/apport/apport Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu1 PythonArgs: ['/usr/bin/apport-retrace', '-v', '-S', '/home/bdmurray/source-trees/daisy/watchtower-archive/', '-C', '/srv/vms/apport-retrace', '--verbose', '--gdb-sandbox', '--auth', '/home/bdmurray/.launchpadlib/retracer-credentials-lpnet', '--confirm', '2062390'] PythonDetails: N/A SourcePackage: apport Title: apport-retrace crashed with subprocess.CalledProcessError in check_call(): Command '['dpkg', '-x', '/srv/vms/apport-retrace/Ubuntu 24.04/apt/var/cache/apt/archives//base-files_13ubuntu9_amd64.deb', '/tmp/apport_sandbox_zj9wto2z']' returned non-zero exit status 2. UpgradeStatus: Upgraded to noble on 2024-04-16 (38 days ago) UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/2067120/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp