How do I replace systemd with openrc on Arch Linux when systemd is already installed?

576

There are some helpful flags for pacman that make removing packages easier.

You could either just nuke systemd and libsystemd and leave all the packages that require systemd with

pacman -Rdd systemd libsystemd

or you could attempt remove the packages that depend on systemd with

pacman -R systemd libsytemd $(pacman -Qi systemd | grep "Req" | sed -e 's/Required By\s*://') $(pacman -Qi libsystemd | grep "Req" | sed -e 's/Required By\s*://')

of course you may need to go another couple of levels depending on what you have installed, but you were expecting trouble.

Share:
576

Related videos on Youtube

olekb
Author by

olekb

Updated on September 18, 2022

Comments

  • olekb
    olekb almost 2 years

    I compiled FileZilla using WinGW/MSYS and it runs fine. Now I want to start it from another location and it fails with this error message:

    Could not find resource files.... You can set the data directory of FileZilla using the '--datadir ' ...

    When I run filezilla.exe --datadir=c:\Temp\data it complains that datadir option does not exists.

    I found that workaround is to downgrade to Filezilla 3.7.3, but if I do it I have to downgrade Wx to 2.8. Looking at sources there's a copilation flag ENABLE_BINRELOC that controls --datadir.

    How do I enable it?

  • user8856103
    user8856103 over 6 years
    Thanks a log for your investigation. I no longer use Arch though. However it may be useful to others in the same situation. Just that I think it happened to a specific version of Arch that no longer is available from what I had investigated that far. I might be wrong though...