Artix Linux Forum

Artix Linux => Package management => Topic started by: Zogproof on 16 August 2020, 06:49:23

Title: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: Zogproof on 16 August 2020, 06:49:23
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.
 
 
Title: Re: libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: alium on 16 August 2020, 08:14:06
this package is not imported to artix... i will import it and de-systemdize today afternoon. thanks for report.
Title: Re: libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: alium on 16 August 2020, 16:37:37
it's not easy to fix it, i need more time for this, and not sure, if that will works
Title: Re: libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: ndowens on 16 August 2020, 20:56:10
Alium and I have fixed it, so will be available once mirrors sync
Title: Re: libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: alium on 16 August 2020, 20:58:54
probably  8)
Title: Re: libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: Zogproof on 17 August 2020, 09:05:06
 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)



Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: gentermnl on 13 December 2021, 17:43:40
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?
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: strajder on 13 December 2021, 21:14:20
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.
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: shawty on 16 February 2023, 16:58:36
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

Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: gripped on 16 February 2023, 20:07:55
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 ?
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: shawty on 16 February 2023, 21:55:06

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
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: gripped on 16 February 2023, 22:34:27
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.
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: shawty on 16 February 2023, 23:25:57
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
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: shawty on 16 February 2023, 23:35:10
oof spellcheck and i accidentally dupped this
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: gripped on 16 February 2023, 23:42:20
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 ?
Title: Re: [SOLVED] libguestfs- broken dependencies? (Using artix-plasma-runit)
Post by: shawty on 17 February 2023, 00:19:39
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.