You are not logged in.
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
The testing repos are all or nothing. You can't use testing without community-testing and multilib-testing (since you're using multilib).
Offline
That fixed it. I have to use the testing repos for OpenJDK 17.
Offline
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
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
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
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
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
Read post #2.
If you are using any of the testing repositories you have to enable all of them.
Offline
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