** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078695

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to