Bug#1020598: Bug#1025609: rtkit: dependency on transitional policykit-1 package
- To: 1025609@bugs.debian.org
- Cc: 1020598@bugs.debian.org
- Subject: Bug#1020598: Bug#1025609: rtkit: dependency on transitional policykit-1 package
- From: Simon McVittie <smcv@debian.org>
- Date: Tue, 7 Feb 2023 19:13:30 +0000
- Message-id: <Y+Ki2qVaCZH/8jSn@momentum.pseudorandom.co.uk>
- Reply-to: Simon McVittie <smcv@debian.org>, 1020598@bugs.debian.org
- In-reply-to: <Y49hWTt9LR0Y3Dvc@momentum.pseudorandom.co.uk>
- References: <Y49hWTt9LR0Y3Dvc@momentum.pseudorandom.co.uk> <CALAAWTjXyK-0Xcs-YE1wDffdFPVh=-HecJ9na4ZbJbgWFEMt8Q@mail.gmail.com>
Control: forwarded -1 https://salsa.debian.org/multimedia-team/rtkit/-/merge_requests/2
Control: tags -1 + patch
On Tue, 06 Dec 2022 at 15:35:53 +0000, Simon McVittie wrote:
> This package has a Depends and/or Build-Depends on the transitional
> package policykit-1, which has been separated into polkitd, pkexec and
> (deprecated) polkitd-pkla packages.
Please consider the attached patch, also available in
https://salsa.debian.org/multimedia-team/rtkit/-/merge_requests/2.
> If this package communicates with polkitd via D-Bus, please represent that
> as a Depends, Recommends or Suggests on polkitd, whichever is appropriate
> for the strength of the requirement.
It looked like a Depends is appropriate here.
> If this package runs /usr/bin/pkexec, please represent that as a Depends,
> Recommends or Suggests on pkexec, whichever is appropriate for the strength
> of the requirement.
It looks like this particular package does not use pkexec.
> For packages that are expected to be backported to bullseye, it's OK to
> use an alternative dependency: polkitd | policykit-1 and/or
> pkexec | policykit-1.
I used the alternative dependency in the interests of a minimally
disruptive change.
> This is part of a mass bug filing, see
> <https://lists.debian.org/debian-devel/2022/10/msg00211.html>.
If my recent team upload of malcontent migrates to testing, this is one
of only 3 remaining source packages that would need similar changes to
stop including policykit-1 in new installations of a Debian 12 GNOME
desktop (the others are colord and synaptic). I haven't yet tried the
equivalent with other desktop environments.
Thanks,
smcv
>From ca2e12d3b3ac856b784cf772489fbdc08e145072 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Tue, 7 Feb 2023 16:55:29 +0000
Subject: [PATCH] d/control: Depend on polkitd and pkexec in preference to
policykit-1
This allows synaptic to be installed without the policykit-1
transitional package (and therefore the legacy polkitd-pkla package),
especially in new installations.
Closes: #1025630
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 4c8af3a5..0a7ec3ce 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Vcs-Browser: https://github.com/mvo5/synaptic
Package: synaptic
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, hicolor-icon-theme, policykit-1
+Depends: ${shlibs:Depends}, ${misc:Depends}, hicolor-icon-theme, polkitd | policykit-1, pkexec | policykit-1
Recommends: libgtk3-perl, xdg-utils
Suggests: dwww, deborphan, apt-xapian-index, tasksel, software-properties-gtk
Description: Graphical package manager
--
2.39.1
Reply to: