[SOLVED]Just installed Manjaro Openrc, but have conflicting dependencies

Hey, I just installed Manjaro Openrc 17 an my new SSD. but when I type pacman -Syyuu it get the follwoing:

:: Synchronizing package databases…
core 138,1 KiB 388K/s 00:00 [############################################################] 100%
extra 1783,6 KiB 1117K/s 00:02 [############################################################] 100%
community 4,1 MiB 1994K/s 00:02 [############################################################] 100%
multilib 181,6 KiB 1464K/s 00:00 [############################################################] 100%
:: Starting full system upgrade…
:: Replace cgmanager-openrc with community/elogind-openrc? [Y/n] Y
:: Replace consolekit with community/elogind? [Y/n] Y
:: Replace consolekit-openrc with community/elogind-openrc? [Y/n] Y
:: Replace manjaro-documentation with extra/manjaro-documentation-en? [Y/n] Y
:: Replace pacman-mirrorlist with core/pacman-mirrors? [Y/n] Y
:: Replace pm-quirks with community/pm-utils? [Y/n] Y
:: Replace polkit-consolekit with community/polkit-elogind? [Y/n] Y
:: Replace udev-openrc with community/eudev-openrc? [Y/n] Y
resolving dependencies…
looking for conflicting packages…
warning: removing ‘dbus-x11’ from target list because it conflicts with 'dbus-elogind’
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: elogind-openrc and consolekit-openrc are in conflict

What do?

Good evening there,

It’s kinda common problem for me, which I solve usually by removing one of the packages that are not used anymore by the system. So you can either choose ‘No’ on

or you can manually remove ‘consolekit-openrc’ and try to update again.

Best regards,
unix121

ok, i will try to do that, ive had another installation of manjaro-i3 before where i did something similar, but then it crashed after 3 days so ill wait if someone else has a different approach, thanks :slight_smile:

consolekit has been removed in favour of elogind
see here

https://forum.manjaro.org/t/switch-from-consolekit-to-elogind/19412/1

1 Like

when i type the first line where he installs the new elogind components, i get asked again to replace consolekit stuff with elogind and it tells me again that removing consolekit breaks consolekit…

Hi,

You could try the next version of the ISO, available here.

Yes, there seems to be a dependency issue in this openrc update. I got the same unresolvable conflict when trying to update from stable in XFCE. @artoo?

I was able to install the updates if I first installed elogind-openrc and networkmanager. I also had to remove light-locker-consolekit (but that may not apply to everyone). Then, after answering all the yeses, the update proceeded without conflict.

1 Like

Expanding upon the previous reponse:

I tried updating on the 17.0 RC ISO, but it fails on picking the default options:

:: Starting full system upgrade...
:: Replace cgmanager-openrc with community/elogind-openrc? [Y/n] 
:: Replace consolekit with community/elogind? [Y/n] 
:: Replace consolekit-openrc with community/elogind-openrc? [Y/n] 
:: Replace manjaro-documentation with extra/manjaro-documentation-en? [Y/n] 
:: Replace pacman-mirrorlist with core/pacman-mirrors? [Y/n] 
:: Replace pm-quirks with community/pm-utils? [Y/n] 
:: Replace polkit-consolekit with community/polkit-elogind? [Y/n] 
:: Replace udev-openrc with community/eudev-openrc? [Y/n] 
resolving dependencies...
looking for conflicting packages...
warning: removing 'dbus-x11' from target list because it conflicts with 'dbus-elogind'
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: elogind-openrc and consolekit-openrc are in conflict

To work around I updated in the following way:

$ sudo pacman -Sy pm-utils
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...
:: pm-utils and pm-quirks are in conflict. Remove pm-quirks? [y/N] y

Packages (2) pm-quirks-0.20100619-4 [removal]  pm-utils-1.4.1-7

Total Download Size:   0.05 MiB
Total Installed Size:  0.24 MiB
Net Upgrade Size:      0.08 MiB

:: Proceed with installation? [Y/n] 

$ sudo pacman -S elogind elogind-openrc networkmanager light-locker
resolving dependencies...
looking for conflicting packages...
:: elogind and consolekit are in conflict. Remove consolekit? [y/N] y
:: elogind and pm-utils are in conflict. Remove pm-utils? [y/N] y
:: dbus-elogind and dbus-x11 are in conflict (libdbus). Remove dbus-x11? [y/N] y
:: polkit-elogind and polkit-consolekit are in conflict (polkit). Remove polkit-consolekit? [y/N] y
:: elogind-openrc and consolekit-openrc are in conflict. Remove consolekit-openrc? [y/N] y
:: eudev-openrc and udev-openrc are in conflict. Remove udev-openrc? [y/N] y
:: light-locker and light-locker-consolekit are in conflict. Remove light-locker-consolekit? [y/N] y
:: networkmanager and networkmanager-consolekit are in conflict. Remove networkmanager-consolekit? [y/N] y

Packages (17) consolekit-1.1.0-12 [removal]  consolekit-openrc-20160528-1 [removal]  dbus-elogind-1.10.16-4  dbus-x11-1.10.14-1 [removal]
              eudev-openrc-32-2  js-24.2.0-4  libelogind-226.5-2  light-locker-consolekit-1.6.0-1.4 [removal]
              networkmanager-consolekit-1.6.0-1 [removal]  pm-utils-1.4.1-6 [removal]  polkit-consolekit-0.113-6 [removal]
              polkit-elogind-0.113+29+g3272a98-7  udev-openrc-32-1 [removal]  elogind-226.5-2  elogind-openrc-20170401-1  light-locker-1.6.0-3
              networkmanager-1.6.2-3

Total Download Size:    5.63 MiB
Total Installed Size:  28.99 MiB
Net Upgrade Size:      14.17 MiB

:: Proceed with installation? [Y/n] 

$ sudo service elogind start
 * Caching service dependencies ...                                                                                                            [ ok ]
 * Starting elogind ...                                                                                                                        [ ok ]

$ sudo rc-update add elogind default
 * service elogind added to runlevel default

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace cgmanager-openrc with community/elogind-openrc? [Y/n] 
:: Replace manjaro-documentation with extra/manjaro-documentation-en? [Y/n] 
:: Replace pacman-mirrorlist with core/pacman-mirrors? [Y/n] 
resolving dependencies...
looking for conflicting packages...
warning: removing 'device-mapper' from target list because it conflicts with 'device-mapper-nosystemd'
warning: removing 'cups' from target list because it conflicts with 'cups-nosystemd'
warning: removing 'lvm2' from target list because it conflicts with 'lvm2-nosystemd'
warning: removing 'syslog-ng' from target list because it conflicts with 'syslog-ng-nosystemd'
:: device-mapper-nosystemd and device-mapper are in conflict. Remove device-mapper? [y/N] y
:: cups-nosystemd and cups are in conflict. Remove cups? [y/N] y
:: libusb-nosystemd and libusb are in conflict (libusbx). Remove libusb? [y/N] y
:: dhcpcd-nosystemd and dhcpcd are in conflict. Remove dhcpcd? [y/N] y
:: lvm2-nosystemd and lvm2 are in conflict. Remove lvm2? [y/N] y
:: rpcbind-nosystemd and rpcbind are in conflict. Remove rpcbind? [y/N] y
:: syslog-ng-nosystemd and syslog-ng are in conflict. Remove syslog-ng? [y/N] y
warning: dependency cycle detected:
warning: kinit will be installed before its kio dependency

Packages (257) acpid-openrc-20170401-1  alsa-utils-1.1.3-2  alsa-utils-openrc-20170401-1  atk-2.24.0-1  attica-qt5-5.32.0-1  avahi-openrc-20170401-1
               bash-4.4.012-2  binutils-2.28.0-2  bluez-5.44-1  bluez-libs-5.44-1  bluez-openrc-20170401-1  btrfs-progs-4.10.2-1  bzip2-1.0.6-6
               ca-certificates-20170307-1  ca-certificates-mozilla-3.29.3-2  calamares-3.1.0-6  cgmanager-openrc-20160528-1 [removal]
               compton-0.1_beta2.5-5  cpupower-4.10-1  cpupower-openrc-20170401-1  cronie-openrc-20170401-1  cryptsetup-1.7.4-1
               cryptsetup-openrc-20170401-1  cups-2.2.2-2 [removal]  cups-filters-1.13.4-1  cups-nosystemd-2.2.2-2  cups-openrc-20170401-1
               curl-7.53.1-1  dbus-openrc-20170401-1  device-mapper-2.02.168-1 [removal]  device-mapper-nosystemd-2.02.169-1
               device-mapper-openrc-20170401-1  dhcpcd-6.11.5-1 [removal]  dhcpcd-nosystemd-6.11.5-2  dhcpcd-openrc-20170401-1
               displaymanager-openrc-20170401-1  dnssec-anchors-20170228-1  dosfstools-4.1-1  efibootmgr-15-1  efivar-31-1
               elogind-openrc-20170401-1  eudev-3.2.1-6  eudev-systemd-232-2  ffmpeg-1:3.3-1  fftw-3.3.6-2  firefox-52.0.2-1.1
               fixesproto-5.0+9+g4292ec1-1  flex-2.6.3-2  galculator-2.1.4-3  gcc-6.3.1-2  gcc-libs-multilib-6.3.1-2  gd-2.2.4-1  gdbm-1.13-1
               git-2.12.2-2  glib2-2.50.3-1  glibc-2.25-1  gnupg-2.1.20-1  gnutls-3.5.10-1  gparted-0.28.1-1  gpgme-1.9.0-1  grub-2.02.rc2-1
               gssproxy-0.6.2-1  gst-libav-1.10.4-1  gst-plugins-base-1.10.4-1  gst-plugins-base-libs-1.10.4-1  gst-plugins-good-1.10.4-1
               gstreamer-1.10.4-1  gtk-update-icon-cache-3.22.10-1  gtk3-3.22.10-1  guile-2.0.14-1  gvfs-1.30.3+4+gd79b4650-1
               gvfs-gphoto2-1.30.3+4+gd79b4650-1  gvfs-mtp-1.30.3+4+gd79b4650-1  harfbuzz-1.4.5-1  haveged-openrc-20170401-1  hdparm-9.51-1
               hdparm-openrc-20170401-1  hwinfo-21.38-1  iana-etc-20170224-1  imagemagick-6.9.8.3-1  iproute2-4.10.0-3  iptables-1.6.1-1
               jansson-2.10-1  jasper-2.0.12-1  json-glib-1.2.6+7+gf98d547-1  karchive-5.32.0-1  kauth-5.32.0-1  kbookmarks-5.32.0-1
               kcodecs-5.32.0-1  kcompletion-5.32.0-1  kconfig-5.32.0-1  kconfigwidgets-5.32.0-1  kcoreaddons-5.32.0-1  kcrash-5.32.0-1
               kdbusaddons-5.32.0-1  keyutils-1.5.10-1  kglobalaccel-5.32.0-1  kguiaddons-5.32.0-1  ki18n-5.32.0-1  kiconthemes-5.32.0-1
               kinit-5.32.0-1  kio-5.32.0-2  kitemmodels-5.32.0-1  kitemviews-5.32.0-1  kjobwidgets-5.32.0-1  kmod-24-1  knotifications-5.32.0-1
               kservice-5.32.0-1  ktextwidgets-5.32.0-1  kwallet-5.32.0-1  kwidgetsaddons-5.32.0-1  kwindowsystem-5.32.0-1  kxmlgui-5.32.0-1
               lib32-gcc-libs-6.3.1-2  lib32-glibc-2.25-1  lib32-libdrm-2.4.79-1  lib32-libx11-1.6.5-1  lib32-util-linux-2.29.2-1
               lib32-wayland-1.13.0-1  libarchive-3.3.1-4  libass-0.13.6-1  libbluray-1.0.0-1  libcups-2.2.3-1  libdatrie-0.2.10-2  libdrm-2.4.79-1
               libedit-20170329_3.1-1  libepoxy-1.4.1-1  libeudev-3.2.1-6  libeudev-systemd-232-2  libgpg-error-1.27-1  libgphoto2-2.5.12-1
               libimobiledevice-1.2.0-6  libinput-1.7.0-1  libmtp-1.1.13-1  libnewt-0.52.19-3  libnl-3.2.29-2  libnm-1.6.2-3  libnm-glib-1.6.2-3
               libpciaccess-0.13.5-1  libpng-1.6.29-1  libseccomp-2.3.2-1  libsodium-1.0.12-1  libssh-0.7.4-2  libusb-1.0.21-1 [removal]
               libusb-nosystemd-1.0.21-1  libutil-linux-2.29.2-2  libva-1.8.1-1  libwacom-0.24-1  libx11-1.6.5-1  libx264-2:148.20170121-1
               libxslt-1.1.29+42+gac341cbd-1  lightdm-1:1.22.0-1  linux-api-headers-4.10.1-1  linux-firmware-20170309.695f2d6-1  linux49-4.9.22-1
               linux49-ndiswrapper-1.61-18  linux49-virtualbox-guest-modules-5.1.18-8  lvm2-2.02.168-1 [removal]  lvm2-nosystemd-2.02.169-1
               lvm2-openrc-20170401-1  lzo-2.10-1  man-pages-4.10-3  manjaro-artwork-1.0.8-4  manjaro-documentation-20170101-1 [removal]
               manjaro-documentation-en-20170326-1  manjaro-efi-utils-20170307-1  manjaro-icons-20170220-1  manjaro-live-base-20170331-2
               manjaro-live-openrc-20170331-2  manjaro-live-skel-20170331-2  manjaro-release-17.0.1-1  manjaro-settings-manager-0.5.1-2
               manjaro-tools-base-0.15.2-1  mdadm-4.0-1  mdadm-openrc-20170401-1  mhwd-db-0.6.0rc1-1  mhwd-nvidia-1:375.39-1  mkinitcpio-23-1
               mobile-broadband-provider-info-20170310-1  nano-2.8.1-1  nbd-3.15.2-1  ncurses-6.0+20170128-1  netifrc-0.5.1-3
               network-manager-applet-1.4.6-1  networkmanager-openrc-20170401-1  nfs-utils-2.1.1-3  nfs-utils-openrc-20170401-1
               nm-connection-editor-1.4.6-1  nss-3.29.3-2  ntfs-3g-2017.3.23-1  ntp-4.2.8.p10-1  ntp-openrc-20170401-1  opencore-amr-0.1.4-1
               openrc-0.24.2-1  openssh-openrc-20170401-1  openvpn-2.4.1-1  openvpn-openrc-20170401-1  p11-kit-0.23.5-1  pacman-5.0.1-7
               pacman-mirrorlist-20170212-1 [removal]  pacman-mirrors-4.0.4-1  pamac-4.3.3-1  pango-1.40.4-1  parole-0.9.1-1  pciutils-3.5.4-1
               phonon-qt5-4.9.1-2  phonon-qt5-gstreamer-4.9.0-2  pkcs11-helper-1.22-1  poppler-0.52.0-1  poppler-qt5-0.52.0-1  powertop-2.9-1
               python-psutil-5.2.2-1  qt5-base-5.8.0-7  readline-7.0.003-1  refind-efi-0.10.5-1  rpcbind-0.2.4-2 [removal]
               rpcbind-nosystemd-0.2.4-2  rpcbind-openrc-20170401-1  rsync-openrc-20170401-1  solid-5.32.0-1  sonnet-5.32.0-1  sqlite-3.18.0-1
               startup-notification-0.12-5  syslinux-6.03-7  syslog-ng-3.6.3-2 [removal]  syslog-ng-nosystemd-3.9.1-2  syslog-ng-openrc-20170401-1
               testdisk-7.0-4  thunar-1.6.11-1  tint2-0.14.1-1  tslib-1.8-1  tzdata-2017b-1  usb_modeswitch-2.5.0-1  util-linux-2.29.2-2
               v4l-utils-1.12.3-1  vertex-maia-themes-20170406-1  vim-8.0.0427-1  vim-runtime-8.0.0427-1  virtualbox-guest-utils-5.1.18-1
               wayland-1.13.0-1  wget-1.19.1-2  wpa_supplicant-openrc-20170401-1  x265-2.3-1  xarchiver-0.5.4.8-1  xf86-input-libinput-0.25.0-1
               xfce4-notifyd-0.3.6-1  xfce4-taskmanager-1.2.0-1  xfce4-whiskermenu-plugin-1.7.2-1  xfsprogs-4.10.0-1  xfwm4-4.12.4-1
               xorg-mkfontdir-1.0.7-8  xorg-server-1.19.3-2  xorg-server-common-1.19.3-2  xorg-sessreg-1.1.1-1  yaml-cpp-0.5.3-2  yaourt-1.8.1-2
               zeromq-4.2.1-1

Total Download Size:    375.19 MiB
Total Installed Size:  1417.14 MiB
Net Upgrade Size:        14.15 MiB

:: Proceed with installation? [Y/n]
2 Likes

pm-quirks is the culprit.

arch removed pm-utils and pm-quirks from repo.
I merged these two together in pm-utils in manjaro repos,

It now has become obsolete altogether with elogind, but it only conflicts with pm-utils, since there is no pm-quirks package any longer.

which you should not do.

I encounter again this mysterious command.
why do people use this? Its the downgrade command.

upgrade is

pacman -Syu

1 Like

@aaditya

i think the easier solution may be

pacman -Syy pm-utils

and then

pacman -Syu

Its due to a 'skipped" pm-utils update.

1 Like

Okay, will update instructions in the previous post.

Not sure it works, better test, but it should do.

pm-utils conflicts and replaces pm-quirks.

where is that post?
thanks

@artoo

It worked. Have updated the instructions.

This one here (a few messages above your post):

1 Like

Hey, I have similar problems and couldn’t find any solutions so far.
This is the update problem:

Is it better to install the beta version from scratch?

There seems to be an issue in the Beta version installer or profile currently (fixed, new iso can also be used), I would suggest to update the existing system as detailed, and to copy back / revert to previous config files when replacing any package with its nosystemd version.

@KuL786G if there is further query or issue can discuss in the thread you posted.

Hey aaditya,

that would be nice. I will post on that thread some more information’s.

@aaditya
Yep, did the trick for me, too! :slight_smile:
Thank you !

Forum kindly sponsored by Bytemark