From unknown Sat Aug 16 23:39:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#32789 <32789@debbugs.gnu.org> To: bug#32789 <32789@debbugs.gnu.org> Subject: Status: Bash finds old version of guix after guix pull Reply-To: bug#32789 <32789@debbugs.gnu.org> Date: Sun, 17 Aug 2025 06:39:34 +0000 retitle 32789 Bash finds old version of guix after guix pull reassign 32789 guix submitter 32789 Alex Branham severity 32789 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 20 17:50:03 2018 Received: (at submit) by debbugs.gnu.org; 20 Sep 2018 21:50:03 +0000 Received: from localhost ([127.0.0.1]:47427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g36pm-00040R-Id for submit@debbugs.gnu.org; Thu, 20 Sep 2018 17:50:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g36pk-0003zu-WD for submit@debbugs.gnu.org; Thu, 20 Sep 2018 17:50:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g36pb-0005w1-QP for submit@debbugs.gnu.org; Thu, 20 Sep 2018 17:49:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g36pb-0005vr-Df for submit@debbugs.gnu.org; Thu, 20 Sep 2018 17:49:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g36pa-0002kC-Nt for bug-guix@gnu.org; Thu, 20 Sep 2018 17:49:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g36pV-0005sW-MG for bug-guix@gnu.org; Thu, 20 Sep 2018 17:49:50 -0400 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:35823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g36pV-0005sI-Gn for bug-guix@gnu.org; Thu, 20 Sep 2018 17:49:45 -0400 Received: by mail-ot1-x32e.google.com with SMTP id j9-v6so11026362otl.2 for ; Thu, 20 Sep 2018 14:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=TPkTEIXWoOir5S8TLk6xOlKiT11bgzAU8PDsxcXXd8A=; b=NxPZLenjiSjjMlbdAnZuhiBfM6XXhBe4r75N4/eWgHwjAc18kn10q4zW9UFfDh0Cvs ixXNel17LBPhEev8+v9EeNXkAWx0ErzaWYR1P7Yb/PANqZAqSCIjZhq7dW4ftGZdqtAm ImdVmE3uSaiHat7HVd8mQv9oz4ozq+/cUg0XUqg5HILom++JJemMHhuiRiMX7hD1Us4n DCee75U9c2DX8F2JTX//TlWc3SGPkZL/SQLN/AbJHVevYoIgTjxY9wR7i/TEBq998A0b 4aPGz2deaFVTgvnY66aiEV7rNsj6L79Pn34nJkt61qdYFP6XH9SPRbdwmxY/dwURji0x OH8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=TPkTEIXWoOir5S8TLk6xOlKiT11bgzAU8PDsxcXXd8A=; b=ZAjM8tgQ5R2+6aDcaNxIwvqcat4vXFexOJptPulLarixs5FcEfgiFKkS483zyOnBJ+ GikMW//j8BT7NU7L74JophcRVHLu79XJVv0xGCUrhy+IB4XqFmgdNb7U9X/lCmR8fcRx zCAaXLwS1R4CsCAMX8M7+dFHPWHr1cDw7PivxjCjEIvq7umR9H2sNM4H/BZ9IWhcS92T Uva7g6y/voH1NLa4eVLfsBfBdVXy/vRemB+z404lkL/+2p1d3kRAOE1kdFiutd32i1Vc u/Yb4erMpkr8T1UvD66NlKLgUIs/BoZRjxlcun3tAxxqO7rKHI1bjNUbdLt/aXVE2qUw BbpQ== X-Gm-Message-State: APzg51AgDrJFRPDok7on8LKkfSDdn1LmkjaLy75zz23+pBz0UERDeQgv mY7S4Fh6SzZBLo0VbBVdKVFA3pGz X-Google-Smtp-Source: ANB0Vdb9Ne1kEvpnSeOOnraOCB8c2NCMgt5rUkPhgsxEvcmFt0BGOTiUXgvENAK+56XOXLB0Lk3/mA== X-Received: by 2002:a9d:ce1:: with SMTP id o30-v6mr22225138otd.291.1537480184219; Thu, 20 Sep 2018 14:49:44 -0700 (PDT) Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id g18-v6sm8562164otd.11.2018.09.20.14.49.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 14:49:43 -0700 (PDT) User-agent: mu4e 1.1.0; emacs 27.0.50 From: Alex Branham To: bug-guix@gnu.org Subject: Bash finds old version of guix after guix pull Date: Thu, 20 Sep 2018 16:49:41 -0500 Message-ID: <875zyzsutm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, After installing guixsd (0.15) on a VM and doing "guix pull", "guix --version" gives 0.14-. I asked about this on IRC a few weeks ago and got a helpful answer. All I needed to do to fix is was to run a simple bash command. Unfortunately, I've forgotten what that was :-( Reporting here since I didn't find anything in the issue tracker when I looked. Thanks, Alex From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 21 04:05:33 2018 Received: (at 32789) by debbugs.gnu.org; 21 Sep 2018 08:05:34 +0000 Received: from localhost ([127.0.0.1]:47624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3GRR-00055f-N7 for submit@debbugs.gnu.org; Fri, 21 Sep 2018 04:05:33 -0400 Received: from tobias.gr ([51.15.135.5]:49750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3GRP-00055W-CG for 32789@debbugs.gnu.org; Fri, 21 Sep 2018 04:05:32 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f0ed2968; Fri, 21 Sep 2018 08:05:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=references :from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=5QlBDBLnZ30/Lr4697a5jY XR2D76VAh56qTE45tFwrU=; b=mdHxbj/DfTGaCe8lUK+1vI+0CdFWZDNzJFsU1w EAVX5CfQ7z4t7YDfr8j9oXKKtMkKczWSKc1pIPrYrdKYhAdI4h/LNK7vwEelnelt 54Irg+d81Ti+jUdirbDXIPMFHNMOLfE5EQtPq3aawkJkHJnQ8wufx4HLGmdbRWR+ 4fZl2Tc+GVzF8BieaUUabVXUvd8qkKtPxf5ITNALm1ShTuKK4nXHNgXRu0bR6d2P 2TpJNqqhhtLz8MX+XSvJbA0qu8whqfWY63FprAsFgwakfaXBT7h9Ch0I8R1pcW0V UzKMEXg/TL8OMI30pUXKrS1sJRmLpYmYdYZJqayDolZoLlLA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id b5285ee7 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 21 Sep 2018 08:05:27 +0000 (UTC) References: <875zyzsutm.fsf@gmail.com> From: Tobias Geerinckx-Rice To: Alex Branham Subject: Re: bug#32789: Bash finds old version of guix after guix pull In-reply-to: <875zyzsutm.fsf@gmail.com> Date: Fri, 21 Sep 2018 10:05:28 +0200 Message-ID: <87fty3ff7b.fsf@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32789 Cc: 32789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Alex, Alex Branham wrote: > After installing guixsd (0.15) on a VM and doing "guix pull", > "guix --version" > gives 0.14-. > > I asked about this on IRC a few weeks ago and got a helpful > answer. All > I needed to do to fix is was to run a simple bash command. > Unfortunately, I've forgotten what that was :-( Was it $ set +h ? Kind regards, T G-R From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 21 10:59:23 2018 Received: (at 32789) by debbugs.gnu.org; 21 Sep 2018 14:59:23 +0000 Received: from localhost ([127.0.0.1]:48325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3Mtv-0002Uj-8Q for submit@debbugs.gnu.org; Fri, 21 Sep 2018 10:59:23 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3Mtt-0002Ua-Gx for 32789@debbugs.gnu.org; Fri, 21 Sep 2018 10:59:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1537541944; cv=none; d=zoho.com; s=zohoarc; b=HKkkvKUKCx1JJYrIDtbpCsJmbzJh8siu6fPBTnIMUgJM7DtXnigsFKvfOOYmpjWvsiZANnQ8HwWupgnwLxZz7U1Jzn96clkUpDoz/YOQRtj1d+oDeDxHZXvsQMmYVjvuwdfv6wcuawO1NJwjiZ9Vg4PKsk4yG3s95gNOddaIL6s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1537541944; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=oC59ndbHRECC+JdNBgrnjODH2SMkov01eTrT/rqG25I=; b=R4xKdbYgDuAi2D791WPHYS+D2qqehy5IbZDtHeNVhRTd+vDLT0zwQelRIj7rRY8cm8JGrIAb5w6loOdRiy/LJoG2BebROPlI8J90x5s31pctbs5u284aWa7PXtefKoFV1ep780zSTJkepdjotKjcgLk/ZK/SWhijgKux4nLIHNE= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1537541944; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=431; bh=oC59ndbHRECC+JdNBgrnjODH2SMkov01eTrT/rqG25I=; b=UdYGyUukv28vmVLg4QjZ7bwT7s5gBZLDlrk06XipDSYmdtWR/5KTA5UhlOhvFUgh mqb+MSI8nmV30Kkkzh5Ts20xojLBMvSa7+Xt/kpv3FEXoiRGKhm/gh9w/bcvt/+Nc0W KlxWOfayIjLFrhke9nzEtK+iTZ4i2wEylPDe53zE= Received: from localhost (141.80.247.147 [141.80.247.147]) by mx.zohomail.com with SMTPS id 1537541943037217.0192998920653; Fri, 21 Sep 2018 07:59:03 -0700 (PDT) References: <875zyzsutm.fsf@gmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Alex Branham Subject: Re: bug#32789: Bash finds old version of guix after guix pull In-reply-to: <875zyzsutm.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 21 Sep 2018 16:58:58 +0200 Message-ID: <87woreucb1.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32789 Cc: 32789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Alex, > After installing guixsd (0.15) on a VM and doing "guix pull", "guix --ver= sion" > gives 0.14-. > > I asked about this on IRC a few weeks ago and got a helpful answer. All > I needed to do to fix is was to run a simple bash command. > Unfortunately, I've forgotten what that was :-( I think you mean =E2=80=9Chash -r=E2=80=9D to make bash forget previously r= emembered locations. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 21 11:01:52 2018 Received: (at 32789) by debbugs.gnu.org; 21 Sep 2018 15:01:52 +0000 Received: from localhost ([127.0.0.1]:48329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3MwK-0002a8-L2 for submit@debbugs.gnu.org; Fri, 21 Sep 2018 11:01:52 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:47060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3MwJ-0002Zt-3O for 32789@debbugs.gnu.org; Fri, 21 Sep 2018 11:01:51 -0400 Received: by mail-oi0-f48.google.com with SMTP id y207-v6so11625407oie.13 for <32789@debbugs.gnu.org>; Fri, 21 Sep 2018 08:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=7yty3P3iTnXeuDQSB9h15HrV3IiUYt/z5ClEi96ZEjA=; b=KBTAR2S8tb0/RhCcXxTN2ZqTpBVLkTAoY2KeuKffuAAN99d+rhkKUhD/AASoR8dt3F B7QY4ozjhjpmgb6zZ3VtkWQc639LGWKjDGPUs4+M0E9HbUfh9jDSBzSl6TwxgBxg2Vff o6M5FZwVWj2f4pgEw2Lt0PwlziIBQ0vco9FPTGeOwOpKBBvx55gOF4KRTUMgx3rSxuh1 8d03gNjIPFGtrtVFcEqtpZDP93OaSSCEmXQg6lqII61KvNthbOaGWAmSFqabYRVt8xyV W2VcEBEYEPGylL0O7HlfJvexWfCEFxc/hh4O0IluTQl69cszIzwQjqiZn5vcGUwZfLz5 o/mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=7yty3P3iTnXeuDQSB9h15HrV3IiUYt/z5ClEi96ZEjA=; b=TkdP3QhwY8yIXMKluiiYeXGgM3ZEnh53SoLoJt0lQlB45gX6HW7U/JkNfXkRoZyhIX +d0VKqe43ZXhbXe2Mu5HiSN+sZXSytez8WXPLwhV95hPQ6NKTFTmML2kKY6q+lbklnPa cVRPFCcyCNWzJV15dOIuWf0EdPBkHyKPcMpFEt3SKc85RI1hC94VmJgeoi6/5hk46y95 yS+mDJ+1mkaj7PXws9ovj7Rh3dvV8xySHyKJAiwDEygagUHrGCpLMq/zfH/oIbkwlRGi Jo86FtIj9A20cBgh5+uhwrsUQPws5uu+eLnMOB4YBiSvQ8bwR+2MxlaJ2ugP/YK8ALa/ GJzg== X-Gm-Message-State: APzg51DnBQwsme0t8rbitLehFKZIyn+1jslHnYUxwf1r9B7ljIO3pnlr YmhCJngMm6rjMUzYncYmH9P4HoJd X-Google-Smtp-Source: ANB0VdaiV1Zk0LCM6GkFjfQ0ABifRIgB1xwxPe2KoPBjnnzk5s9TCcpqGIrEeIL7szq1pN1cvvR5EQ== X-Received: by 2002:aca:e643:: with SMTP id d64-v6mr1899888oih.81.1537542105241; Fri, 21 Sep 2018 08:01:45 -0700 (PDT) Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id p18-v6sm7488004otl.63.2018.09.21.08.01.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Sep 2018 08:01:44 -0700 (PDT) References: <875zyzsutm.fsf@gmail.com> <87woreucb1.fsf@elephly.net> User-agent: mu4e 1.1.0; emacs 27.0.50 From: Alex Branham To: Ricardo Wurmus Subject: Re: bug#32789: Bash finds old version of guix after guix pull In-reply-to: <87woreucb1.fsf@elephly.net> Date: Fri, 21 Sep 2018 10:01:42 -0500 Message-ID: <87tvmirj1l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32789 Cc: 32789@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri 21 Sep 2018 at 09:58, Ricardo Wurmus wrote: > Hi Alex, > >> After installing guixsd (0.15) on a VM and doing "guix pull", "guix --ve= rsion" >> gives 0.14-. >> >> I asked about this on IRC a few weeks ago and got a helpful answer. All >> I needed to do to fix is was to run a simple bash command. >> Unfortunately, I've forgotten what that was :-( > > I think you mean =E2=80=9Chash -r=E2=80=9D to make bash forget previously= remembered > locations. Indeed, that was it. Thanks for helping out here and on IRC! I'll mention here for posterity that restarting the system also "fixes" the issue. I still don't understand why bash found guix 0.14 after guix pulling from guix 0.15 though. Thanks again, Alex From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 21 12:06:34 2018 Received: (at 32789-done) by debbugs.gnu.org; 21 Sep 2018 16:06:34 +0000 Received: from localhost ([127.0.0.1]:48382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3Nww-0004LQ-4E for submit@debbugs.gnu.org; Fri, 21 Sep 2018 12:06:34 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3Nwv-0004LF-0j for 32789-done@debbugs.gnu.org; Fri, 21 Sep 2018 12:06:33 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1537545985; cv=none; d=zoho.com; s=zohoarc; b=HcfVZcMKHbq+HAqC8DrdTf4DManw854IfppA5TACVOp62tmCUOp3h3ga6Z10+508mK4oMyaonLwLCV+4LTPn/OjlRYxVQXMm6ZZMeLPP9jIWUgeCkmiIfmxb3uZRs7p9p75+eRQzsFoynLeLpddDM5C7Se/H14R74nj5kqHqCc8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1537545985; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=htSSyVMEDVCYlZBma7paWP6TTHFVZRpa5JFrDU76SX8=; b=jq+iMrlEFUMWapGVjvnoM+o8OS3wsvGtDGOXLnwn3qL03t0orf0VlKTVdHmUD75Lg2ikM4QC+IhgnSr/jiJJz+FmO0REQWq4l9B57sjqDM+8nJIBDxnVQDNrTMWLoO7SkgSJ/vYxr3neBkJohVHJ2PP6wBM+V7O4fonGyPL1kM0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1537545985; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=649; bh=htSSyVMEDVCYlZBma7paWP6TTHFVZRpa5JFrDU76SX8=; b=RwRQPfca0FExHYulJqgeA3WhGyvEk4eLUHBJSQdIiaZN3PgbvZ2MfWMPCYG36lF0 nOVBwRxfhOTq+IbuM9Eh8rlA4fGGCzOaUSK2z6407jCUnrU9c9kCR5W1uXIl7hNSPWj 23iUP1IjWxZfisYSAm2Y76fZiFWJhiDsnGBRDW34= Received: from localhost (141.80.247.147 [141.80.247.147]) by mx.zohomail.com with SMTPS id 1537545983306576.3429396317772; Fri, 21 Sep 2018 09:06:23 -0700 (PDT) References: <875zyzsutm.fsf@gmail.com> <87woreucb1.fsf@elephly.net> <87tvmirj1l.fsf@gmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Alex Branham Subject: Re: bug#32789: Bash finds old version of guix after guix pull In-reply-to: <87tvmirj1l.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 21 Sep 2018 18:06:16 +0200 Message-ID: <87tvmiu96v.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32789-done Cc: 32789-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 =E2=80=9Chash=E2=80=9D. I don=E2=80=99t know what would trigger th= is behaviour in your case. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 21 13:47:38 2018 Received: (at 32789-done) by debbugs.gnu.org; 21 Sep 2018 17:47:38 +0000 Received: from localhost ([127.0.0.1]:48431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3PWj-0007AW-U8 for submit@debbugs.gnu.org; Fri, 21 Sep 2018 13:47:38 -0400 Received: from mail-ot1-f42.google.com ([209.85.210.42]:39270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3PWh-0007AI-Tr for 32789-done@debbugs.gnu.org; Fri, 21 Sep 2018 13:47:36 -0400 Received: by mail-ot1-f42.google.com with SMTP id c12-v6so13813549otl.6 for <32789-done@debbugs.gnu.org>; Fri, 21 Sep 2018 10:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=1UR6j0Kp4Uuo/g2KzmpDJIzKyLcbIFaF9pGcY83H5kk=; b=nnh2c7HvKu6yx2vbz/m5eKMGzBVQKXsxSePcJHGDjGMDarO8tJvB0Tcxj1AExWqBFy ElzMZEeFzyLIu9J4yl0cDkSbaW/d5dw3N8rx6FiXP0SOVAqa8vUd6DleLwuvtaxCAerl rDJWmcErNRfsC0HY991K+ivShvgus6EbFxNUY6h2wqykU864Dso8lKsjpUVREeux/Y5o W9l0o5N2mlH1mmc21tqhnlX3EiMRoBAjDHuYI57SD8r1pw7DI5QDTvr3blHG2FnGS6B9 KOZkWY/dOGsG9tkQFungQ7Xbmn8kOJUoWjJI06wslbRyYshu30IxeuwKSETnvF8HAMIp ohvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=1UR6j0Kp4Uuo/g2KzmpDJIzKyLcbIFaF9pGcY83H5kk=; b=hXvavUgu1wDrq49Zya+uVW/SxO59kFONcpkTtippQKh2GQejimMl1HIMZkrhwvscd+ hen7SbOupqBCy4lfTDueRdyK1Ux8QVtmE3G/ts4Tn516WhxLZvGQdJ4NgX/JMmwqOaPf Uw84R19ldzF4fd2AgnEVyevc8nyNggf5b+w9LYVOTmtRKjosVuXjeqdWZbQ7arDPXOwc TRAV4plMdvhZRKEGQP1Zg/48mfpMAkWWg6LYg9kY5Iw3+tWTeHi6BXK0v4rJf/QtAxlm NtFjZz1L+l6yqTRl1pjefcXgR8yYrn1LO1CE5//QkXe7B0/bBrtTqhVWk+Lk9xw7ycio wbNg== X-Gm-Message-State: APzg51BPeuI0qpHbVMRoGY/4T9yjyzalYFEKOYOAnkKDhb1gmC8a4zEl CXZkCl/x6izQMwsys+E7tH0qOn4l X-Google-Smtp-Source: ANB0VdYxYNNNTEqySPsdjAHRgqzxSQzN6QSNDoOWnHIBJ3DQFAUOT6Mrqnty9RKuXVz/gXdgi4n44A== X-Received: by 2002:a9d:598d:: with SMTP id u13-v6mr24697340oth.155.1537552049949; Fri, 21 Sep 2018 10:47:29 -0700 (PDT) Received: from earth (cpe-70-114-192-208.austin.res.rr.com. [70.114.192.208]) by smtp.gmail.com with ESMTPSA id g5-v6sm9056822otb.65.2018.09.21.10.47.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Sep 2018 10:47:29 -0700 (PDT) References: <875zyzsutm.fsf@gmail.com> <87woreucb1.fsf@elephly.net> <87tvmirj1l.fsf@gmail.com> <87tvmiu96v.fsf@elephly.net> User-agent: mu4e 1.1.0; emacs 27.0.50 From: Alex Branham To: Ricardo Wurmus Subject: Re: bug#32789: Bash finds old version of guix after guix pull In-reply-to: <87tvmiu96v.fsf@elephly.net> Date: Fri, 21 Sep 2018 12:47:27 -0500 Message-ID: <87sh22rbdc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32789-done Cc: 32789-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri 21 Sep 2018 at 11:06, Ricardo Wurmus wrote: > 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 =E2=80=9Chash=E2=80=9D. I don=E2=80=99t know what would trigger = this behaviour in your > case. Right, all that makes sense. I'm wondering why/how bash ever found guix-0.14 since I started out with guix-0.15. Alex From unknown Sat Aug 16 23:39:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 Oct 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator