Sample Header Ad - 728x90

How can I install Policykit with System V?

2 votes
1 answer
4665 views
I created a minimal install on my Raspbian Raspberry Pi running Debian Jessie. Among other things, I removed libx11-.* and dependencies, which included removal of policykit-1. I'm trying to reinstall policykit-1, but hit the following errors. $ sudo apt-get install policykit-1 ... The following packages will be REMOVED: sysvinit-core ... dpkg: sysvinit-core: dependency problems, but removing anyway as you requested: sysvinit depends on sysvinit-core | upstart | systemd-sysv; however: Package sysvinit-core is to be removed. Package upstart is not installed. Package systemd-sysv is not installed. After this, booting now hangs, and I have to restore the SD card to an image before this install command. (N.B. booting worked fine before the creation of the minimal install, and after the removal of libx11-.* and dependencies.) How can I reinstall policykit-1? ------- ## Edit This worked for a little while, but no longer. There is a long thread here discussing how policykit-1 can break your system in Debian. I didn't read it all, but this (closed) bug report suggests that systemd-shim might be helpful. Running the following command allowed me to reboot the computer, although I'm unsure as to how functional policykit-1 is. sudo apt-get install systemd-shim policykit-1 However, a recent update to Debian Jessie prevents this from working. policykit-1 was uninstalled after sudo apt-get dist-upgrade, and running this command still asks you to uninstall sysvinit-core.
Asked by Sparhawk (20499 rep)
Jul 15, 2014, 10:38 AM
Last activity: Jul 20, 2025, 07:03 PM