This was also necessary to fix the retracing failure although I imagine
it only works for releases like Noble and Oracular.

index ae094606..052eb211 100644
--- a/apport/report.py
+++ b/apport/report.py
@@ -1922,7 +1922,7 @@ class Report(problem_report.ProblemReport):
                     "GCONV_PATH": 
f"{gdb_sandbox}/usr/lib/{native_multiarch}/gconv",
                 }
                 command.insert(
-                    0, 
f"{gdb_sandbox}/lib/{native_multiarch}/ld-linux-x86-64.so.2"
+                    0, 
f"{gdb_sandbox}/usr/lib/{native_multiarch}/ld-linux-x86-64.so.2"
                 )
                 command += ["--ex", f"set data-directory 
{gdb_sandbox}/usr/share/gdb"]
             if not os.path.exists(sandbox + executable):

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2067120/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to