I never intentionionally installed systemd...but something I installed did...so I tried to remove it (to show what was using it). The result is posted below. Please help me find the shortest path for fixing this. I saw a similar article with links to the wiki, but don't understand the solution.....so please don't post RTFM....if I understood what I was seeing, I wouldn't be asking for assistance.
Please help.
The /etc/pacman.conf has the entries in the proper order with Arch repos below Artix repos.
:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring [-------------------------------------------------] 100%
(4/4) checking package integrity [-------------------------------------------------] 100%
(4/4) loading package files [-------------------------------------------------] 100%
(4/4) checking for file conflicts [-------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
lib32-udev: /usr/lib32/libudev.so exists in filesystem (owned by lib32-systemd)
lib32-udev: /usr/lib32/libudev.so.1 exists in filesystem (owned by lib32-systemd)
lib32-udev: /usr/lib32/libudev.so.1.7.4 exists in filesystem (owned by lib32-systemd)
lib32-udev: /usr/lib32/pkgconfig/libudev.pc exists in filesystem (owned by lib32-systemd)
lib32-elogind: /usr/lib32/pkgconfig/libsystemd.pc exists in filesystem (owned by lib32-systemd)
Errors occurred, no packages were upgraded.
First check if package lib32-artix-archlinux-support is installed if not install it.
pacman -S lib32/lib32-artix-archlinux-support
resolving dependencies...
looking for conflicting packages...
:: lib32-artix-archlinux-support and lib32-systemd are in conflict. Remove lib32-systemd? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: lib32-artix-archlinux-support and lib32-systemd are in conflict
I would be rough and remove the lib32-systemd package without caring for dependencies
pacman -Rd lib32-systemd
and than installed the lib32-artix-archlinux-support package
pacman -S lib32-artix-archlinux-support
and than did the update.
This might do it, at worst only lib32 is nuked.
should i maybe remove pipewire and vulkan-intel and try again 1st? both seem to require systemd....that's weird for pipewire though.
I would rather skip the dependency check.
I am not sure how many things in your system depends on these libraries.
EDIT: try and see, maybe your approach is better than my. At worst pacman has logs in which you can see what was done to your packages.
these seem to be the offending players: (i dunno how to to the text block thing)
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-bluez-plugins
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-dbus
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libgudev
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libnm
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libpulse
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libudev0-shim
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libusb
:: removing lib32-systemd breaks dependency 'libsystemd.so=0-32' required by lib32-pipewire
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-vulkan-intel
These were the conflicting parts:
lib32-udev: /usr/lib32/libudev.so exists in filesystem (owned by lib32-systemd)
lib32-udev: /usr/lib32/libudev.so.1 exists in filesystem (owned by lib32-systemd)
lib32-udev: /usr/lib32/libudev.so.1.7.4 exists in filesystem (owned by lib32-systemd)
lib32-udev: /usr/lib32/pkgconfig/libudev.pc exists in filesystem (owned by lib32-systemd)
lib32-elogind: /usr/lib32/pkgconfig/libsystemd.pc exists in filesystem (owned by lib32-systemd)
...native steam seems to require the pipewire systemd package as well
sudo pacman -R lib32-pipewire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-pipewire breaks dependency 'lib32-pipewire' required by steam-native-runtime
In short, you have poluted lib32 packages by Arch versions which are bad.
it is not only about conflicts, the "lib32-systemd" should not be installed at all.
Package "lib32-artix-archlinux-support" provides the "lib32-systemd" thus dependencies will be kept after you install it.
Following my previous post should get you past this.
The problem is that you should reinstall all packages which are now mentioned that they depend on "lib32-systemd".
If you do not do that you will experience weird errors. All apart from "lib32-libnm" can be founf in lib32 repository.
Clear the cache or manually state you want a version from lib32 repository after you exchange the "lib32-systemd" by "lib32-artix-archlinux-support".
Unless you do that you will receive errors by pacman when updating elogind and dbus
will try...how do i clear cache properly?
typing your first command (sudo pacman -Rd lib32-systemd) in terminal yeilded:
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-bluez-plugins
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-dbus
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libgudev
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libnm
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libpulse
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libudev0-shim
:: removing lib32-systemd breaks dependency 'lib32-systemd' required by lib32-libusb
:: removing lib32-systemd breaks dependency 'libsystemd.so' required by lib32-pipewire
To selectively remove some packages from cache got to "/var/cache/pacman/pkg/" and delete them manualy.
To remove everything you can run:
pacman -Scc
than more force, add another d
sudo pacman -Rdd lib32-systemd
this seems relevant https://wiki.archlinux.org/title/Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error
I would than installed and reinstalled the rest eg:
pacman -S lib32/lib32-artix-archlinux-support lib32/lib32-dbus lib32/lib32-libgudev lib32/lib32-libpulse lib32/lib32-libudev0-shim lib32/lib32-libusb lib32/lib32-pipewire lib32/lib32-vulkan-intel lib32/lib32-elogind lib32/lib32-faudio lib32/lib32-udev
It is and it is not relevant.
It can be used for pacman to do some stuff but it is not a solution for your problem.
You need to purge systemd and replace the polluted packages by pacages provided by Artix repositories.
If you do not do that you will have problems with playing games with steam-native and these problems will magically go away after multiple updates.
the bluez plugin was the one that installed systemd
lib32-bluez-plugins
I updated and the update went through without issue.
followed your instructions and rebooting *crosses fingers*
...now need to see if not reinstalling bluez breaks my bluetooth.
I am not playing a blame game.
Systemd needs to be purged and probably all libs which can be installed from lib32 repository and you have them as well needs to be reinstalled from Artix repository.
To satisfy the dependencies on systemd install the lib32 arch support package.
You might need to bypass some security checks for pacman or remove a lot of packages.
To see that list run something like
pacman -Rc lib32-systemd
Running that command yielded: error: target not found: lib32-systemd
...not really trying to blame as much as help others track similar issues and suspect packages.
I appreciate your help immensely. <3
Steam native is throwing a lib32 error when i try to run it. If I simply reinstall Steam will I just undo everything or will it grab the dependcy from the correct repo now?
Depends on what error it is, I suspect it is an error from some 32 bit library which was linked to systemd before.
You may try to a bit reckless uninstall:
CHECK WHAT THIS DOES, IT MAY REMOVE A LOT OF STUFF YOU WANT TO KEEP!
pacman -Rsc steam-native-runtime
Than I would purge the pacman cache and install it again.
This is what I would do, it is a bit reckless but I am brave.
Steam error:
You are missing the following 32-bit libraries, and Steam may not run:
libsystemd.so.0
fatal error. failed to load steamui.so
When I tried to reinstall steam:
warning: steam-1.0.0.75-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) steam-1.0.0.75-1
Total Installed Size: 3.62 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [-------------------------------------------------] 100%
(1/1) checking package integrity [-------------------------------------------------] 100%
error: steam: signature from "Artix Buildbot <
[email protected]>" is invalid
:: File /var/cache/pacman/pkg/steam-1.0.0.75-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
I reinstalled steam-native-runtime, then Steam itself and they installed fine....but when I launch the game via icon I get same error. Maybe I need to reboot.
Running from terminal yielded same issue.
...going to try your suggestion
...got corrupt signature errors
I forgot to clear cache. Redid and got this:
(85/85) checking for file conflicts [-------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
lib32-systemd: /usr/lib32/libudev.so exists in filesystem (owned by lib32-udev)
lib32-systemd: /usr/lib32/libudev.so.1 exists in filesystem (owned by lib32-udev)
lib32-systemd: /usr/lib32/libudev.so.1.7.4 exists in filesystem (owned by lib32-udev)
lib32-systemd: /usr/lib32/pkgconfig/libsystemd.pc exists in filesystem (owned by lib32-elogind)
lib32-systemd: /usr/lib32/pkgconfig/libudev.pc exists in filesystem (owned by lib32-udev)
Errors occurred, no packages were upgraded.
OK, try to update the keys.
pacman -S artix-keyring
and after that update the Arch ones
pacman -S archlinux-keyring
If this is of no help you need to clean the cache.
bad result.
First make sure that the lib32/lib32-artix-archlinux-support is installed. That should eliminate systemd.
another thing is.
What is your pacman.conf actualy?
should I trust that Artix repositories have the priority?
wait...I ran steam and it worked..bluetooth also works and updates are fine. HAHA!!
:DDDDD
mark solved.
(i will still post output if it helps others)
...my icons needed to be deleted and Steam Native no longer exists. Steam Runtime works fine though. (even with pc games)
Is systemd out ?
What is the output of:
pacman -Qi lib32-systemd
I thought you want the steam-native to work. for that I would reinstall all lib32 packages just to be sure. but I did not see that many differences between native and runtime.
:D
:: Synchronizing package databases...
system is up to date
world 2018.2 KiB 537 KiB/s 00:04 [-------------------------------------------------] 100%
galaxy 2.5 MiB 1845 KiB/s 00:01 [-------------------------------------------------] 100%
lib32 is up to date
extra is up to date
community is up to date
multilib is up to date
universe is up to date
omniverse is up to date
chaotic-aur 2.3 MiB 565 KiB/s 00:04 [-------------------------------------------------] 100%
:: Starting full system upgrade...
there is nothing to do
:D
to answer you other question: sudo pacman -Qi lib32-systemd
error: package 'lib32-systemd' was not found
I just wanted Steam to run my games...if it do, I'm a happy camper. ...and it do. :D
I just fired up Skullgirls and Fallout: New Vegas to be sure.
ITS ALIVE! :D
Your system is still wrong, you need to install lib32-artix-archlinux-support otherwise systemd will be back one way or the other.
In the end it is up to you.
I did, as you suggested. :)
the output now reads:
sudo pacman -Qi lib32-systemd
Name : lib32-artix-archlinux-support
Version : 1-1
Description : Add arch linux multilib repo support
Architecture : any
URL : https://gitea.artixlinux.org/artix
Licenses : GPL
Groups : None
Provides : lib32-systemd
Depends On : artix-archlinux-support lib32-elogind
Optional Deps : None
Required By : lib32-bluez-plugins lib32-libnm lib32-libudev0-shim lib32-libusb
Optional For : artix-archlinux-support
Conflicts With : lib32-systemd
Replaces : None
Installed Size : 0.00 B
Packager : Artix Build Bot <
[email protected]>
Build Date : Sun 04 Jul 2021 06:55:59 AM PDT
Install Date : Sun 02 Oct 2022 01:28:34 PM PDT
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
...not sure what this is, if anything, but the latest update yielded:
update
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
lib32 is up to date
extra is up to date
community is up to date
multilib is up to date
universe is up to date
omniverse is up to date
chaotic-aur 2.3 MiB 1117 KiB/s 00:02 [-------------------------------------------------] 100%
:: Starting full system upgrade...
:: Replace lib32-atk with lib32/lib32-at-spi2-core? [Y/n] n
there is nothing to do
...........................................................
: Replace lib32-atk with lib32/lib32-at-spi2-core? [Y/n] n i dunno what this is
well, that is normal package renaming, I would press Yes update it.
choosing No reads:
"nothing to do"...
Yes reads:
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
lib32 is up to date
extra is up to date
community 7.0 MiB 606 KiB/s 00:12 [-------------------------------------------------] 100%
multilib is up to date
universe is up to date
omniverse is up to date
chaotic-aur 2.3 MiB 1806 KiB/s 00:01 [-------------------------------------------------] 100%
:: Starting full system upgrade...
:: Replace lib32-atk with lib32/lib32-at-spi2-core? [Y/n]
resolving dependencies...
looking for conflicting packages...
Packages (2) lib32-at-spi2-core-2.46.0-2 lib32-atk-2.38.0-1 [removal]
Total Installed Size: 0.64 MiB
Net Upgrade Size: 0.49 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [-------------------------------------------------] 100%
(1/1) checking package integrity [-------------------------------------------------] 100%
error: lib32-at-spi2-core: signature from "Artix Buildbot <
[email protected]>" is invalid
:: File /var/cache/pacman/pkg/lib32-at-spi2-core-2.46.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
delete it from cache and try again. or leave it be if it works....
SUCCESS!!! :D
Thank you a lot. Have a great day! You have improved mine. :)