Artix Linux Forum

Artix Linux => System => Topic started by: Mocktard on 12 July 2021, 11:17:54

Title: [SOLVED] Cannot update any package because of lib32-systemd
Post by: Mocktard on 12 July 2021, 11:17:54
Hi,
It's been a couple weeks since I've been unable to update anything using pacman -Syu. I used gremlins in the past for some reasons, went back to the standard libraries, it worked for some time but now it seems to have caused an issue.

I thought waiting out for the main libraries to catch up with gremlins would do but I'm starting to worry the issue is bigger than that.

Here's the result of
Quote
sudo pacman -Syu
(translated automatically from french)

Code: [Select]
error: transaction validation failed (file conflict)
/usr/lib32/pkgconfig/libsystemd.pc is present in both "lib32-elogind" and "lib32-systemd"
lib32-systemd: /usr/lib32/libsystemd.so.0 is already present in the filesystem
lib32-systemd : /usr/lib32/libudev.so is already present in the filesystem (belonging to lib32-eudev)
lib32-systemd: /usr/lib32/libudev.so.1 is already present in the file system (owned by lib32-eudev)
lib32-systemd: /usr/lib32/pkgconfig/libudev.pc is already present in the filesystem (belonging to lib32-eudev)
Errors occurred, no packages were updated
Title: Re: Cannot update any package because of lib32-systemd
Post by: strajder on 12 July 2021, 11:21:31
Don't use systemd.

Other than that, see here:
https://artixlinux.org/news.php#Arch_repositories_made_optional
https://wiki.archlinux.org/title/Pacman
https://wiki.artixlinux.org/Main/Repositories
https://wiki.archlinux.org/title/Mirrors#Ranking_an_existing_mirror_list

Title: Re: Cannot update any package because of lib32-systemd
Post by: Mocktard on 12 July 2021, 11:40:19
Thank you for the answer, I'm not trying to use systemd and don't understand where that comes from...

I'll read the links you gave and see if I find a fix, thanks again.
Title: Re: Cannot update any package because of lib32-systemd
Post by: Mocktard on 12 July 2021, 11:58:44
I had artix-archlinux-support already installed, but I receive no on-screen instruction when synching it with pacman and I can't run it (unknown command).
Is there something I'm doing wrong? How can I remove these Systemd libraries ?
Title: Re: Cannot update any package because of lib32-systemd
Post by: Mocktard on 12 July 2021, 12:18:27
I had artix-archlinux-support already installed, but I receive no on-screen instruction when synching it with pacman and I can't run it (unknown command).
Is there something I'm doing wrong? How can I remove these Systemd libraries ?

I removed Arch repositories from /etc/pacman.conf, now I can update the system using pacman -Syu, though I get the following errors :
Code: [Select]
resolve dependencies...
search for conflicts between packages...
error: transaction preparation failed (dependency satisfaction failed)
:: Installation of lib32-elogind (246.10-2) breaks the "lib32-systemd" dependency required by lib32-colord
:: lib32-elogind installation (246.10-2) breaks the "lib32-systemd" dependency required by lib32-gamemode
:: installing lib32-elogind (246.10-2) breaks the "lib32-systemd" dependency required by lib32-libnm
:: installing lib32-elogind (246.10-2) breaks the "lib32-systemd" dependency required by lib32-libpulse
:: installing lib32-elogind (246.10-2) breaks the "lib32-systemd" dependency required by lib32-libusb
:: installing lib32-elogind (246.10-2) breaks the "lib32-systemd" dependency required by lib32-pipewire

Translated with www.DeepL.com/Translator (free version)

Is there a way to clean these libraries without reinstalling Artix ?
Title: Re: Cannot update any package because of lib32-systemd
Post by: strajder on 12 July 2021, 13:00:58
Also double check:

https://wiki.artixlinux.org/Site/SteamAnd32bit

if you need lib32 for Steam.
Title: Re: Cannot update any package because of lib32-systemd
Post by: artoo on 12 July 2021, 13:37:58
You will have to install a relatively new package called lib32-artix-archlinux-support.
Its a new optional depend of the artix-archlinux-support.
Title: Re: Cannot update any package because of lib32-systemd
Post by: strajder on 12 July 2021, 13:53:28
You will have to install a relatively new package called lib32-artix-archlinux-support.
Its a new optional depend of the artix-archlinux-support.
May I suggest adding this to wiki?
Title: [SOLVED] Re: Cannot update any package because of lib32-systemd
Post by: Mocktard on 12 July 2021, 14:09:16
Thank you, installing lib32-artix-archlinux-support fixed everything it seems.
Marking it as solved, thank you everyone.