From unknown Fri Aug 15 15:34:25 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#47213 <47213@debbugs.gnu.org> To: bug#47213 <47213@debbugs.gnu.org> Subject: Status: [PATCH v2] doc: Add snippet for running 'guix refresh' on installed Reply-To: bug#47213 <47213@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:34:25 +0000 retitle 47213 [PATCH v2] doc: Add snippet for running 'guix refresh' on ins= talled reassign 47213 guix-patches submitter 47213 Xinglu Chen severity 47213 normal tag 47213 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 08:23:38 2021 Received: (at submit) by debbugs.gnu.org; 17 Mar 2021 12:23:38 +0000 Received: from localhost ([127.0.0.1]:42286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMVD8-0003DJ-1K for submit@debbugs.gnu.org; Wed, 17 Mar 2021 08:23:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:33528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMVD4-0003DA-Qb for submit@debbugs.gnu.org; Wed, 17 Mar 2021 08:23:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMVD2-0007zN-3x for guix-patches@gnu.org; Wed, 17 Mar 2021 08:23:34 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:50674 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMVCz-0002iN-WF for guix-patches@gnu.org; Wed, 17 Mar 2021 08:23:31 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1615983804; bh=Ag8UKrQheQvnnZzNo0dlXbKoxHRGXRXdc+z19mRSswo=; h=From:To:Subject:In-Reply-To:References:Date; b=qiIMtkAsPzEQsJVYwv0ydeL0z4LHIwRszTaeLMSNzijxXsMo5ObFbaqIaRux8/Zzf +SfNYsVt6nXOE4tqZZO4+XbqnVALzUghxJRWE5FFwjGKb98jZvSOzvVk3xW6DTJ+mA YfMc63UO++siK7we9xVpRPXdYgw7Cr5to3x1bEC0= To: guix-patches@gnu.org Subject: [PATCH v2] doc: Add snippet for running 'guix refresh' on installed In-Reply-To: <1b75951ffc583006980d809718e5cdc4fd1c3d37.1615911469.git.public@yoctocell.xyz> References: <1b75951ffc583006980d809718e5cdc4fd1c3d37.1615911469.git.public@yoctocell.xyz> Message-Id: <239f5ab21f9d39a00b71963b127e2745969e44cf.1615983540.git.public@yoctocell.xyz> Date: Wed, 17 Mar 2021 13:23:23 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' on all the packages installed in the current profile. --- Changes since v1: - Correct the example snippet. - Refer the rea [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 0.2 (/) * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' on all the packages installed in the current profile. --- Changes since v1: - Correct the example snippet. - Refer the reader to "Running Guix Before It Is Installed". - Add suggestion to run `guix package -i --with-latest`. doc/guix.texi | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 410670e639..d94772d5be 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -87,6 +87,7 @@ Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* +Copyright @copyright{} 2021 Xinglu Chen@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -11719,8 +11720,21 @@ @noindent The command above specifically updates the @code{emacs} and -@code{idutils} packages. The @option{--select} option would have no -effect in this case. +@code{idutils} packages (see @pxref{Running Guix Before It Is +Installed}). The @option{--select} option would have no effect in this +case. + +You can also quickly update all the packages installed in the current +profile with the following snippet: + +@example +$ ./pre-inst-env guix refresh -u $(guix package --list-installed | cut -f1) +@end example + +This is handy if you don't use manifests for installing packages into +your profile. If you just want to install the latest version of a +package, run @command{guix package -i --with-latest} (see @pxref{Package +Transformation Options}). When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and base-commit: 109f58444beecd1b9b7c502f2a687a6b91c62dc0 -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 12:15:21 2021 Received: (at 47213) by debbugs.gnu.org; 25 Mar 2021 16:15:21 +0000 Received: from localhost ([127.0.0.1]:39402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPSdk-0003ya-QL for submit@debbugs.gnu.org; Thu, 25 Mar 2021 12:15:20 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:51352 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPSdi-0003yJ-GL for 47213@debbugs.gnu.org; Thu, 25 Mar 2021 12:15:19 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1616688912; bh=o8W6+de1TPQnA6QD0yl09zKbsKr00UXlh8m9pixPP/U=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=PUxo75DDdbTlLAONNBmSll+ydUtb0jHo9h1LS8dxGm2XoxHfrdJeTeECP3Y3S5aqT iY4Hm9pxtaty90oQThzCXyETCJkyyH660+EMuzUn7OueC0v3i0DVTevSzs3msg1u8U bs7neRn3bTbkULhUFVz+MmwCj0F3/TPZ6NPSQatA= To: 47213@debbugs.gnu.org Subject: Re: [bug#47213] [PATCH v2] doc: Add snippet for running 'guix refresh' on installed In-Reply-To: <239f5ab21f9d39a00b71963b127e2745969e44cf.1615983540.git.public@yoctocell.xyz> References: <1b75951ffc583006980d809718e5cdc4fd1c3d37.1615911469.git.public@yoctocell.xyz> <239f5ab21f9d39a00b71963b127e2745969e44cf.1615983540.git.public@yoctocell.xyz> Date: Thu, 25 Mar 2021 17:15:12 +0100 Message-ID: <87o8f71a7j.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Mar 17 2021, Xinglu Chen wrote: > * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' > on all the packages installed in the current profile. Friendly ping! :) Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-Debbugs-Envelope-To: 47213 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= 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: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Mar 17 2021, Xinglu Chen wrote: > * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' > on all the packages installed in the current profile. Friendly ping! :) Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD On Wed, Mar 17 2021, Xinglu Chen wrote: > * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' > on all the packages installed in the current profile. Friendly ping! :) I just realized that I started a new bug with the v2 patch, apologies for the mess I have created. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 25 19:21:51 2021 Received: (at 47213-done) by debbugs.gnu.org; 25 Mar 2021 23:21:52 +0000 Received: from localhost ([127.0.0.1]:39863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPZIV-00068n-NE for submit@debbugs.gnu.org; Thu, 25 Mar 2021 19:21:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPZIT-00068Z-Jh for 47213-done@debbugs.gnu.org; Thu, 25 Mar 2021 19:21:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33887) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPZIN-00075C-Kd; Thu, 25 Mar 2021 19:21:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35272 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lPZIN-0004gq-6d; Thu, 25 Mar 2021 19:21:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Xinglu Chen Subject: Re: bug#47213: [PATCH v2] doc: Add snippet for running 'guix refresh' on installed References: <1b75951ffc583006980d809718e5cdc4fd1c3d37.1615911469.git.public@yoctocell.xyz> <239f5ab21f9d39a00b71963b127e2745969e44cf.1615983540.git.public@yoctocell.xyz> Date: Fri, 26 Mar 2021 00:21:41 +0100 In-Reply-To: <239f5ab21f9d39a00b71963b127e2745969e44cf.1615983540.git.public@yoctocell.xyz> (Xinglu Chen's message of "Wed, 17 Mar 2021 13:23:23 +0100") Message-ID: <87blb64y62.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi! Xinglu Chen skribis: > * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' > on all the packages installed in the current profile. > --- > Changes since v1: > - Correct the example snippet. > - R [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.92 listed in list.dnswl.org] X-Debbugs-Envelope-To: 47213-done Cc: 47213-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: 0.3 (/) Hi! Xinglu Chen skribis: > * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refr= esh' > on all the packages installed in the current profile. > --- > Changes since v1: > - Correct the example snippet. > - Refer the reader to "Running Guix Before It Is Installed". > - Add suggestion to run `guix package -i --with-latest`. > > doc/guix.texi | 18 ++++++++++++++++-- > 1 file changed, 16 insertions(+), 2 deletions(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 410670e639..d94772d5be 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -87,6 +87,7 @@ > Copyright @copyright{} 2020 John Soo@* > Copyright @copyright{} 2020 Jonathan Brielmaier@* > Copyright @copyright{} 2020 Edgar Vincent@* > +Copyright @copyright{} 2021 Xinglu Chen@* >=20=20 > Permission is granted to copy, distribute and/or modify this document > under the terms of the GNU Free Documentation License, Version 1.3 or > @@ -11719,8 +11720,21 @@ >=20=20 > @noindent > The command above specifically updates the @code{emacs} and > -@code{idutils} packages. The @option{--select} option would have no > -effect in this case. > +@code{idutils} packages (see @pxref{Running Guix Before It Is > +Installed}). The @option{--select} option would have no effect in this > +case. > + > +You can also quickly update all the packages installed in the current > +profile with the following snippet: > + > +@example > +$ ./pre-inst-env guix refresh -u $(guix package --list-installed | cut -= f1) > +@end example > + > +This is handy if you don't use manifests for installing packages into > +your profile. If you just want to install the latest version of a > +package, run @command{guix package -i --with-latest} (see @pxref{Package > +Transformation Options}). I pushed a variant of this as commit 3cb1136780108aebe45794e639b4a8c06460c7e3 and related commits. Thank you, and apologies for the delay! Ludo=E2=80=99. From unknown Fri Aug 15 15:34:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Apr 2021 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