systemd.prerm does not do much really, so I figure it's one of the dpkg-maintscript-helper mv_conffile calls that failed. Can you please enable some debugging with
sudo sed -i '2 s/^.*/set -x/' /var/lib/dpkg/info/systemd.prerm sudo apt-get install --reinstall systemd
and see if you still get this error? Please copy&paste the entire output.
systemd.prerm does not do much really, so I figure it's one of the dpkg-maintscrip t-helper mv_conffile calls that failed. Can you please enable some debugging with
sudo sed -i '2 s/^.*/set -x/' /var/lib/ dpkg/info/ systemd. prerm
sudo apt-get install --reinstall systemd
and see if you still get this error? Please copy&paste the entire output.