From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WICkD9drC2MWeAEAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 15:21:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QKe5DtdrC2O/zQAAG6o9tA (envelope-from ) for ; Sun, 28 Aug 2022 15:21:27 +0200 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 aspmx1.migadu.com (Postfix) with ESMTPS id E446E3F053 for ; Sun, 28 Aug 2022 15:21:26 +0200 (CEST) Received: from localhost ([::1]:48460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSIEA-0005de-2A for larch@yhetil.org; Sun, 28 Aug 2022 09:21:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSICx-00031c-KC for guix-patches@gnu.org; Sun, 28 Aug 2022 09:20:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSICw-0002gK-Db for guix-patches@gnu.org; Sun, 28 Aug 2022 09:20:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSICw-0006zS-9T for guix-patches@gnu.org; Sun, 28 Aug 2022 09:20:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57460] [PATCH 17/20] refresh: Allow updating to a specific version (documentation) Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 13:20:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57460@debbugs.gnu.org Received: via spool by 57460-submit@debbugs.gnu.org id=B57460.166169278226707 (code B ref 57460); Sun, 28 Aug 2022 13:20:10 +0000 Received: (at 57460) by debbugs.gnu.org; 28 Aug 2022 13:19:42 +0000 Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSICT-0006wa-Pm for submit@debbugs.gnu.org; Sun, 28 Aug 2022 09:19:42 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:52751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSICM-0006v6-CW for 57460@debbugs.gnu.org; Sun, 28 Aug 2022 09:19:34 -0400 Received: from hermia.goebel-consult.de ([46.87.137.46]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MIdW7-1ogIp33I4D-00EbFe for <57460@debbugs.gnu.org>; Sun, 28 Aug 2022 15:19:28 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6753265A4E; Sun, 28 Aug 2022 15:18:56 +0200 (CEST) From: Hartmut Goebel Date: Sun, 28 Aug 2022 15:18:43 +0200 Message-Id: <8e4201238e61596c397823bfac5f46d09498ccc8.1661691694.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.4 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:aJdTP67ggUn6qQ0LODMfI34IPlYdIZx2q+ZJYfko+20DlC3sBkr MDVUGaxMRD0ckb3BBs5+0uPo/NOuu6YlYjJRvY3Jnyh7jQJuXRH2C7HqMO7/MgQjJam/J4h gWpDQyutLkEGYC2bSPb36H9b8VLJOuk6UVqjG9kKeKQyKz5vKKL/FPksPDIDkSF9fmpnuiO 4j8eUG09a0UQeID7hBUmg== X-UI-Out-Filterresults: notjunk:1;V03:K0:NjIjBc6aAMg=:LFCfCZBzIhBPs6EkG4gIY6 /dfj+3q1hkzaqkfwGBH9X9+XoYLBwgMxkiURoq1wPOCRzSKOn+Az+1CTM+CsCNvlAlns5aHOR flcpNKP50x6dCEYXAAKawBQxPPCJ4KTtn269L8s2k7Nhl79CorgKqVzlAEJkHF22xW97BneHE 77WZ94isl7ZKGfkP7Jq1oGNVEm7jgr5m7OHP54USjIteCdnHwQvujw7DW7Cl8REIZnTWQs82e 1IkoUQ8pGriCIDBI/79WcqCLrmIvNn0NuemPyTFmdR/tzd5aJJivlnEpEPfXi/ER6Ufytjm4u Ki9fAri4UNQVUw6VFWtUVEm2tMuP74M6UgTKCOhEsDfR8eFG4nWs8s2PE8WItxoMZujY+80T1 RBKoaGsf6CqSGvDfv0yTDdA0QaFk3EgMKCm9wlnxtDut58f+uP6sWeMPCpBObSvSVTtICSu/1 Bb7ZpHM53I4qi+Rnby0SvndpY13AF8IZJPKAUapIESXxf7kbLOLuCMbQnl/0rQklFl40Z3QGx wb0HExKt+bF3uMjP0/rSpofPCfZKSyM+oT+wHqovS5I8xwsT2FjHOQIluyZLFkqaMHWkslPLa /m5KqQ1d5tjn4Apov9wREsBZT7Wh9rRoYKK9lAJVIFiwQymBl9a4tsl1oxf57A41w/toOqTH0 SfXymxrF+3gOUkMR4+Xt52Z/JlHv2cmZRyxlncN/rIjW6QyN096ZMO8P6fRVKU60whUX94ryx NGUFD3l4HhbwGLXRsji1lIlfAp1jF96USu8DnX7592QKNo6QyuySArf3CsE= 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661692886; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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; bh=6FCR5fTT0CGhOnVSP4guueJxD3SJxVKJmMBRRsXup2I=; b=fSuFQW9poomq0I0TV5PngLyfjKaG4I+9e/g3MlAGYA3spZTdmHmCLK1/z0fsQNMApvk0TY fNzp9u+x+bLItLp10VSWZzIVFdYCSFz9KrvsVMi+mlryShuOGuZn6yRzjzxx+FfjB9ThmX EaHfE6OMdyU24WmvPiMy5FGFcKsZkUoGUXa8QHyTl8DtKn5StEHAuVtKAkA8lbmdgG1Aot Llun4u8Fk6TjvLm9O8TDoITNbIfsjXnvkFuAwZeumMwUmhZ3P4YARzWQxGVf7jqiawLJ3y zcuYReRWG0UseNPkE3SAoBSp9B6qYJ3kA2E0uKevCKtz3cvO/nxBBPrDFJ2WhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661692886; a=rsa-sha256; cv=none; b=HX5Srwxrnl0wJdjCFRMkmdM8PgPuSZTqHKuq8BFzksIj7mySI6bDhxsVIpp5d9RsEMdzsx yeoxitUTZ8tESeZkgEQjwzNi22MW0KcMKx+UIB24OFPqYupQDnE8wKxYjZIlr2J34+8Mzt Wp1rYK1MrJnD37ZIhUKZlEPr/eG6DUMlc5a4OnlprGlBQ9dHXN6pUtr8oBlYJnroyWoh5B KVTwTzxQwq65ZbCZMYWVh7te53utxobwstP+OHJ82kx597P6IHq4gzb/Dy6dUkwl1ZTwwT 39hhQ4QKA5t8ByPrVRNKbEFDjswbgdWsoPupeSjgLlTnRQraoCg8N5eLvGJfeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.20 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E446E3F053 X-Spam-Score: 0.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: cgJIWgMen6Vw --- doc/guix.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 7bce8a567c..c459fa6d4d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -13747,6 +13747,19 @@ gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gm @end table +If for some reason you don't want to update to the latest version, +you can update to a specific version by passing a package specification. +However, not all updaters support this. + +@example +$ guix refresh trytond-party +gnu/packages/tryton.scm:2101:13: trytond-party would be upgraded from 6.2.0 to 6.4.0 +$ guix refresh -u trytond-party@@6.2.1 +@dots{} +gnu/packages/tryton.scm:2101:13: trytond-party: updating from version 6.2.0 to version 6.2.1... +@dots{} +@end example + Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used -- 2.30.4