[Bug 2078695] Re: /usr/share/apport/package_hook:ValueError:/usr/share/apport/package_hook at 95:main:get_source
Timo Aaltonen
2078695 at bugs.launchpad.net
Fri Oct 25 07:46:35 UTC 2024
Hello errors.ubuntu.com, or anyone else affected,
Accepted apport into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.28.1-0ubuntu3.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: apport (Ubuntu Noble)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-noble
--
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/2078695
Title:
/usr/share/apport/package_hook:ValueError:/usr/share/apport/package_hook at 95:main:get_source
Status in Apport:
Fix Committed
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Noble:
Fix Committed
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
More information about the foundations-bugs
mailing list