Looks like this package has some dependency issues relating to systemd.
The package is needed for me to use the virt-manager frontend for qemu/kvm
My attempts so far.
1) Attempted install from Binary:
# pacman -S libguestfs --noconfirm --needed
resolving dependencies...
warning: cannot resolve "systemd-sysvcompat", a dependency of "libguestfs"
:: The following package cannot be upgraded due to unresolvable dependencies:
libguestfs
2) Attempted install from AUR (libguestfs-git) using Octopi/Trizen, and ended up with:
--- Checking the appliance and its dependencies ---
checking if we should build the appliance... yes
checking for supermin... /usr/bin/supermin
checking for --with-supermin-packager-config option... not set
checking for --with-supermin-extra-options option... not set
checking supermin is new enough... 5.2
checking which Linux distro for package names... configure: error: /etc/os-release not available, please specify the distro using --with-distro=DISTRO
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build libguestfs-git - makepkg exited with code: 4
=>> Try again? [y/N]: n
=>> Exit now? [Y/n]
(Compiling stopped at this point)
I even tried compiling it (as libguestfs-git) from the AUR github source as follows
$ git clone https://aur.archlinux.org/libguestfs-git.git
$cd liguestfs-git
$makepkg -s
Same result.
The AUR results also appear to be systemd related:
https://manpages.debian.org/jessie/systemd/os-release.5.en.html
(The "os-release" package presumably installs to /etc/os-release /usr/lib/os-release folders...)
-------------------------------------------------------
If I try to reolve the "systemd dependency" issue with packages like systemd-sysvcompat-git, they all seem to conflict with elogind.
So at the very least it looks like the source code needs some editing, but not sure where to look if this is even the right approach. The AUR page at https://aur.archlinux.org/packages/libguestfs-git/ and PKGBUILd file as such make no reference to any systemd-related package as a dependency. For the libguestfs binary https://www.archlinux.org/packages/community/x86_64/libguestfs/ refers specifically to systemd-sysvcompat as per 1) above...
Any suggestions appreciated obviously.
this package is not imported to artix... i will import it and de-systemdize today afternoon. thanks for report.
it's not easy to fix it, i need more time for this, and not sure, if that will works
Alium and I have fixed it, so will be available once mirrors sync
probably 8)
Good one. Just ran pacman -Syyu, and the " galaxy" version installed OK .
There was also a community version which was still looking for systemd-sysvcompat when I tried it.
For some reason installing the galaxy version also installed the community one- might still be a repo sync issue I guess.
Thanks for sorting it out anyway guys. I only saw the libguestfs package as a binary in the mainline Arch repos about two weeks ago , so it's nice to get it fixed this early.
The isssue can be marked as solved...
8)
This problem seems to be back. I don't see a galaxy version of libguestfs, only community, and I don't see any version of systemd-sysvcompat (other than the aur -git version.) Am I missing something?
Please don't necropost. Make sure you have read and understood this:
https://artixlinux.org/news.php#Arch_repositories_made_optional
https://wiki.artixlinux.org/Main/Repositories#Arch_repositories
Artix doesn't have any systemd packages. If you have any, remove them and fix your /etc/pacman.conf.
It seems I'm having the same problem, I've noticed that libguestfs is no longer in the [galaxy] repo but it's available in arch's [community] repo which when enabled prompts this error msg
[community] enabled
warning: cannot resolve "systemd-sysvcompat", a dependency of "libguestfs"
:: The following package cannot be upgraded due to unresolvable dependencies:
libguestfs
OP's problem as stated was that they needed libguestfs to be able to use virt-manager.
I use virt-manager but do not have libguestfs installed.
Can you be more specific about the problem ?
I need libguestfs for me to use the virt-manager frontend for qemu/kvm
Yet I don't. Seems weird. Is your error when trying to run virt-manager or install it.
If the latter please post the output when you try to install it.
yeah i run into this dialog box when I run virt-manager
oof spellcheck and i accidentally dupped this
That says nothing about libguestfs.
You should start a new thread. I don't think your problem is related to libguestfs. What makes you think so?
Could be a permissions problem ?
Are you in kvm & libvirt groups ?
Damn, I was following a guide on YouTube and that was the only package to give trouble so I assumed that might be an issue,
It doesn't seem to be a perms issue because I'm in both groups, I'll make a new thread.