[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guix pull: error: Git error: failed to connect to

From: Lory EVANO
Subject: guix pull: error: Git error: failed to connect to Address family not supported by protocol
Date: Wed, 9 Sep 2020 15:44:32 +0000

Dear all,

I am currently trying to install Guix on a VM which is behind my company proxy. 
And I'd like to make Guix available for the users of the VM. I used the 
installation script provided in the manual.
However when I do a "guix pull", guix failed to pull the guix.git file with the 
following error message :
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
user with UID 120300 not found
Updating channel 'guix' from Git repository at 
guix pull: error: Git error: failed to connect to Address 
family not supported by protocol

I tried to solve this issue by cloning the guix's git repo locally in my VM and 
by modifyig the guix-deamon.service file. I created the file defineproxy.conf 
in /etc/systemd/system/guix-daemon.service.d, in which I set the proxy 
environment variables and I set the path to git repo. This file looks as follow:
--build-users-group=guixbuild --chroot-directory=/tmp/guix_git_repo/guix

After these modifications, I was able to do a guix pull by forcing it to pull 
from my local repo : guix pull --url=file:///tmp/guix_git_repo/guix
But it works only partially as I had the following error message :

substitute: updating substitutes from ''...  60.1%guix 
substitute: error: TLS error in procedure 'read_from_session_record_port': The 
TLS connection was non-properly terminated.guix pull: error: 
substitute' died unexpectedly

However, this attempt of workaround would be OK for a single user but I don't 
think it will be the solution if my colleagues use Guix as well. I spent lot of 
time on google trying to solve that but I have to admit that now I am a bit 
puzzled. So any help will be much appreciated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]