Generally it’s not advised to use the testing repositories at all. That has been the reason for the unresolved dependency in the first place. Answer from 1093i3511 on forum.endeavouros.com
🌐
GitHub
github.com › netdata › netdata › issues › 10665
Libs libelf-dev, liblz4-dev, libuv1-dev and uuid-dev could not be installed · Issue #10665 · netdata/netdata
February 20, 2021 - The following information may help to resolve the situation: The following packages have unmet dependencies: libelf-dev : Depends: libelf1 (= 0.170-0.4ubuntu0.1) but 0.176-1.1build1 is to be installed E: Unable to correct problems, you have held broken packages.
Author   netdata
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED]Cannot install lib32-libelf back / Newbie Corner / Arch Linux Forums
sudo pacman -S lib32-libelf resolving dependencies... warning: cannot resolve "libelf=0.184", a dependency of "lib32-libelf" :: The following package cannot be upgraded due to unresolvable dependencies: lib32-libelf :: Do you want to skip the above package for this upgrade?
Discussions

Can't resolve dependency for libelf, prevents system upgrade
I have recently encountered an error where I can’t seem to resolve a dependency for libelf. The exact output from my terminal after running pacman -Syu is: warning: cannot resolve “libelf=0.187”, a dependency of “lib32-libelf” :: The following package cannot be upgraded due to ... More on forum.endeavouros.com
🌐 forum.endeavouros.com
0
0
April 27, 2022
Error while updating in update manager - [failed to satisfy dependency removing: lib32-libelf breaks the "lib32-libelf" dependency needed by lib32-mesa]
System: Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64 root=UUID=4cb53fbb-cffd-4cc1-862a-6e4858f4a1a1 rw quiet splash apparmor=1 secu… More on forum.manjaro.org
🌐 forum.manjaro.org
0
0
April 3, 2023
Cannot install lib32-libelf
I was having some conflicts updating due to lib32-libelf so I updated mirrors and tried again but no luck. I then tried reinstalling libelf, disabled multilib repository (enabled it again after testing), and finally removed lib32-libelf to try and reinstall. Now I see this when trying to reinstall: ... More on forum.endeavouros.com
🌐 forum.endeavouros.com
7
0
October 21, 2024
Installing libelf (0.185-1) breaks dependency 'libelf=0.184' - Newbies - Garuda Linux Forum
I am having similar issues but with a different package: looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing libelf (0.185-1) breaks dependency 'libelf=0.184' required by lib32-libelf ▶ inxi More on forum.garudalinux.org
🌐 forum.garudalinux.org
1
June 5, 2021
🌐
Reddit
reddit.com › r/archlinux › valgrind - installing libelf breaks dependency required by elfutils
r/archlinux on Reddit: Valgrind - installing libelf breaks dependency required by elfutils
June 16, 2022 -

Trying to install valgrind

sudo pacman -S valgrind

Also tried on yay.

yay -S valgrind

Getting following output:

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libelf (0.187-1) breaks dependency 'libelf=0.186-5' required by elfutils
:: installing libelf (0.187-1) breaks dependency 'libelf=0.186' required by lib32-libelf

Only found two forum posts online about this. One suggested that I needed to "check use mirror status", which I googled and am not sure what that means or how to do it. The other suggested that I needed to enable multilib repos.

As far as I can tell with my pacman.conf, I have already enabled multilib repos.

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

kernel: 5.16.13-arch1-1
laptop: Asus M16 GU603

