Commit 30dfc6a3 authored by Michael Biebl's avatar Michael Biebl
Browse files

Use Conflicts instead of Breaks against sysvinit-core

This avoids /sbin/init going missing when switching from systemd-sysv to
sysvinit. While at it, add a Replaces: upstart.

Closes: #751589
parent b0851c77
......@@ -21,6 +21,9 @@ systemd (204-11) UNRELEASED; urgency=medium
systemd-sysv as default init. While downgrading the Pre-Depends in
sysvinit would have been an alternative, dropping the Conflicts and only
keeping the Replaces was deemed the lesser evil. (Closes: #748355)
* Use Conflicts instead of Breaks against sysvinit-core. This avoids
/sbin/init going missing when switching from systemd-sysv to sysvinit.
While at it, add a Replaces: upstart. (Closes: #751589)
[ Michael Stapelberg ]
* Clarify that “systemd” does not influence init whereas “systemd-sysv” does
......
......@@ -76,10 +76,11 @@ Package: systemd-sysv
Architecture: linux-any
Section: admin
Priority: extra
Conflicts: upstart
Conflicts: sysvinit-core,
upstart
Replaces: sysvinit (<< 2.88dsf-44~),
sysvinit-core
Breaks: sysvinit-core
sysvinit-core,
upstart
Depends: ${shlibs:Depends},
${misc:Depends},
systemd (= ${binary:Version})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment