[Bug 2086773] Re: pkcon does not ask debconf questions in Wayland
Launchpad Bug Tracker
2086773 at bugs.launchpad.net
Wed Dec 11 18:20:08 UTC 2024
This bug was fixed in the package packagekit - 1.2.8-2ubuntu1
---------------
packagekit (1.2.8-2ubuntu1) noble; urgency=medium
* Backport patch to fix showing the GTK debconf helper on Wayland
(LP: #2086773)
-- Alessandro Astone <alessandro.astone at canonical.com> Mon, 11 Nov
2024 16:36:25 +0100
** Changed in: packagekit (Ubuntu Noble)
Status: Fix Committed => Fix Released
** Changed in: packagekit (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/2086773
Title:
pkcon does not ask debconf questions in Wayland
Status in packagekit package in Ubuntu:
Fix Released
Status in packagekit source package in Jammy:
Fix Released
Status in packagekit source package in Noble:
Fix Released
Status in packagekit source package in Oracular:
Fix Released
Bug description:
[ Impact ]
`pkcon` is configured to launch the Gtk debconf helper to ask debconf questions graphically.
This works in Xorg desktop sessions, but does not work in Wayland desktop sessions.
That is because it starts the Gtk program with a blank environment and
only adds the DISPLAY environment variable, but not WAYLAND_DISPLAY
nor XAUTHORITY which would at least have allowed it to display over
XWayland.
This is fixed by exposing the WAYLAND_DISPLAY and/or XAUTHORITY
environment variables to the Gtk program.
[ Test Case ]
1. Log-in to a Wayland desktop session
2. Download `noisy-fake-driver_0.6_amd64.deb` from the attachments.
3. Run `pkcon install-local ~/Downloads/noisy-fake-driver_0.6_amd64.deb`
4. Complete the installation
5. Verify that you saw the "Do you see this message?" question
[ Where problems could occur ]
It's fair to assume that the graphical debconf helper hasn't received
much testing recently, with `apt` defaulting to the text-base helper
and `pkcon` failing to show it in Wayland; so it's possible that it
doesn't work well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/2086773/+subscriptions
More information about the foundations-bugs
mailing list