Skip to main content
Topic: Topic: Removing and replacing elogind cannot update packages (Read 923 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Topic: Removing and replacing elogind cannot update packages

Alright, I have a big problem, I somehow install and relying on systemd's elogind. I am using Artix with xfce and runit.
Quote
sudo pacman -Syyu
[sudo] password for yerm:
:: Synchronizing package databases...
 system                261.5 KiB   251 KiB/s 00:01 [######################] 100%
 world                1882.9 KiB  3.00 MiB/s 00:01 [######################] 100%
 galaxy               1843.7 KiB  7.50 MiB/s 00:00 [######################] 100%
 extra                1566.8 KiB  1332 KiB/s 00:01 [######################] 100%
 community               5.6 MiB  13.5 MiB/s 00:00 [######################] 100%
 multilib              149.6 KiB  1151 KiB/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: rsync-openrc: local (20210505-2) is newer than world (20210502-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing elogind (246.10-5) breaks dependency 'systemd' required by lib32-systemd

Updating it does nothing and removing it has the same problems
Quote
sudo pacman -R elogind
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing elogind breaks dependency 'elogind' required by elogind-openrc
:: removing elogind breaks dependency 'elogind' required by gnome-desktop
:: removing elogind breaks dependency 'systemd' required by lib32-systemd
:: removing elogind breaks dependency 'elogind' required by libappindicator-gtk3
:: removing elogind breaks dependency 'elogind' required by lightdm
:: removing elogind breaks dependency 'elogind' required by polkit
:: removing elogind breaks dependency 'elogind' required by rtkit
:: removing elogind breaks dependency 'elogind' required by xorg-server
Installing Artix support also is conflicting with the systemd files
Quote
sudo pacman -S artix-archlinux-support
resolving dependencies...
looking for conflicting packages...
:: artix-archlinux-support and elogind are in conflict (systemd). Remove elogind? [y/N] y
:: artix-archlinux-support and libelogind are in conflict (systemd-libs). Remove libelogind? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libelogind breaks dependency 'libelogind' required by accountsservice
:: removing libelogind breaks dependency 'libelogind' required by dbus
:: removing libelogind breaks dependency 'libelogind.so=0-64' required by dbus
:: removing elogind breaks dependency 'elogind' required by elogind-openrc
:: removing elogind breaks dependency 'elogind' required by gnome-desktop
:: removing elogind breaks dependency 'elogind' required by libappindicator-gtk3
:: removing libelogind breaks dependency 'libelogind' required by libpulse
:: removing libelogind breaks dependency 'libelogind' required by light-locker
:: removing elogind breaks dependency 'elogind' required by lightdm
:: removing elogind breaks dependency 'elogind' required by polkit
:: removing libelogind breaks dependency 'libelogind' required by procps-ng
:: removing elogind breaks dependency 'elogind' required by rtkit
:: removing libelogind breaks dependency 'libelogind' required by udisks2
:: removing elogind breaks dependency 'elogind' required by xorg-server

I somehow managed to install systemd stuff all while not having systemd. Anybody have a solution?


Re: Topic: Removing and replacing elogind cannot update packages

Reply #2
Just a couple of things for clarity. Artix uses elogind. You won't get very far without it so don't try to remove it. Secondly, the problem is that you, for some reason, have lib32-systemd installed. We're a non-systemd distro. Why are you installing systemd in another arch? :P You should use the lib32 Artix repo like SGOrava said above.

Re: Topic: Removing and replacing elogind cannot update packages

Reply #3
Alright the conf editing worked, however now steam will not work. Getting a "You are missing the following 32-bit libraries, and Steam may not run:
libsystemd.so.0" artix support is not working, it's updating but not working.
Also sorry about misunderstanding my problem, I love this distro and I don't want to misrepresent it
Here is my conf
Quote
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Artix Linux
# packagers with `pacman-key --populate artix`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The gremlins repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[gremlins]
#Include = /etc/pacman.d/mirrorlist

[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

#[galaxy-gremlins]
Alright just -Sy steam worked
Nevermind. Thanks for the help

 

Re: Topic: Removing and replacing elogind cannot update packages

Reply #4
The other thing you may experience is that things will not work and will throw strange error.
I saw this multiple times when people did similar things as you (had installed packages from Arch repositories instead of from Artix repositories).
The solution which I can think of is to reinstall all packages from affected repositories by Artix version.

Anyway, if it works now than it is fine, just keep this point in mind when you encounter strange errors.

Regarding "libsystemd.so.0" I think you need to manually create simlink from libsystemd.so (somehow elogind does not provide that one??).