Artix Linux Forum

Artix Linux => Package management => Topic started by: dreieck on 15 February 2023, 01:16:47

Title: [solved] system/libcap breaks lib32/lib32-libcap dependency (wrong versions).
Post by: dreieck on 15 February 2023, 01:16:47
lib32/lib32-libcap depends on libcap=2.66, but system/libcap is at version 2.67.

A recent pacman -Syu thus fails with
Code: [Select]
installing libcap (2.67-1) breaks dependency 'libcap=2.66' required by lib32-libcap
.

Regards!
Title: Re: system/libcap breaks lib32/lib32-libcap dependency (wrong versions).
Post by: Coin on 15 February 2023, 01:35:46
Same here. A simple workaround is doing this:
Code: [Select]
pacman -Syu --ignore libcap
but I would like to know how to actually update this package.
Title: Re: system/libcap breaks lib32/lib32-libcap dependency (wrong versions).
Post by: suren on 15 February 2023, 02:51:27
right solution
wait for new version of ```lib32-libcap```

wrong solution
get it from ```lib32-germlins``` or ```multilib``` repo
* don't do this, just wait
Title: Right solution would be to keep Artix repos consistent.
Post by: dreieck on 15 February 2023, 10:36:13
right solution
wait for new version of ```lib32-libcap```

No. That's a workaround, too, because it might break other packages that depend on the newer, already available, libpcap.

Right solution would be to make the Artix repos update packages only if all packages within the same dependency graph are updated at the same time. 
i.e. to keep the Artix repos consistent.

Regards!
Title: Re: system/libcap breaks lib32/lib32-libcap dependency (wrong versions).
Post by: nous on 15 February 2023, 13:57:25
2.67 is rolled out, wait for your mirror to sync. FWIW, it's the exact same package from [lib32-gremlins], so if you're in a hurry you can temporarily enable that repo and install it with pacman -Sy lib32-gremlins/lib32-libcap.