You can switch seamlessly between systemd and openrc on gentoo. Although it might be worth using one of the debian derivatives in this user’s case - not sure they should be messing with their system too much!
I updated my sources.list to something non-existing at some point and run sudo apt update && sudo apt dist-upgrade -y && sudo apt autoremove once and it also basically uninstalled everything. But that didn’t even matter, I popped in a recovery disk and could reinstall everything. Pretty great to be able to do all that with Linux, fuck everything up in an instant but after a few hours everything is back again
It’s impressive how they know enough to use Stack Exchange for questions like this but not enough that removing SystemD is like ripping someones heart out on most distros.
It failed to install the initscripts package because apt bailed out
apt —fix-broken install got you a little closer, but the screenshot didn’t say they tried that
My bet is this worked when systemd was first introduced, but since there’s not much use for it now, and sysvinit is deprecated, it just doesn’t accidentally work anymore
Yeah both runit and sysvinit are supported, but packages are no longer required to include sysvinit scripts, so there’s no guarantee that all software will work. Most have kept their sysvinit script though.
The main issue will be that systemd does a lot of stuff, so you’d have to install replacements for everything else it does - like a syslog daemon for logging, ntp client for clock syncing, DNS resolver, etc.
Lol this reminds me of a time when I had KDE desktop environment installed on vanilla ubuntu. I thought I didn’t really need ubuntu’s default desktop environment and decided to ‘purge’ it. I quickly realized my f up when it deleted so many packages and ui started to act weird, I copied the shell’s output to a file just incase, and sure enough I couldn’t login with ui on next reboot. I was somehow able to login to shell and with some awk magic I was able to parse the text file to get all the packages I deleted and lo and behold everything worked just fine. Linux let’s you f’up your OS but it also let’s you fix it, it’s just a skill issue.
If your installing, or deleting something and your package manager is modifying more then a few packages: stop, read and think about what your about to do.
Linux let’s you f’up your OS but it also let’s you fix it, it’s just a skill issue.
Yeah, there’s something about Linux that makes me feel like if something breaks in it, the only reason I can’t fix it personally is because I lack the skills to fix the problem. Just feels nice, really.
I use BTRFS, and it randomly decided to corrupt like half of the system packages on my system after an update, but all I had to do to fix it was boot into a live environment and run a command to reinstall everything on my system. :P
He uninstalled systemd, now his computer is not doing systemd things anymore by his retelling. Seems like it worked fine. Yet he asks for a solution of a problem. Maybe he needs to state the problem.
But system32 contains the NT kernel as well, so that’s worse. Uninstalling your init system on a Linux distro still leaves you with single user mode. You could probably reinstall an init system from there.
On Debian you can actually change init systems. Don’t know how hard it is and you are probably meant to install a new one after removing systemd, but it is possible at least.
I mean, it can work out if he installs an alternative init & rc and a wifi-manager first. And then recreates initrd. Maybe needs to migrate some dns stuff too.