From unknown Fri Aug 15 20:27:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47213] [PATCH v2] doc: Add snippet for running 'guix refresh' on installed Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Mar 2021 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47213@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161598381812362 (code B ref -1); Wed, 17 Mar 2021 12:24:02 +0000 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= 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-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 unknown Fri Aug 15 20:27:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#47213] [PATCH v2] doc: Add snippet for running 'guix refresh' on installed Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Mar 2021 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47213@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47213-submit@debbugs.gnu.org id=B47213.161668892115292 (code B ref 47213); Thu, 25 Mar 2021 16:16:02 +0000 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= 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-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 unknown Fri Aug 15 20:27:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xinglu Chen Subject: bug#47213: closed (Re: bug#47213: [PATCH v2] doc: Add snippet for running 'guix refresh' on installed) Message-ID: References: <87blb64y62.fsf_-_@gnu.org> <239f5ab21f9d39a00b71963b127e2745969e44cf.1615983540.git.public@yoctocell.xyz> X-Gnu-PR-Message: they-closed 47213 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 47213@debbugs.gnu.org Date: Thu, 25 Mar 2021 23:22:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1616714523-23653-1" This is a multi-part message in MIME format... ------------=_1616714523-23653-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47213: [PATCH v2] doc: Add snippet for running 'guix refresh' on installed which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 47213@debbugs.gnu.org. --=20 47213: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47213 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1616714523-23653-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1616714523-23653-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1616714523-23653-1--