Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit) (Read 2020 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

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:

Code: [Select]
# 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:
     
Code: [Select]
--- 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
Code: [Select]
$ 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.
 
 

Re: libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #1
this package is not imported to artix... i will import it and de-systemdize today afternoon. thanks for report.

Re: libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #2
it's not easy to fix it, i need more time for this, and not sure, if that will works

Re: libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #3
Alium and I have fixed it, so will be available once mirrors sync

Re: libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #4
probably  8)

Re: libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #5
 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)




Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #6
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?

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #7
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.

 

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #8
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
Code: [Select]
warning: cannot resolve "systemd-sysvcompat", a dependency of "libguestfs"
:: The following package cannot be upgraded due to unresolvable dependencies:
      libguestfs

thanks for not being shitty

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #9
It seems I'm having the same problem,
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 ?

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #10

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
thanks for not being shitty

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #11
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.

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #12
Is your error when trying to run virt-manager or install it.
If the latter please pest the output when you try to install it.

yeah i run into this dialog box when I run virt-manager

Quote
Unable to connect to libvirt qemu:///system.

Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 923, in _do_open
    self._backend.open(cb, data)
  File "/usr/share/virt-manager/virtinst/connection.py", line 171, in open
    conn = libvirt.openAuth(self._open_uri,
  File "/usr/lib/python3.10/site-packages/libvirt.py", line 147, in openAuth
    raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory
thanks for not being shitty

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #13
oof spellcheck and i accidentally dupped this
thanks for not being shitty

Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)

Reply #14
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 ?