🌐
EndeavourOS
forum.endeavouros.com › general system › pacman & aur helpers
Can't resolve dependency for libelf, prevents system upgrade - Pacman & AUR helpers - EndeavourOS
April 27, 2022 - I have recently encountered an error where I can’t seem to resolve a dependency for libelf. The exact output from my terminal after running pacman -Syu is: warning: cannot resolve “libelf=0.187”, a dependency of “lib32-libelf” :: The following package cannot be upgraded due to ...
🌐
Manjaro Linux
forum.manjaro.org › support
Error while updating in update manager - [failed to satisfy dependency removing: lib32-libelf breaks the "lib32-libelf" dependency needed by lib32-mesa] - Support - Manjaro Linux Forum
April 3, 2023 - System: Kernel: 6.1.12-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64 root=UUID=4cb53fbb-cffd-4cc1-862a-6e4858f4a1a1 rw quiet splash apparmor=1 secu…
🌐
EndeavourOS
forum.endeavouros.com › general system › pacman & aur helpers
Cannot install lib32-libelf - Pacman & AUR helpers - EndeavourOS
October 21, 2024 - I was having some conflicts updating due to lib32-libelf so I updated mirrors and tried again but no luck. I then tried reinstalling libelf, disabled multilib repository (enabled it again after testing), and finally removed lib32-libelf to try and reinstall. Now I see this when trying to reinstall: sudo pacman -S lib32-libelf resolving dependencies... warning: cannot resolve "libelf=0.192", a dependency of "lib32-libelf" :: The following package cannot be upgraded due to unresolvable dependenci...
🌐
Garuda Linux
forum.garudalinux.org › issues & assistance › newbies
Installing libelf (0.185-1) breaks dependency 'libelf=0.184' - Newbies - Garuda Linux Forum
June 5, 2021 - I am having similar issues but with a different package: looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing libelf (0.185-1) breaks dependency 'libelf=0.184' required by lib32-libelf ▶ inxi
🌐
Red Hat
bugzilla.redhat.com › show_bug.cgi
385071 – Unresolved dependency for elfutils-libelf-devel-0.131-1.i386 on x86_64
March 17, 2014 - Red Hat Bugzilla – Bug 385071 · This site requires JavaScript to be enabled to function correctly, please enable it · Privacy Contact FAQ Legal
Find elsewhere
🌐
Reddit
reddit.com › r/artixlinux › unable to satisfy dependency 'libelf=0.186' required by lib32-libelf
r/artixlinux on Reddit: unable to satisfy dependency 'libelf=0.186' required by lib32-libelf
November 20, 2021 -

Setup: Artix OpenRC XFCE with Arch repos enabled

Running pacman -Syu results in this error:

Edit: Waiting a day for libelf to be updated to 0.186 fixed the problem.

warning: cannot resolve "libelf=0.186", a dependency of "lib32-libelf"

:: The following package cannot be upgraded due to unresolvable dependencies:

lib32-libelf

:: Do you want to skip the above package for this upgrade? [y/N]

error: failed to prepare transaction (could not satisfy dependencies)

:: unable to satisfy dependency 'libelf=0.186' required by lib32-libelf

🌐
Manjaro Linux
forum.manjaro.org › support › software & applications
Dependencies cannot be satisfied: - dependency "elfutils" cannot meet libelf=0.185-1 requirement - Software & Applications - Manjaro Linux Forum
June 29, 2021 - Dependencies cannot be satisfied: dependency “elfutils” cannot meet libelf=0.185-1 requirement ================================================================================ ██████████████████ ████████ ██████████…
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
Valgrind - installing libelf breaks dependency required by elfutils / Applications & Desktop Environments / Arch Linux Forums
June 15, 2022 - resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing libelf (0.187-1) breaks dependency 'libelf=0.186-5' required by elfutils :: installing libelf (0.187-1) breaks dependency 'libelf=0.186' required by lib32-libelf
🌐
GitHub
github.com › spack › spack › issues › 39827
Installation issue: libelf · Issue #39827 · spack/spack
September 5, 2023 - ==> Installing libelf-0.8.13-6tysckniszts6eyfnzxn5mobotkoc5it [6/6] ==> No binary for libelf-0.8.13-6tysckniszts6eyfnzxn5mobotkoc5it found: installing from source ==> Using cached archive: /Users/benwibking/spack/var/spack/cache/_source-cache/archive/59/591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d.tar.gz ==> No patches needed for libelf ==> libelf: Executing phase: 'autoreconf' ==> Error: ProcessError: Command exited with status 1: '/opt/homebrew/bin/autoreconf' '-ivf' 2 errors found in build log: 10 autoreconf: Entering directory '.' 11 autoreconf: configure.in: not using
Author   spack
🌐
Stack Overflow
stackoverflow.com › questions › 29889286 › oracle-installation-missing-dependency-elfutils-libelf-devel-and-elfutils-libe
Oracle installation: Missing Dependency: elfutils-libelf-devel and elfutils-libelf-devel-static - Stack Overflow
Missing Dependency: elfutils-libelf-devel-static-i386 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.i386 (/elfutils-libelf-devel-0.137-3.el5.i386)
🌐
EndeavourOS
forum.endeavouros.com › general system › newbie
Trouble updating libelf and nvidia-utils - Newbie - EndeavourOS
November 12, 2023 - I’m trying to update my system but get the following: error: failed to prepare transaction (could not satisfy dependencies) :: installing libelf (0.190-1) breaks dependency ‘libelf=0.189’ required by lib32-libelf :: installing nvidia-utils (545.29.02-2) breaks dependency ‘nvidia-ut...