[patch] screen-resolution-extra should depend on polkit-1-auth-agent instead of policykit-1-gnome

Bug #1745815 reported by Vlad Orlov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
screen-resolution-extra (Ubuntu)
Fix Released
Undecided
Graham Inggs
Bionic
Fix Released
Undecided
Graham Inggs

Bug Description

System: Ubuntu MATE 18.04
Package version: 0.17.1

Expected behavior:

Package screen-resolution-extra should depend on polkit-1-auth-agent. This would allow installing it in desktop environments that provide their own PolicyKit authentication agents, like MATE which has mate-polkit. All these agents provide polkit-1-auth-agent (which is a virtual package).

Actual behavior:

Package screen-resolution-extra depends on policykit-1-gnome. In MATE desktop it leads to installation of both mate-polkit and policykit-1-gnome, which is not needed.

Additional info:

Package screen-resolution-extra is used by nvidia-settings tool, therefore the problem affects everyone who uses proprietary nvidia drivers.

The debdiff that is attached below makes screen-resolution-extra depend on polkit-1-auth-agent, fixing the problem.

Tags: bionic patch
Revision history for this message
Vlad Orlov (monsta) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Debdiff with the fix for Bionic" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

Revision history for this message
Graham Inggs (ginggs) wrote :

You should not depend on a virtual package only. Depend on the default real package OR the virtual package, as below:

Depends:
policykit-1-gnome | polkit-1-auth-agent

Revision history for this message
Vlad Orlov (monsta) wrote :

policykit-1-gnome provides polkit-1-auth-agent, should be ok

Revision history for this message
Sebastien Bacher (seb128) wrote :

it's ok but non deterministic then, please change your patch to follow the previous recommendation

Revision history for this message
Vlad Orlov (monsta) wrote :

Ok, here goes the corrected debdiff.

Graham Inggs (ginggs)
Changed in screen-resolution-extra (Ubuntu Bionic):
status: New → In Progress
assignee: nobody → Graham Inggs (ginggs)
Revision history for this message
Graham Inggs (ginggs) wrote :

Uploaded, with (LP: #1745815) added to the changelog so this bug is closed automatically.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screen-resolution-extra - 0.17.2

---------------
screen-resolution-extra (0.17.2) bionic; urgency=medium

  * Depend on policykit-1-gnome | polkit-1-auth-agent for desktop
    environments that provide their own PolicyKit authentication
    agents. (LP: #1745815)

 -- Vlad Orlov <email address hidden> Sun, 28 Jan 2018 01:14:32 +0300

Changed in screen-resolution-extra (Ubuntu Bionic):
status: In Progress → Fix Released
Revision history for this message
Vlad Orlov (monsta) wrote :

Oops, I forgot to add that link to LP...

Revision history for this message
Vlad Orlov (monsta) wrote :

Thanks for uploading, that was fast :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.