apport-retrace's rebuild-package-info makes bad assumption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Triaged
|
Low
|
Unassigned |
Bug Description
It seems that the --rebuild-
92 pkg = apport.
93 release=
94 arch=report.
The best thing to do is probably call get_file_package() directly from apport-retrace but the sandbox would need to be created first. Or pass a switch that'll ensure the report's Package field is created when the sandbox is being generated.
Changed in apport: | |
importance: | Undecided → High |
Changed in apport: | |
status: | New → Invalid |
status: | Invalid → Triaged |
importance: | High → Low |
The documentation actually indicates that this should only be done on the system which experienced the crash:
-R, --rebuild- package- info
(Re-)generate Packages: and Dependenencies: fields before retracing. This is particularly useful if you want to retrace a .crash report before it was completed by running it through the UI data collection phase. However, this only works when you run this on the very same system where the crash happened.