[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30728: guix-install.sh doesn't work if run with "sudo"
From: |
Clément Lassieur |
Subject: |
bug#30728: guix-install.sh doesn't work if run with "sudo" |
Date: |
Fri, 23 Mar 2018 14:20:38 +0100 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
Clément Lassieur <address@hidden> writes:
> Hi,
>
> My system is Ubuntu 16.04.
>
> I ran './guix-install.sh' and got the message: "This script must be run
> as root.". So I ran 'sudo ./guix-install.sh' and got an error message
> saying that:
>
> GUIX_PROFILE="${HOME}/.guix-profile"
> source "${GUIX_PROFILE}/etc/profile"
>
> the 'source' command doesn't work because ${GUIX_PROFILE} was never
> created, ${HOME} being /home/clement, not /root.
>
> To recover from this I had to manually delete /var/guix and /gnu, log as
> root with 'su', and start again.
>
> Clément
I believe the script should install Guix in the user's home directory,
not in ~root.
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/06
- bug#30728: guix-install.sh doesn't work if run with "sudo",
Clément Lassieur <=
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/25
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/26
- bug#30728: guix-install.sh doesn't work if run with "sudo", Marius Bakke, 2018/03/26
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/28
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29