[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33647: First `guix pull' behaves unexpectedly
From: |
Ludovic Courtès |
Subject: |
bug#33647: First `guix pull' behaves unexpectedly |
Date: |
Fri, 07 Dec 2018 00:06:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Ricardo Wurmus <address@hidden> skribis:
>> Hello Guix,
>>
>> The first time a user runs ‘guix pull’ after a fresh install it does not
>> seem to update guix. ‘guix --version’ reports that guix is still
>> version 0.15.0 after running ‘guix pull’, instead of showing the hash of
>> the latest commit.
>
> “guix pull” should have reminded you to add ~/.config/guix/current/bin
> to the front of your PATH environment variable. When you do that you
> will be using the new version of Guix.
In addition, be aware that Bash maintains a cache of commands it looked
up in $PATH. Thus it may be that, say, it had cached that ‘guix’ is
really /run/current-system/profile/bin/guix. When you pulled, it didn’t
invalidate its cache thus you kept using that old version.
The solution is to run “hash guix” at the Bash prompt to force cache
invalidation (info "(bash) Bourne Shell Builtins").
HTH!
Ludo’.
- bug#33647: First `guix pull' behaves unexpectedly, Diego Nicola Barbato, 2018/12/06
- bug#33647: First `guix pull' behaves unexpectedly, Ricardo Wurmus, 2018/12/06
- bug#33647: First `guix pull' behaves unexpectedly, Diego Nicola Barbato, 2018/12/06
- bug#33647: First `guix pull' behaves unexpectedly,
Ludovic Courtès <=
- bug#33647: First `guix pull' behaves unexpectedly, Diego Nicola Barbato, 2018/12/07
- bug#33647: First `guix pull' behaves unexpectedly, Björn Höfling, 2018/12/07
- bug#33647: First `guix pull' behaves unexpectedly, Ludovic Courtès, 2018/12/07
- bug#33647: First `guix pull' behaves unexpectedly, Diego Nicola Barbato, 2018/12/19
- bug#33647: First `guix pull' behaves unexpectedly, swedebugia, 2018/12/19
- bug#33647: First `guix pull' behaves unexpectedly, Tobias Geerinckx-Rice, 2018/12/19
- bug#33647: First `guix pull' behaves unexpectedly, swedebugia, 2018/12/20