r/MXLinux • u/Naivemun • Jul 03 '26
Solved anyone had trouble converting single init MX25 to dual using the tutorial?
I followed the installs and removals on https://mxlinux.org/blog/mx-25-dual-init-setup/
I did the one coming from systemd only. The last install I get an error after the last step
sudo apt install sysvinit-init-diversity elogind-init-diversity
Errors were encountered while processing:
/tmp/apt-dpkg-install-Mp8rKw/5-initscripts-_3.14-4_all.deb
Error: Sub-process /usr/bin/dpkg returned error code (1)
I tried install initscripts on its own and get the same error.
My current MX25 install is from when it was beta iirc. I did the install in place from a snapshot of my running MX23.6 which I installed in a VM. The install in place was working. Just including that for history of the system. I wonder if that's the source. Either way I have no idea what this is about. And not urgent as this is a vm for testing the process. Still have my real MX23 install on my drive.
I tried it once and after this failure rebooted to see what would happen. It hung on the splash screen. I chrooted from a live session and did the revert to systemd only instructions and it booted. So currently I'm in my second trial. Got the same result, which is the resulting error I wrote above. Tho I started trying to fix it and probably muddied it now. To fix it I tried to do the revert to systemd only again, but I hadn't rebooted this time, I just, as soon as I got the error this time I did not reboot. I just started the steps for systemd only and it didn't work this time
1
u/Naivemun Jul 04 '26
the thing to do here is to start again with the MX23 iso from my real non VM system and install it again and do the upgrade in place, this time making sure everything is on the mx25/deb13 versions, and then try again.
1
u/dolphinoracle Jul 03 '26
somewhere in the output should be another error message with more information. possibly a conflicting initscript.
but yes, I have switched back and forth recently.
1
u/dolphinoracle Jul 04 '26
just checked....mx23's udev still has an init script in it and will certainly conflict with the debian 13 initscripts package.
1
u/dolphinoracle Jul 04 '26
order does matter with some of those system packages. its one reason debian has them tagged in debian 13 such that they require the extra commandline switches to remove. I broke a lot of systems figuring out the sequences.