From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33647: First `guix pull' behaves unexpectedly Date: Fri, 07 Dec 2018 00:06:01 +0100 Message-ID: <871s6ugsrq.fsf@gnu.org> References: <874lbqu2j3.fsf@GlaDOS.home> <87k1km3bn0.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gV2jX-00068A-IP for bug-guix@gnu.org; Thu, 06 Dec 2018 18:07:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gV2jW-0005TM-Vf for bug-guix@gnu.org; Thu, 06 Dec 2018 18:07:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gV2jW-0005SP-RO for bug-guix@gnu.org; Thu, 06 Dec 2018 18:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gV2jW-0000C5-HI for bug-guix@gnu.org; Thu, 06 Dec 2018 18:07:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k1km3bn0.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 06 Dec 2018 16:42:11 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 33647@debbugs.gnu.org, Diego Nicola Barbato Hello, Ricardo Wurmus skribis: >> Hello Guix, >> >> The first time a user runs =E2=80=98guix pull=E2=80=99 after a fresh ins= tall it does not >> seem to update guix. =E2=80=98guix --version=E2=80=99 reports that guix= is still >> version 0.15.0 after running =E2=80=98guix pull=E2=80=99, instead of sho= wing the hash of >> the latest commit. > > =E2=80=9Cguix pull=E2=80=9D should have reminded you to add ~/.config/gui= x/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 =E2=80=98guix=E2= =80=99 is really /run/current-system/profile/bin/guix. When you pulled, it didn=E2= =80=99t invalidate its cache thus you kept using that old version. The solution is to run =E2=80=9Chash guix=E2=80=9D at the Bash prompt to fo= rce cache invalidation (info "(bash) Bourne Shell Builtins"). HTH! Ludo=E2=80=99.