Ceres without systemd
Devuan Ceres will often bring in packages that depend on the systemd library libsystemd0, this is because it’s parent distro Debian Sid changes very frequently and with this often comes the support for systemd. Thanks to information provided by Mitt Green this issue can be addressed here which we will do by excluding any possibility of installing libsystemd0 using apt-pinning.
First make sure the devuan-baseconf package is installed.
root@devuan:~# apt-get install devuan-baseconf
This package provides apt-pinning rules to help avoid using systemd. We will create an apt preferences based on the one from this package and change the apt-pinning rules to suit our needs - in this case, we will not allow libsystemd0 to be installed.
root@devuan:~# cp /etc/apt/preferences.d/avoid-systemd /etc/apt/preferences.d/no-systemd
Now modify the apt pinning.
root@devuan:~# nano /etc/apt/preferences.d/no-systemd
For a seemless upgrade we will add two different sets of pinning rules here so that the pinning will be compatible no matter which branch is the target for an upgrade.
``` Package: systemd Pin: release o=Debian Pin-Priority: -1
Package: systemd Pin: release * Pin-Priority: -1 ```
For the sake of understanding what we just did you should test your work.
root@devuan:~# apt-get install systemd
The resulting output should include something like this.
systemd : Depends: libsystemd0 (= 215-17+deb8u2) but it is not installable
E: Unable to correct problems, you have held broken packages.