From: Ricardo Wurmus <rekado@elephly.net>
To: Alex Branham <alex.branham@gmail.com>
Cc: 32789-done@debbugs.gnu.org
Subject: bug#32789: Bash finds old version of guix after guix pull
Date: Fri, 21 Sep 2018 18:06:16 +0200 [thread overview]
Message-ID: <87tvmiu96v.fsf@elephly.net> (raw)
In-Reply-To: <87tvmirj1l.fsf@gmail.com>
Hi Alex,
> I'll mention here for posterity that restarting the system also "fixes"
> the issue.
Yes, bash will not remember paths across reboots.
> I still don't understand why bash found guix 0.14 after guix pulling
> from guix 0.15 though.
Bash optimizes lookups on the PATH; having found an executable on PATH
once, it can remember that location for a minor speed boost. The only
problem with this is that the cache can go stale.
From what I understand remembering locations is usually done manually by
running “hash”. I don’t know what would trigger this behaviour in your
case.
--
Ricardo
next prev parent reply other threads:[~2018-09-21 16:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-20 21:49 bug#32789: Bash finds old version of guix after guix pull Alex Branham
2018-09-21 8:05 ` Tobias Geerinckx-Rice
2018-09-21 14:58 ` Ricardo Wurmus
2018-09-21 15:01 ` Alex Branham
2018-09-21 16:06 ` Ricardo Wurmus [this message]
2018-09-21 17:47 ` Alex Branham
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvmiu96v.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=32789-done@debbugs.gnu.org \
--cc=alex.branham@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).