Bug #2884

Bug #2886: systemd and openrc are in conflict (systemd-tools)

your-initfreedom and systemd-nss-myhostname are in conflict

infinite_recursion - 3 months ago - . Updated 2 months ago.

% Done:



# pacman -Syu
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: your-initfreedom and systemd-nss-myhostname are in conflict

While updating, above error show up, cannot update.



Updated by bill-auger 3 months ago

  • Status changed from unconfirmed to confirmed
if pacman has a conflict such as: "your-initfreedom and systemd-_ANYTHING_ are in conflict", manual intervention will be required - the reason for this is that, before this week, 'nonsystemd/base' did not actually conflict with any systemd packages - in some cases, depending on how the initial install was done, some systemd packages would be installed, even on non-systemd systems - those packages not actually needed though; and some people would complain about them - the separation was made to be more strict by adding 'your-initfreedom' to 'nonsystemd/base'; which conflicts directly with those systemd packages - if your system in in that state, those systemd packages need to be uninstalled manually now - it is most likely these four:
  • systemd-nss-myhostname
  • systemd-nss-mymachines
  • systemd-nss-resolve
  • systemd-nss-systemd

this command will list which systemd packages that you have installed:

$ pacman -Ss systemd | grep -E 'libre/systemd.*\[installed'

this command will uninstall every package with a name beginning with: 'systemd':

$ sudo pacman -R $(pacman -Ss systemd | grep -E 'libre/systemd.*\[installed' | sed 's|libre/\([^ ]*\) .*|\1|')

finally, do a strict sync with the [nonsystemd] repo:

$ sudo pacman -Syyuu

if you get another conflict which mentions 'netctl', then uninstall 'netctl' and 'parabola-base' also

$ sudo pacman -R netctl parabola-base
$ sudo pacman -Syyuu

Updated by bill-auger 3 months ago

  • Priority changed from bug to discussion
  • Description updated (diff)

Updated by infinite_recursion 3 months ago

Removed those 4, now it conflicts with systemd-resolvconf

:: removing systemd-resolvconf breaks dependency 'resolvconf' required by netctl

Updated by bill-auger 3 months ago

$ sudo pacman -R netctl parabola-base


Updated by infinite_recursion 3 months ago

:: removing netctl breaks dependency 'netctl' required by parabola-base

Updated by Megver83 3 months ago

netctl is made for systemd, remove it with parabola-base too, you don't need them; parabola-base packages can be easily installed by hand (if you need them). E.g. I don't have dhcpcd (I use NM), mc, vi, and maybe others from that meta package.


Updated by infinite_recursion 3 months ago

Yes that did it

Go to another virtual terminal and login

pacman -R parabola-base
pacman -R netctl
pacman -R systemd-nss-myhostname systemd-nss-mymachines systemd-nss-resolve systemd-nss-systemd systemd-resolvconf
pacman -Syu

This solves the problem. Thanks guys!


Updated by bill-auger 2 months ago

  • Parent task set to #2886

Also available in: Atom PDF