gch1p/voidnsrun

xbps command not detected

groundstack opened this issue · 0 comments

Hi! Thanks for the work!

I'm experiencing this:
[jose@enzo ~]$ sudo voidnsrun -V -r /glibc xbps-install -Su
debug: dir=/glibc
debug: cwd=/home/jose
debug: sock_dir=/run/voidnsrun
[*] Updating repository https://mirrors.dotsrc.org/voidlinux/current/musl/x86_64-repodata' ... ERROR: [reposync] failed to fetch file https://mirrors.dotsrc.org/voidlinux/current/musl/x86_64-repodata': Not Found

My host is musl and I have the /glibc directory for glibc.
It seems like voidnsrun does not detect the xbps-install command leaving the /etc from the host (musl)

I've worked around this in the following way:
sudo voidnsrun xbps-install -r /glibc -Su

Sending the parameter directly to xbps-install works but I'm not sure if it may create some other issues