You are not logged in.

#1 2021-09-28 14:30:37

LeonScoretzka
Member
Registered: 2021-09-28
Posts: 2

installing libcap breaks dependency required by lib32-libcap

I am trying to update my system using pacman -Syu, but it gives me this output:

:: Synchronizing package databases...
 testing                                                                                            23.5 KiB  47.1 KiB/s 00:01 [############################################################################] 100%
 core                                                                                              137.2 KiB   615 KiB/s 00:00 [############################################################################] 100%
 extra                                                                                            1567.6 KiB  3.12 MiB/s 00:00 [############################################################################] 100%
 community                                                                                           5.8 MiB  3.97 MiB/s 00:01 [############################################################################] 100%
 multilib                                                                                          151.8 KiB  1518 KiB/s 00:00 [############################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libcap (2.59-1) breaks dependency 'libcap=2.58' required by lib32-libcap

How do I fix this?

Offline

#2 2021-09-28 14:39:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,751

Re: installing libcap breaks dependency required by lib32-libcap

The testing repos are all or nothing. You can't use testing without community-testing and multilib-testing (since you're using multilib).

Offline

#3 2021-09-28 14:44:17

LeonScoretzka
Member
Registered: 2021-09-28
Posts: 2

Re: installing libcap breaks dependency required by lib32-libcap

That fixed it. I have to use the testing repos for OpenJDK 17.

Offline

#4 2021-11-05 13:12:32

Polarity
Member
Registered: 2019-05-03
Posts: 31

Re: installing libcap breaks dependency required by lib32-libcap

I'm seeing the same error, however I'm not using any of the testing repos.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

Any ideas how this can happen? / What to do about it?

Offline

#5 2021-11-05 13:50:39

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,873

Re: installing libcap breaks dependency required by lib32-libcap

Polarity wrote:

Any ideas how this can happen? / What to do about it?

You have the multilib repo disbled, yet you are using packages from it. That is not supported.

Offline

#6 2021-11-05 13:55:45

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 232
Website

Re: installing libcap breaks dependency required by lib32-libcap

Post the actual command and output you are seeing.

If you are indeed seeing the exact same error then you need to enable multilib.

Offline

#7 2021-11-05 14:56:10

Polarity
Member
Registered: 2019-05-03
Posts: 31

Re: installing libcap breaks dependency required by lib32-libcap

Thanks for the replies!

Yes, it was the exact same error. I went ahead and checked for packages that depend on lib32-libcap. I only found lib32-systemd. And no package depended on that. So I just removed both of them.

Offline

Board footer

Powered by FluxBB