Re: Failed to connect to `/var/guix/daemon-socket/socket': Connection refused
2018-03-16 7:27 GMT+01:00: > Hello, Eric, > > The Guix daemon was active and enabled when I checked systemctl, and a > daemon reload didn't work, either. > A reboot seemed to do the trick, at least I was able to successfully run > 'guix build guix' after that. > > But now when I try to run 'guix pull' to update my packages, I get: > > Updating from Git repository at 'https://git.savannah.gnu.org/ > git/guix.git'... > guix pull: error: mkdir: Permission denied > > guix pull works as the root user (or at least it runs, I'm still waiting > to see if it exits with no errors), but not as 'sudo' from my non-root > account (that one just spits out a somewhat lengthy error that I cannot > remember by heart) > > -Muto > > this is more difficult, for me at least I know it´ s past midnight where you live Go to sleep now, tomorrow you'll find some answers !
Re: Failed to connect to `/var/guix/daemon-socket/socket': Connection refused
2018-03-15 21:47 GMT+01:00 Muto <sh...@muto.ca>: > Hello, > > I am running the Guix package manager on Ubuntu (17.10), but whenever I > try to do anything as a non-root user, I get an error: > > failed to connect to `/var/guix/daemon-socket/socket': Connection > refused > > I've tried this for every command listed in 'guix -h' > I can 'chmod -R 777 /var' or 'chmod -R 777 /gnu' but these seem to do > nothing. > > > I get the same "Connection refused" error both on using 'sudo' and with > using Guix as the root account. I can still run all of the programs I > installed via Guix, I just cannot use the package management utility > anymore. > > I'm sorry to be a bother, but I've been a little frustrated with Guix > lately and I could not find a viable solution online. > that's why the help liist exists, no bother :-) Sounds like your daemon is not running Wold you mind to paste the otput of ps -e | grep guix In case it's not running, thhere's an excerpt in the manual about how to make it run It's the step no. 5 in the "Binaty Installation" chapter It's strange that your daemon is not running Maybe you used the experimental script in order to install your guix ? Anyway, paste te output of that line, then we'll see how to procede Hope this hepls ! Ciao :-) > -- > Thank you in advance. -Muto > https://muto.ca/ > >
Re: Failed to connect to `/var/guix/daemon-socket/socket': Connection refused
Hello, Eric, The Guix daemon was active and enabled when I checked systemctl, and a daemon reload didn't work, either. A reboot seemed to do the trick, at least I was able to successfully run 'guix build guix' after that. But now when I try to run 'guix pull' to update my packages, I get: Updating from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: mkdir: Permission denied guix pull works as the root user (or at least it runs, I'm still waiting to see if it exits with no errors), but not as 'sudo' from my non-root account (that one just spits out a somewhat lengthy error that I cannot remember by heart) -Muto
Re: Failed to connect to `/var/guix/daemon-socket/socket': Connection refused
On Thu, 15 Mar 2018 14:47:24 -0600 Muto <sh...@muto.ca> wrote: > I am running the Guix package manager on Ubuntu (17.10), but whenever I > try to do anything as a non-root user, I get an error: > > failed to connect to `/var/guix/daemon-socket/socket': Connection > refused Have you started the guix-daemon? `~Eric pgpvPaRv0Yq_l.pgp Description: OpenPGP digital signature