From: Stefan <stefan-guix@vodafonemail.de>
To: 40872@debbugs.gnu.org
Subject: bug#40872: First installed package on guix system is not instantly usable
Date: Sun, 26 Apr 2020 14:38:53 +0200 [thread overview]
Message-ID: <73CADE52-3A2F-433F-A2FD-491AC81C7A8A@vodafonemail.de> (raw)
Hi!
I have a guix system and my user account has no package installed yet. After installing the first package – git-minimal in my case – this message is printed and I get this error when trying to use the new command:
building profile with 1 package...
Hinweis: Vielleicht möchten Sie die nötigen Umgebungsvariablen festlegen, indem Sie dies ausführen:
GUIX_PROFILE="/home/stefan/.guix-profile"
. "$GUIX_PROFILE/etc/profile"
Sie können sie auch mit `guix package --search-paths -p "/home/stefan/.guix-profile"' nachlesen.
stefan@guix ~$ git show
-bash: git: Kommando nicht gefunden.
The problem is that without a single package installed there is no user profile-link present:
stefan@guix ~$ echo $PATH
/run/setuid-programs:/home/stefan/.config/guix/current/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin
This is of course easily solved by either following the hint or a logout and login:
stefan@guix ~$ exit
Abgemeldet
Connection to raspberry closed.
Computer:~ stefan$ ssh stefan@raspberry
Last login: Sun Apr 26 13:59:31 2020
stefan@guix ~$ echo $PATH
/run/setuid-programs:/home/stefan/.config/guix/current/bin:/home/stefan/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin
However, this gives a bad first impression to users. Moreover users may think that a logout/login cycle or manually following the hint could be necessary after each package installation. They may get annoyed by this.
Bye
Stefan
next reply other threads:[~2020-04-26 16:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-26 12:38 Stefan [this message]
2020-04-28 16:12 ` bug#40872: First installed package on guix system is not instantly usable Marius Bakke
2020-04-28 19:50 ` Stefan
2020-05-02 14:20 ` Marius Bakke
2020-05-02 16:59 ` bug#40872: Subject: [PATCH] gnu: system: Fix PATH export if the profile has no bin directory Stefan
2020-05-09 22:50 ` bug#40872: " Stefan
2020-05-03 23:32 ` bug#40872: First installed package on guix system is not instantly usable Stefan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=73CADE52-3A2F-433F-A2FD-491AC81C7A8A@vodafonemail.de \
--to=stefan-guix@vodafonemail.de \
--cc=40872@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.