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: 11,471

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).

Online

#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: 32

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: 2,093

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: 258
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: 32

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

#8 2022-04-11 18:17:33

NarayanS
Member
Registered: 2022-04-11
Posts: 2

Re: installing libcap breaks dependency required by lib32-libcap

I'm also seeing this dependency problem, but I'm not secure of removing lib32-systemd due to other packages dependencies.
Multilib is enable.

:: Sincronizando a base de dados de pacotes...
core-x86-64-v3 está atualizado
extra-x86-64-v3      1488,7 KiB   739 KiB/s 00:02 [######################] 100%
community-x86-64-v3     2,9 MiB  1294 KiB/s 00:02 [######################] 100%
core está atualizado
extra está atualizado
community               6,5 MiB  20,1 MiB/s 00:00 [######################] 100%
multilib-testing está atualizado
multilib está atualizado
alg_repo está atualizado
chaotic-aur          1697,6 KiB  1133 KiB/s 00:01 [######################] 100%
:: Iniciando atualização completa do sistema...
atenção: nvme-cli: local (1.16-2) é mais novo que community-x86-64-v3 (1.16-1.1)
resolvendo dependências...
atenção: não é possível resolver "libcap=2.64", uma dependência de "lib32-libcap"
:: O seguinte pacote não pode ser atualizado devido a dependências não resolvidas:
      lib32-libcap

Offline

#9 2022-04-11 18:41:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: installing libcap breaks dependency required by lib32-libcap

Read post #2.
If you are using any of the testing repositories you have to enable all of them.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#10 2022-04-11 18:57:02

NarayanS
Member
Registered: 2022-04-11
Posts: 2

Re: installing libcap breaks dependency required by lib32-libcap

Slithery wrote:

Read post #2.
If you are using any of the testing repositories you have to enable all of them.

That's solve the problem for me. Pacman.conf look like that after enable all the testing repositories:

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

[core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

[extra-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

[community-x86-64-v3]
Include = /etc/pacman.d/alhp-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

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

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

Offline

Board footer

Powered by FluxBB