From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WO0jHsXaUGBbBAAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 16:20:21 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SDQAGsXaUGBmKQAA1q6Kng (envelope-from ) for ; Tue, 16 Mar 2021 16:20:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 00B72EF9B for ; Tue, 16 Mar 2021 17:20:21 +0100 (CET) Received: from localhost ([::1]:47908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMCQd-00024Z-Ul for larch@yhetil.org; Tue, 16 Mar 2021 12:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMCQM-00021w-Cw for guix-patches@gnu.org; Tue, 16 Mar 2021 12:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMCQM-0002Pv-4Z for guix-patches@gnu.org; Tue, 16 Mar 2021 12:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMCQM-0002zu-0H for guix-patches@gnu.org; Tue, 16 Mar 2021 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47163] [PATCH] doc: Add snippet for running 'guix refresh' on installed packages Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 16:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47163 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47163@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 47163-submit@debbugs.gnu.org id=B47163.161591155111457 (code B ref 47163); Tue, 16 Mar 2021 16:20:01 +0000 Received: (at 47163) by debbugs.gnu.org; 16 Mar 2021 16:19:11 +0000 Received: from localhost ([127.0.0.1]:40854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMCPX-0002yi-BB for submit@debbugs.gnu.org; Tue, 16 Mar 2021 12:19:11 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:34312 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMCPV-0002yU-OM for 47163@debbugs.gnu.org; Tue, 16 Mar 2021 12:19:10 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1615911543; bh=vypHQW3wcKXrWaM69TCbVr9ztVAeWEi3TbpUKB28LEo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=uqF3r/yVi2IUA2u8V31/y/SHMzyq/Q799mIL/vhGiCFMXfjCrw+i7egcri8U+Sq4u /49zujYElAXVlfqJeEvRTxHmN6yZflB8MQ3CLeEPpxcZEX4UKMv9o2ijxjm5IDPSXz Ceyt52cUqnMr8jZ6gN7Lfi2lZpwUlqdVwbmxtG3Y= In-Reply-To: References: Message-Id: <1b75951ffc583006980d809718e5cdc4fd1c3d37.1615911469.git.public@yoctocell.xyz> Date: Tue, 16 Mar 2021 17:19:02 +0100 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615911621; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=/+alvWu3SjDlCyEnqiM7k/QYY4fXgphhvutx2PP5m/A=; b=kWgKOMF0pZu7Zfl83+02zx44OFknlF4jWjD71yOKGLyi4Ykjf8TDiJDMY2bQriyr+NhtG6 FEf45YETZFd7/SP1Ug/0Z1ZS/wGb7fC/lDkPTX314twSzqmxF2ZOHd2dPAAlLZqggMHXJK w2FmokuY6OvLeMWlxOLbdfriC8Uz6s1pCbFYVZ2ozM9xfKa5Fviv8GKyStaZAeaZxlEn8Y Xtlc3sYsRoExMN44FmaJXBkjLV9spm2OgpuJrDVvxN/+Uqi4AinxyrxMTMZm2noOrAU+Lv ngftZ9yQXmzE6vFbumEdss9Yi9PkrHi+Xj+xRwrrKrgNQ1VewrcOYXREfBt35w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615911621; a=rsa-sha256; cv=none; b=CAj7Zs+SM89OCVRuOhFk0KsoU3bNIsiSbl/bssADD27ZnyD8Uu/rVlPe4jm9Irwn7C5dtB Ffl/DjEFWcIOfvFRovEWtTFIEBvV9YSwoxDK9c2hze1PQ6fvgW5DYw0GMgWthHWeAQDDC2 4HQwiCMGDAgMLY6eVhvigsqk5irLBb8ypH/yYnOux2F7mYbhjFlK4Qpecnkb99JKojqovm 5pb9iPg9tOL6HV3ImHk1Rq+hxlVtrPeI4UbgTUtHDB7jS8lRB21P4Gx9c77ahHseXsVvMA vjdIxyfRoaKUj+KZCLWYm1N/fbszype3rAw49k2f0jWCCJeHwB7NfPytr1CJuw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="uqF3r/yV"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.20 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="uqF3r/yV"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 00B72EF9B X-Spam-Score: 1.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: ioW491xCATsy * doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh' on all the packages installed in the current profile. --- doc/guix.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 3e7ffc81bc..752dce9072 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11722,6 +11722,16 @@ @code{idutils} packages. 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 +$ 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. + When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may base-commit: 266d55dc3080475544bf45e72359c9b9bbcecd53 -- 2.30.2