Artix Linux Forum

Artix Linux => Package management => Topic started by: Arch_user on 07 July 2023, 07:40:41

Title: [SOLVED] lib32-libgudev wants to install lib32-systemd
Post by: Arch_user on 07 July 2023, 07:40:41
Code: [Select]
pacman -Si lib32-libgudev    
Repository      : lib32
Name            : lib32-libgudev
Version         : 238-1
Description     : GObject bindings for libudev
Architecture    : x86_64
URL             : https://wiki.gnome.org/Projects/libgudev
Licenses        : LGPL2.1
Groups          : None
Provides        : libgudev-1.0.so=0-32
Depends On      : lib32-glib2  lib32-elogind  libgudev  libglib-2.0.so=0-32  libgobject-2.0.so=0-32  libudev.so=1-32
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 14.13 KiB
Installed Size  : 45.59 KiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Fri 07 Jul 2023 02:42:16 AM PKT
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : multilib
Name            : lib32-libgudev
Version         : 238-1
Description     : GObject bindings for libudev
Architecture    : x86_64
URL             : https://wiki.gnome.org/Projects/libgudev
Licenses        : LGPL2.1
Groups          : None
Provides        : libgudev-1.0.so=0-32
Depends On      : lib32-glib2  lib32-systemd  libgudev  libglib-2.0.so=0-32  libgobject-2.0.so=0-32  libudev.so=1-32
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 14.15 KiB
Installed Size  : 45.65 KiB
Packager        : Jan Alexander Steffens (heftig) <[email protected]>
Build Date      : Fri 07 Jul 2023 12:01:32 AM PKT
Validated By    : MD5 Sum  SHA-256 Sum  Signature

pacman is somehow force fully want to install this dependence which does not exist in artix package

Code: [Select]
pacman -Qi lib32-libgudev
Name            : lib32-libgudev
Version         : 237-2
Description     : GObject bindings for libudev
Architecture    : x86_64
URL             : https://wiki.gnome.org/Projects/libgudev
Licenses        : LGPL2.1
Groups          : None
Provides        : libgudev-1.0.so=0-32
Depends On      : lib32-glib2  lib32-elogind  libgudev
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 45.56 KiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Mon 07 Mar 2022 03:49:51 AM PKT
Install Date    : Tue 26 Jul 2022 12:30:28 PM PKT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Title: Re: lib32-libgudev wants to install lib32-systemd
Post by: suren on 07 July 2023, 09:25:31
if you don't have arch repo enabled
Code: [Select]
warning: cannot resolve "libudev.so=1-32", a dependency of "lib32-libgudev"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libgudev

Let's wait for couple hours, see if it's not mirror sync problem.
Title: Re: lib32-libgudev wants to install lib32-systemd
Post by: suren on 08 July 2023, 13:46:01
still a problem during upgrade of
Code: [Select]
lib32/lib32-libgudev 238-1 (14.1 KiB 45.6 KiB) (Installed: 237-2)

could a packager look into this.

I think either the the new dependency should be removed or corrected

or "libudev" package should comply with new dependency
Title: Re: lib32-libgudev wants to install lib32-systemd
Post by: Piere on 09 July 2023, 03:39:22
I've got the same issue. Updating gives me

lib32-systemd and lib32-artix-archlinux-support are in conflict
Title: Re: lib32-libgudev wants to install lib32-systemd
Post by: ####### on 09 July 2023, 06:05:58
Code: [Select]
$ pacman -Si lib32-libgudev
Repository      : lib32
Name            : lib32-libgudev
Version         : 238-1
Description     : GObject bindings for libudev
Architecture    : x86_64
URL             : https://wiki.gnome.org/Projects/libgudev
Licenses        : LGPL2.1
Groups          : None
Provides        : libgudev-1.0.so=0-32
Depends On      : lib32-glib2  lib32-elogind  libgudev  libglib-2.0.so=0-32  libgobject-2.0.so=0-32  libudev.so=1-32
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 14.13 KiB
Installed Size  : 45.59 KiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : Thu 06 Jul 2023 10:42:16 PM BST
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Repository      : multilib
Name            : lib32-libgudev
Version         : 238-1
Description     : GObject bindings for libudev
Architecture    : x86_64
URL             : https://wiki.gnome.org/Projects/libgudev
Licenses        : LGPL2.1
Groups          : None
Provides        : libgudev-1.0.so=0-32
Depends On      : lib32-glib2  lib32-systemd  libgudev  libglib-2.0.so=0-32  libgobject-2.0.so=0-32  libudev.so=1-32
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 14.15 KiB
Installed Size  : 45.65 KiB
Packager        : Jan Alexander Steffens (heftig) <[email protected]>
Build Date      : Thu 06 Jul 2023 08:01:32 PM BST
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Use -Si & -Qi to look at the problem packages. In some rare cases on updates you might get an Arch package if a versioned dep for another package is not met by the Artix repo you have at the top of your mirrorlist  because of a sync delay at the time you ran an earlier update, which is probably the cause of the different deps as can be seen in the output above. The solution is to install the Artix version of the package, one way is to delete the relevant package in /var/cache/pacman/pkg to force it to be re-downloaded and run pacman -S pkgname as usual.
Title: Re: lib32-libgudev wants to install lib32-systemd
Post by: atahanacar on 09 July 2023, 11:31:45
one way is to delete the relevant package in /var/cache/pacman/pkg to force it to be re-downloaded and run pacman -S pkgname as usual.

Changing the mirror solves this issue.
Title: Re: lib32-libgudev wants to install lib32-systemd
Post by: suren on 09 July 2023, 11:43:45
Now the system updates with no problem.