Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have systemd installed, but I want to make a full switch.

I've read here that I should just install systemd-sysv, but when I attempt to do that I get this message:

root@arm:/usr/lib/systemd# aptitude install systemd-sysv
The following NEW packages will be installed:
0 packages upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 15.1 kB of archives. After unpacking 55.3 kB will be used.
The following packages have unmet dependencies:
systemd-sysv : Conflicts: sysvinit but 2.88dsf-41+deb7u1 is installed.
The following actions will resolve these dependencies:

 Keep the following packages at their current version:
1)     systemd-sysv [Not Installed]                       

Accept this solution? [Y/n/q/?] n

*** No more solutions available ***

Should I simply uninstall syvinit first? If so, how can I make sure I do so cleanly (making sure all dependencies are removed also)? Is these serror message symptomatic of a larger problem?


share|improve this question

closed as off-topic by Luis Alvarado Jul 25 at 0:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.

The sysvinit package is not part of Ubuntu, it looks like you are asking about a Debian configuration. If you can rework this question in terms of an Ubuntu configuration, please do. Otherwise this is off-topic for AU. –  mtmiller Jun 24 at 2:19

1 Answer 1

This question is for Debian not for Ubuntu, as the later uses upstart instead of sysvinit.

Anyways, on Debian you have to explicitly remove the sysvinit package beforehand:

root@debian:/etc# aptitude remove sysvinit
The following packages will be REMOVED:  
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 283 kB will be freed.
The following ESSENTIAL packages will be REMOVED!

WARNING: Performing this action will probably cause your system to break!
         Do NOT continue unless you know EXACTLY what you are doing!
To continue, type the phrase "I am aware that this is a very bad idea":

After that your original command of aptitude install systemd-sysv will work.

Alternatively you can use apt-get instead of aptitude, which will offer you to do the two steps in one go:

apt-get install sytsemd-sysv

It's worth noting that essential packages will get reinstalled (and the conflicting packages removed) on dist-upgrades. This would cause systemd-sysv to be removed on system upgrades. It is on the Debian to-do list to change the behavior.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.