Your message dated Tue, 20 May 2025 10:49:11 +0100
with message-id <acxqf3a3687by...@remnant.pseudorandom.co.uk>
and subject line Re: Bug#1095600: gparted: Apt want to remove my init system
has caused the Debian Bug report #1095600,
regarding policykit conflicts with !systemd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1095600: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095600
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gparted
Version: Gparted can't be install in non systemd system
Severity: important
X-Debbugs-Cc: bardot.jer...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I try to install gparted.
----------------

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

apt install gparted


apt install --no-install-recommends gparted
----------------
   * What was the outcome of this action?

Installing:
  gparted

Installing dependencies:
  dbus-user-session  libnss-systemd  libpam-systemd  pkexec  polkitd  systemd
systemd-cryptsetup  systemd-sysv

Paquets suggérés :
  libtss2-rc0t64  systemd-container  systemd-homed  systemd-userdbd  systemd-
boot  systemd-resolved  systemd-repart

REMOVING:
  initscripts  insserv  orphan-sysvinit-scripts  rcconf  startpar  systemd-
standalone-sysusers  sysv-rc  sysv-rc-conf  sysvinit-core

Summary:
  Upgrading: 0, Installing: 9, Removing: 9, Not Upgrading: 183
  Download size: 4 913 kB
  Space needed: 13,5 MB / 866 GB available




----------------

   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8), LANGUAGE=fr_FR.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages gparted depends on:
ii  gparted-common           1.6.0-1
ii  libatkmm-1.6-1v5         2.28.4-1+b2
ii  libc6                    2.40-6
ii  libcairomm-1.0-1v5       1.14.5-2+b1
ii  libgcc-s1                14.2.0-12
ii  libglib2.0-0t64          2.82.4-2
ii  libglibmm-2.4-1t64       2.66.7-1+b1
ii  libgtk-3-0t64            3.24.48-4
ii  libgtkmm-3.0-1t64        3.24.9-1+b1
ii  libpangomm-1.4-1v5       2.46.4-1+b2
ii  libparted-fs-resize0t64  3.6-4+b1
ii  libparted2t64            3.6-4+b1
ii  libsigc++-2.0-0v5        2.12.1-3
ii  libstdc++6               14.2.0-12
ii  libuuid1                 2.40.4-2
pn  pkexec                   <none>

gparted recommends no packages.

Versions of packages gparted suggests:
ii  dmraid         1.0.0.rc16-12
ii  dmsetup        2:1.02.201-1
ii  dosfstools     4.2-1.1
ii  e2fsprogs      1.47.2-1
ii  exfatprogs     1.2.7-3
ii  gpart          1:0.3-10
ii  jfsutils       1.1.15-6
ii  kpartx         0.9.9-1
ii  mtools         4.0.47-1
ii  ntfs-3g        1:2022.10.3-5
ii  reiser4progs   1.2.2-2
ii  reiserfsprogs  1:3.6.27-9
ii  udftools       2.3-2
ii  xfsprogs       6.12.0-1
ii  yelp           42.2-2

--- End Message ---
--- Begin Message --- (Phillip, when reassigning bugs to another package, please remember to cc the maintainers of the other package: the bug tracking system does not automatically do this.)

On Sun, 09 Feb 2025 at 17:51:11 +0100, Bardot Jerome wrote:
apt install --no-install-recommends gparted
...
Installing dependencies:
 dbus-user-session  libnss-systemd  libpam-systemd  pkexec  polkitd  systemd
systemd-cryptsetup  systemd-sysv

Paquets suggérés :
 libtss2-rc0t64  systemd-container  systemd-homed  systemd-userdbd  systemd-
boot  systemd-resolved  systemd-repart

REMOVING:
 initscripts  insserv  orphan-sysvinit-scripts  rcconf  startpar  systemd-
standalone-sysusers  sysv-rc  sysv-rc-conf  sysvinit-core

You are using a non-default init system. This is a core system component and you cannot necessarily expect apt's heuristics for resolving dependencies to choose the answer that you want when you have swapped out core system components. You will need to give it more clues about what you want, for example

    apt install gparted systemd-

or

    apt install gparted sysvinit-core

to tell apt that installing systemd or removing sysvinit-core is not a dependency resolution that you consider to be valid, or

    apt install gparted libpam-elogind

to tell apt explicitly how to resolve the dependency on a logind implementation.

On Mon, 19 May 2025 at 12:38:58 -0400, Phillip Susi wrote:
It appears that policykit hard depends on systemd.

No, it does not. It depends on functionality that in a typical Debian system is provided by systemd, but alternatives do exist.

polkitd (the package containing the polkit system service, previously called PolicyKit) depends on either adduser or an implementation of the systemd-sysusers interface, and either default-logind (libpam-systemd) or another implementation of the logind interface.

On sysvinit systems, these dependencies can be satisfied by installing adduser or systemd-standalone-sysusers instead of systemd, and installing libpam-elogind instead of libpam-systemd.

policykit-1 is a transitional package which no longer exists in testing/unstable. In stable, it depended on polkitd (the daemon) and pkexec (a sudo-like privilege elevation program with polkit integration).

    smcv

--- End Message ---

Reply via email to