Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Can't install some AUR packages I did before (Read 316 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Can't install some AUR packages I did before

As an example here is part of an output from a pamac AUR installation without snapd:

"WARNING: Found CMake '/usr/bin/cmake' but couldn't run it
Found CMake: NO
Run-time dependency flatpak found: NO

libpamac-11.5.4/src/meson.build:48:11: ERROR: Dependency lookup for flatpak with method 'pkgconfig' failed: Could not generate cargs for flatpak:
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libsystemd', required by 'flatpak', not found"

Before I was pretty sure the Found CMake said yes and it still wasn't working even then. I've tried using the base install iso and the KDE iso at different points. I'm also useing OpenRC. In all cases, I have added the universe and arch repos and installed Artix-archlinux-support, ran the populate Arch repos command, and ran pacman -Sy. I forget the other package aside from pamac that wasn't working now so I guess I don't know for sure if it's something with these packages or if I'm somehow messing up now. If this can't be fixed, is it possible to add flatpak support to the universe pacman repos and if so how do I do it?

Re: Can't install some AUR packages I did before

Reply #1
Update: I didn't realize this issue was already brought up so soon ago. Looking at another thread I found a solution and figured out the details that weren't initially clear to me from it from there. I had to download the tar.gz source code release from the systemd github, extract it, go to the src folder inside then inside of the src folder go to the libsystemd folder then rename libsystemd.pc.in to libsystemd.pc then open my file manager as root and bring the renamed libsystem.pc to /usr/lib/pkgconfig. Not the best solution apparently since my system may or may not now be slightly tainted by systemd but I couldn't get any other method to work. If there is a better solution in this specific case I'd like to know but otherwise I'm putting this here for anyone who finds this thread.