This bug was fixed in the package apport - 2.28.1-0ubuntu3.3

---------------
apport (2.28.1-0ubuntu3.3) noble; urgency=medium

  * Depend on gdb-multiarch and python3-psutil for system tests

apport (2.28.1-0ubuntu3.2) noble; urgency=medium

  * Remove obsolete apport init.d and bash-completion conffiles (LP: #2078634)
  * recent-syslog: read stdout after process completion (LP: #2073935)
  * package_hook: Handle failures of removed packages (LP: #2078695)
  * Fix hang when cancelling/closing Apport (LP: #1537310)
  * tests:
    - fix wait_for_gdb_sleeping_child_process (LP: #2073933)
    - fix flaky tests waiting for sleep command (LP: #2076186)

 -- Benjamin Drung <bdr...@ubuntu.com>  Sat, 26 Oct 2024 13:50:11 +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/2078695

Title:
  
/usr/share/apport/package_hook:ValueError:/usr/share/apport/package_hook@95:main:get_source

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 ]

  Apport crashes:

  ```
  Traceback (most recent call last):
    File "/usr/share/apport/package_hook", line 95, in <module>
      main()
    File "/usr/share/apport/package_hook", line 71, in main
      report["SourcePackage"] = apport.packaging.get_source(options.package)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py", 
line 308, in get_source
      raise ValueError(f"package {package} does not exist")
  ValueError: package mime-support does not exist
  ```

  This bug is one of the most reported Apport bugs:
  https://errors.ubuntu.com/?package=apport&period=month

  [ Test Plan ]

  No more crash reports for the fixed version on
  https://errors.ubuntu.com/problem/609bbfa0872445d4ba4e4e6947877850c38f41dc

  [ Where problems could occur ]

  The fix the crash collection code. Handling this error could lead to
  issues further down the road.

  [ Other Info ]

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
apport.  This problem was most recently seen with package version 
2.30.0-0ubuntu1, the problem page at 
https://errors.ubuntu.com/problem/609bbfa0872445d4ba4e4e6947877850c38f41dc 
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/apport/+bug/2078695/+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

Reply via email to