Crash installing packages using debconf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
packagekit (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Bionic |
Fix Released
|
High
|
Robert Ancell |
Bug Description
[Impact]
Installing .deb package via PackageKit (e.g. using GNOME Software) don't work reliably when the packages use debconf. This is due to a faulty implementation of debconf handling in PackageKit.
[Test Case]
1. Download opera deb file from opera.com
2. Run the file to launch gnome-software
3. Install it
4. Proceed with the debconf prompt
Expected result:
A debconf dialog appears asking if you want to "update Opera with the rest of the system?". The dialog closes when completed and the package is installed.
Actual result:
The dialog shows, but never closes and becomes unresponsive. Force closing the dialog causes a crash.
[Regression Potential]
The change is quite large, so there is a reasonable chance of introducing new bugs in debconf handling. However, the existing code has some obviously wrong codepaths, so the new code is probably a lower risk than the existing code.
Crash reports:
https:/
description: | updated |
Changed in packagekit (Ubuntu Bionic): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
summary: |
- gnome-software (11) g_io_channel_shutdown → - pk_client_helper_copy_stdout_cb → g_main_dispatch → - g_main_context_dispatch → g_main_context_iterate + Crash installing packages using debconf |
description: | updated |
Changed in packagekit (Ubuntu Bionic): | |
status: | Triaged → In Progress |
description: | updated |
That's a bit similar to bug #1724248, doesn't have many reports at the moment so setting as low