I'm trying to upgrade an old server from Debian wheezy (yes, I'm behind the times). Can you tell me how to overcome a conflict between systemd-sysv and sysvinit?
I replaced mentions of wheezy with jessie in apt lists: sed -i 's/wheezy/jessie/g' sources.list sources.list.d/*
When I run apt -V upgrade, I encounter an error:
dpkg: error processing archive /var/cache/apt/archives/systemd-sysv_241-5_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/halt.8.gz', which is also in package sysvinit 2.88dsf-41+deb7u1
I tried to remove the existing sysvinit package with dpkg -P sysvinit, but it is not allowed because this is an essential package:
dpkg: error processing package sysvinit (--purge):
this is an essential package; it should not be removed
(I have also tried apt --fix-broken install, but to no effect.)