Comment 14 for bug 833058

Revision history for this message
Gert van Dijk (gertvdijk) wrote :

Tim, your explanation in comment 13 is unfortunately jumping to conclusions; it isn't *that* simple as you suggest, assuming you mean a dependency on Muon.

A hard dependency on muon for polkit-kde-1 will pull in a lot of KDE-stuff (e.g. depends: kde-runtime) - if one not running KDE wants to install Muon, this is not acceptable.
Please note that Muon should work without polkit-kde-1 in a Gnome environment (for example), because it can also use Gnome's PolicyKit provided in policykit-1-gnome. And probably do so for other PolicyKit DE-specific implementations as well.

The thing here is, I believe: when starting KDE, Gnome's PolicyKit isn't running, but dependencies on it are satisfied for the package management.

So, in order to make sure some PolicyKit implementation designed for the current DE, that should be a hard or semi-hard dependency on the metapackage for the DE, in my opinion. I.e. "kubuntu-desktop depends [...] polkit-kde-1 [...]"

By the way, I don't understand this (on Ubuntu Oneiric):
$ apt-cache show polkit-kde-1
[...]
Task: kubuntu-desktop, [...]

So this tells me it should be installed when installing kubuntu-desktop? Or I might not get Tasks in apt.