How can I install Policykit with System V?
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
.
debian raspbian sysvinit polkit
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 3 more comments
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
.
debian raspbian sysvinit polkit
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Please provide the output ofapt-rdepends -r policykit-1
– eyoung100
Jul 17 '15 at 0:33
1
If that doesn't work try:apt-cache --installed rdepends policykit-1
– eyoung100
Jul 17 '15 at 0:38
@eyoung100 Only the seconds works, withudisks libpolkit-gobject-1-0
– Sparhawk
Jul 20 '15 at 14:21
My hunch here is that the packages need to be reinstalled in the proper order. Removeudisks
andlibpolkit-gobject
then reinstallpolicykit-1
. Policykit-1 should reinstallsysvinit-core and sysvinit
. You may need to do this in rescue mode, as X may no longer work.
– eyoung100
Jul 20 '15 at 16:31
@eyoung100 As per the question, I don't have X installed. I also don't understand how the order of installation might help here, as (AFAIK) there are no conflicting files installed across the packages. Also, as per the question,policykit-1
seems to require the removal ofsysvinit-core
, so I'm not sure why we'd expect it to reinstallsysvinit-core
instead? (It's non-trivial to restore my system when it breaks, so I'd prefer more certain answers.)
– Sparhawk
Jul 25 '15 at 4:54
|
show 3 more comments
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
.
debian raspbian sysvinit polkit
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
.
debian raspbian sysvinit polkit
debian raspbian sysvinit polkit
edited Jul 24 '14 at 6:49
Sparhawk
asked Jul 15 '14 at 10:38
SparhawkSparhawk
9,59864093
9,59864093
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 13 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Please provide the output ofapt-rdepends -r policykit-1
– eyoung100
Jul 17 '15 at 0:33
1
If that doesn't work try:apt-cache --installed rdepends policykit-1
– eyoung100
Jul 17 '15 at 0:38
@eyoung100 Only the seconds works, withudisks libpolkit-gobject-1-0
– Sparhawk
Jul 20 '15 at 14:21
My hunch here is that the packages need to be reinstalled in the proper order. Removeudisks
andlibpolkit-gobject
then reinstallpolicykit-1
. Policykit-1 should reinstallsysvinit-core and sysvinit
. You may need to do this in rescue mode, as X may no longer work.
– eyoung100
Jul 20 '15 at 16:31
@eyoung100 As per the question, I don't have X installed. I also don't understand how the order of installation might help here, as (AFAIK) there are no conflicting files installed across the packages. Also, as per the question,policykit-1
seems to require the removal ofsysvinit-core
, so I'm not sure why we'd expect it to reinstallsysvinit-core
instead? (It's non-trivial to restore my system when it breaks, so I'd prefer more certain answers.)
– Sparhawk
Jul 25 '15 at 4:54
|
show 3 more comments
Please provide the output ofapt-rdepends -r policykit-1
– eyoung100
Jul 17 '15 at 0:33
1
If that doesn't work try:apt-cache --installed rdepends policykit-1
– eyoung100
Jul 17 '15 at 0:38
@eyoung100 Only the seconds works, withudisks libpolkit-gobject-1-0
– Sparhawk
Jul 20 '15 at 14:21
My hunch here is that the packages need to be reinstalled in the proper order. Removeudisks
andlibpolkit-gobject
then reinstallpolicykit-1
. Policykit-1 should reinstallsysvinit-core and sysvinit
. You may need to do this in rescue mode, as X may no longer work.
– eyoung100
Jul 20 '15 at 16:31
@eyoung100 As per the question, I don't have X installed. I also don't understand how the order of installation might help here, as (AFAIK) there are no conflicting files installed across the packages. Also, as per the question,policykit-1
seems to require the removal ofsysvinit-core
, so I'm not sure why we'd expect it to reinstallsysvinit-core
instead? (It's non-trivial to restore my system when it breaks, so I'd prefer more certain answers.)
– Sparhawk
Jul 25 '15 at 4:54
Please provide the output of
apt-rdepends -r policykit-1
– eyoung100
Jul 17 '15 at 0:33
Please provide the output of
apt-rdepends -r policykit-1
– eyoung100
Jul 17 '15 at 0:33
1
1
If that doesn't work try:
apt-cache --installed rdepends policykit-1
– eyoung100
Jul 17 '15 at 0:38
If that doesn't work try:
apt-cache --installed rdepends policykit-1
– eyoung100
Jul 17 '15 at 0:38
@eyoung100 Only the seconds works, with
udisks libpolkit-gobject-1-0
– Sparhawk
Jul 20 '15 at 14:21
@eyoung100 Only the seconds works, with
udisks libpolkit-gobject-1-0
– Sparhawk
Jul 20 '15 at 14:21
My hunch here is that the packages need to be reinstalled in the proper order. Remove
udisks
and libpolkit-gobject
then reinstall policykit-1
. Policykit-1 should reinstall sysvinit-core and sysvinit
. You may need to do this in rescue mode, as X may no longer work.– eyoung100
Jul 20 '15 at 16:31
My hunch here is that the packages need to be reinstalled in the proper order. Remove
udisks
and libpolkit-gobject
then reinstall policykit-1
. Policykit-1 should reinstall sysvinit-core and sysvinit
. You may need to do this in rescue mode, as X may no longer work.– eyoung100
Jul 20 '15 at 16:31
@eyoung100 As per the question, I don't have X installed. I also don't understand how the order of installation might help here, as (AFAIK) there are no conflicting files installed across the packages. Also, as per the question,
policykit-1
seems to require the removal of sysvinit-core
, so I'm not sure why we'd expect it to reinstall sysvinit-core
instead? (It's non-trivial to restore my system when it breaks, so I'd prefer more certain answers.)– Sparhawk
Jul 25 '15 at 4:54
@eyoung100 As per the question, I don't have X installed. I also don't understand how the order of installation might help here, as (AFAIK) there are no conflicting files installed across the packages. Also, as per the question,
policykit-1
seems to require the removal of sysvinit-core
, so I'm not sure why we'd expect it to reinstall sysvinit-core
instead? (It's non-trivial to restore my system when it breaks, so I'd prefer more certain answers.)– Sparhawk
Jul 25 '15 at 4:54
|
show 3 more comments
1 Answer
1
active
oldest
votes
For more recent readers:
Devuan is a distribution which uses sysvinit by default and includes a policykit-1 package that does not depend on systemd. It is mostly compatible with Debian in nearly every respect that does not deal with the init system.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f144617%2fhow-can-i-install-policykit-with-system-v%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
For more recent readers:
Devuan is a distribution which uses sysvinit by default and includes a policykit-1 package that does not depend on systemd. It is mostly compatible with Debian in nearly every respect that does not deal with the init system.
add a comment |
For more recent readers:
Devuan is a distribution which uses sysvinit by default and includes a policykit-1 package that does not depend on systemd. It is mostly compatible with Debian in nearly every respect that does not deal with the init system.
add a comment |
For more recent readers:
Devuan is a distribution which uses sysvinit by default and includes a policykit-1 package that does not depend on systemd. It is mostly compatible with Debian in nearly every respect that does not deal with the init system.
For more recent readers:
Devuan is a distribution which uses sysvinit by default and includes a policykit-1 package that does not depend on systemd. It is mostly compatible with Debian in nearly every respect that does not deal with the init system.
answered Jan 7 at 4:09
novicenovice
939
939
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f144617%2fhow-can-i-install-policykit-with-system-v%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please provide the output of
apt-rdepends -r policykit-1
– eyoung100
Jul 17 '15 at 0:33
1
If that doesn't work try:
apt-cache --installed rdepends policykit-1
– eyoung100
Jul 17 '15 at 0:38
@eyoung100 Only the seconds works, with
udisks libpolkit-gobject-1-0
– Sparhawk
Jul 20 '15 at 14:21
My hunch here is that the packages need to be reinstalled in the proper order. Remove
udisks
andlibpolkit-gobject
then reinstallpolicykit-1
. Policykit-1 should reinstallsysvinit-core and sysvinit
. You may need to do this in rescue mode, as X may no longer work.– eyoung100
Jul 20 '15 at 16:31
@eyoung100 As per the question, I don't have X installed. I also don't understand how the order of installation might help here, as (AFAIK) there are no conflicting files installed across the packages. Also, as per the question,
policykit-1
seems to require the removal ofsysvinit-core
, so I'm not sure why we'd expect it to reinstallsysvinit-core
instead? (It's non-trivial to restore my system when it breaks, so I'd prefer more certain answers.)– Sparhawk
Jul 25 '15 at 4:54