Artix Linux Forum

Artix Linux => Package management => Topic started by: GlitterMonster on 02 October 2022, 19:58:01

Title: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 19:58:01
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.

Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 20:06:03
First check if package lib32-artix-archlinux-support is installed if not install it.

Code: [Select]
pacman -S lib32/lib32-artix-archlinux-support
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 20:18:46
First check if package lib32-artix-archlinux-support is installed if not install it.

Code: [Select]
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 20:36:19
I would be rough and remove the lib32-systemd package without caring for dependencies
Code: [Select]
pacman -Rd lib32-systemd
and than installed the lib32-artix-archlinux-support package
Code: [Select]
pacman -S lib32-artix-archlinux-support
and than did the update.

This might do it, at worst only lib32 is nuked.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 20:38:22
should i maybe remove pipewire and vulkan-intel and try again 1st?    both seem to require systemd....that's weird for pipewire though.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 20:40:16
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 20:46:27
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 20:48:01
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)
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 20:57:59
...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


Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 20:59:52
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:01:19
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:03:40
will try...how do i clear cache properly?
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:05:54
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:06:42
will try...how do i clear cache properly?
To selectively remove some packages from cache got to "/var/cache/pacman/pkg/" and delete them manualy.

To remove everything you can run:
Code: [Select]
pacman -Scc
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:07:17
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


than more force, add another d
Code: [Select]
sudo pacman -Rdd lib32-systemd
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:11:03
this seems relevant   https://wiki.archlinux.org/title/Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:11:38
I would than installed and reinstalled the rest eg:
Code: [Select]
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:14:45
this seems relevant   https://wiki.archlinux.org/title/Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:20:23
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:25:48
the bluez plugin was the one that installed systemd

lib32-bluez-plugins

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
Code: [Select]
pacman -Rc lib32-systemd
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:32:58
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
Code: [Select]
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?
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:36:10
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!
Code: [Select]
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:39:33
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 21:46:59
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.



Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:57:25
OK, try to update the keys.
Code: [Select]
pacman -S artix-keyring
and after that update the Arch ones
Code: [Select]
pacman -S archlinux-keyring

If this is of no help you need to clean the cache.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 21:59:27
(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.

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?
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 22:00:49
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)
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 22:03:39
Is systemd out ?
What is the output of:
Code: [Select]
pacman -Qi lib32-systemd
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 22:09:53
Steam Native no longer exists. Steam Runtime works fine though. (even with pc games)
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 22:12:17
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?


: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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 22:13:23
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 22:15:45
to answer you other question:    sudo pacman -Qi lib32-systemd
error: package 'lib32-systemd' was not found
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 22:27:59
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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 22:48:45
...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
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 22:52:21
well, that is normal package renaming, I would press Yes update it.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 23:12:42
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.
Title: Re: ERROR: lib32-udev owned by systemd
Post by: SGOrava on 02 October 2022, 23:26:12
delete it from cache and try again. or leave it be if it works....
Title: Re: ERROR: lib32-udev owned by systemd
Post by: GlitterMonster on 02 October 2022, 23:30:43
SUCCESS!!!    :D

Thank you a lot. Have a great day!  You have improved mine.   :)