[Bug 2115975] [NEW] /usr/share/apport/apport:FileNotFoundError:/usr/share/apport/apport at 1301:main:process_crash_from_systemd_coredump:from_systemd_coredump:_add_executable_timestamp

errors.ubuntu.com bug bridge 2115975 at bugs.launchpad.net
Fri Jul 4 12:34:36 UTC 2025


*** This bug is a duplicate of bug 2098792 ***
    https://bugs.launchpad.net/bugs/2098792

Public bug reported:

```
Traceback (most recent call last):
  File "/usr/share/apport/apport", line 1301, in <module>
    sys.exit(main(sys.argv[1:]))
             ~~~~^^^^^^^^^^^^^^
  File "/usr/share/apport/apport", line 795, in main
    return process_crash_from_systemd_coredump(options.systemd_coredump_instance)
  File "/usr/share/apport/apport", line 1294, in process_crash_from_systemd_coredump
    report = apport.report.Report.from_systemd_coredump(coredump)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 2123, in from_systemd_coredump
    report._add_executable_timestamp()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/apport/report.py", line 830, in _add_executable_timestamp
    self["ExecutableTimestamp"] = str(int(os.stat(self["ExecutablePath"]).st_mtime))
                                          ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp.sbuild.RqINRmdwau/build/reproducible-path/rust-coreutils-0.1.0/target/debug/coreutils'
```

The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.33.0-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/bef514ad339e5fd78dc676196ed6228adb5078e0 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: questing

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2115975

Title:
  /usr/share/apport/apport:FileNotFoundError:/usr/share/apport/apport at 1301:main:process_crash_from_systemd_coredump:from_systemd_coredump:_add_executable_timestamp

Status in apport package in Ubuntu:
  New

Bug description:
  ```
  Traceback (most recent call last):
    File "/usr/share/apport/apport", line 1301, in <module>
      sys.exit(main(sys.argv[1:]))
               ~~~~^^^^^^^^^^^^^^
    File "/usr/share/apport/apport", line 795, in main
      return process_crash_from_systemd_coredump(options.systemd_coredump_instance)
    File "/usr/share/apport/apport", line 1294, in process_crash_from_systemd_coredump
      report = apport.report.Report.from_systemd_coredump(coredump)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 2123, in from_systemd_coredump
      report._add_executable_timestamp()
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/apport/report.py", line 830, in _add_executable_timestamp
      self["ExecutableTimestamp"] = str(int(os.stat(self["ExecutablePath"]).st_mtime))
                                            ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp.sbuild.RqINRmdwau/build/reproducible-path/rust-coreutils-0.1.0/target/debug/coreutils'
  ```

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.33.0-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/bef514ad339e5fd78dc676196ed6228adb5078e0 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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




More information about the foundations-bugs mailing list