Trying to update and it fails due to Pamac and libpamac-git has a dependancy conflict

Preparing…
Synchronizing package databases…
Cloning libpamac-git build files…
Generating libpamac-git information…
Checking libpamac-git dependencies…
Warning: pacman: ignoring package upgrade (6.0.2-9 => 6.1.0-3)
Resolving dependencies…
Checking inter-conflicts…

Building libpamac-git…
==> Making package: libpamac-git 11.6.4.r0.g9108cba-1 (Wed 20 Mar 2024 12:06:34 PM)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Updating libpamac git repo…
==> Validating source files with sha256sums…
libpamac … Skipped
==> Removing existing $srcdir/ directory…
==> Extracting sources…
→ Creating working copy of libpamac git repo…
Cloning into ‘libpamac’…
done.
==> Starting pkgver()…
==> Removing existing $pkgdir/ directory…
==> Starting build()…
The Meson build system
Version: 1.4.0
Source dir: /var/tmp/pamac-build-dan/libpamac-git/src/libpamac
Build dir: /var/tmp/pamac-build-dan/libpamac-git/src/libpamac/builddir
Build type: native build
Project name: libpamac
Project version: 11.6.4
C compiler for the host machine: cc (gcc 13.2.1 “cc (GCC) 13.2.1 20230801”)
C linker for the host machine: cc ld.bfd 2.42.0
Vala compiler for the host machine: valac (valac 0.56.16)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency gobject-2.0 found: YES 2.78.4
Run-time dependency gio-2.0 found: YES 2.78.4
Run-time dependency gthread-2.0 found: YES 2.78.4
Dependency libalpm found: NO found 13.0.2 but need: ‘>=14.0’
Did not find CMake ‘cmake’
Found CMake: NO
Run-time dependency libalpm found: NO

…/src/meson.build:4:10: ERROR: Dependency lookup for libalpm with method ‘pkgconfig’ failed: Invalid version, need ‘libalpm’ [‘>=14.0’] found ‘13.0.2’.

Remove libpamac-git and then update with sudo pacman -Syu. Also, make sure you don’t have pacman in your ignorePkg in the /etc/pacman.conf

1 Like

I tried that But It said Libpamac-git has a dependency and failed to remove it

Use sudo pacman -Rc libpamac-git . It will probably remove all of pamac

1 Like

That did it thanks alot!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.