Skip to main content
Topic: ERROR: lib32-udev owned by systemd  (Read 1874 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

ERROR: lib32-udev owned by systemd

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.


Re: ERROR: lib32-udev owned by systemd

Reply #1
First check if package lib32-artix-archlinux-support is installed if not install it.

Code: [Select]
pacman -S lib32/lib32-artix-archlinux-support

Re: ERROR: lib32-udev owned by systemd

Reply #2
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

Re: ERROR: lib32-udev owned by systemd

Reply #3
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.

Re: ERROR: lib32-udev owned by systemd

Reply #4
should i maybe remove pipewire and vulkan-intel and try again 1st?    both seem to require systemd....that's weird for pipewire though.

Re: ERROR: lib32-udev owned by systemd

Reply #5
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.

Re: ERROR: lib32-udev owned by systemd

Reply #6
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

Re: ERROR: lib32-udev owned by systemd

Reply #7
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)

Re: ERROR: lib32-udev owned by systemd

Reply #8
...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



Re: ERROR: lib32-udev owned by systemd

Reply #9
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.

Re: ERROR: lib32-udev owned by systemd

Reply #10
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

Re: ERROR: lib32-udev owned by systemd

Reply #11
will try...how do i clear cache properly?

 

Re: ERROR: lib32-udev owned by systemd

Reply #12
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


Re: ERROR: lib32-udev owned by systemd

Reply #14
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