[Bug 2078695] Re: /usr/share/apport/package_hook:ValueError:/usr/share/apport/package_hook at 95:main:get_source
Benjamin Drung
2078695 at bugs.launchpad.net
Fri Oct 4 13:25:26 UTC 2024
** Description changed:
+ [ 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")
+ 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/.
--
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:
New
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