Dear list,

I've unfortunatly done the equivalent of $ rm /usr/local/bin/guix

I've then tried to re-install guix by:
  removing /gnu
  removing /var/guix
  executing the install script given here: https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation

It does not work … How to solve these issues?

Thx,
PH

* I encounter much problems with Guix since then:

> phf@2eb0:~$ guix pull -l
> guix pull: error: stat: No such file or directory: "/var/guix/profiles/per-user/phf/current-guix-1-link"


> phf@2eb0:~$ guix package -i glibc-utf8-locales
> The following package will be upgraded:
>    glibc-utf8-locales 2.28 → 2.28 /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28
> substitute: guile: warning: failed to install locale
> substitute: hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
> substitute: defining `GUIX_LOCPATH', along these lines:
> substitute:
> substitute:      guix package -i glibc-utf8-locales
> substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> substitute:
> substitute: See the "Application Setup" section in the manual, for more info.
> substitute:
> substitute:
> nothing to be done
> phf@2eb0:~$ export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> phf@2eb0:~$ guix package -i glibc-utf8-locales
> The following package will be upgraded:
>    glibc-utf8-locales 2.28 → 2.28 /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28
> substitute: guile: warning: failed to install locale
> substitute: hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
> substitute: defining `GUIX_LOCPATH', along these lines:
> substitute:
> substitute:      guix package -i glibc-utf8-locales
> substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> substitute:
> substitute: See the "Application Setup" section in the manual, for more info.
> substitute:
> substitute:
> nothing to be done


> phf@2eb0:~$ guix describe
> guix describe: error: failed to determine origin



* Configuration:

> phf@2eb0:~$ guix --version
> guix (GNU Guix) 0.16.0
> Copyright (C) 2018 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.


> phf@2eb0:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 18.04.2 LTS
> Release: 18.04
> Codename: bionic


> phf@2eb0:~$ uname -arv
> Linux 2eb0 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux