From unknown Sun Jun 22 07:49:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28727: Profiles with intentionally out of date packages are upgraded to the newest version Resent-From: Ben Woodcroft Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 07 Oct 2017 06:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28727 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 28727@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150735690215316 (code B ref -1); Sat, 07 Oct 2017 06:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2017 06:15:02 +0000 Received: from localhost ([127.0.0.1]:53694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0iO6-0003yy-5w for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:15:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0iO4-0003yE-DU for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:15:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0iNy-0004mc-5d for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:14:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0iNy-0004mI-1h for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:14:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0iNw-0005He-Te for bug-guix@gnu.org; Sat, 07 Oct 2017 02:14:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0iNr-0004fv-Um for bug-guix@gnu.org; Sat, 07 Oct 2017 02:14:52 -0400 Received: from mailhub1.soe.uq.edu.au ([130.102.132.208]:41073 helo=newmailhub.uq.edu.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0iNr-0004bi-CX for bug-guix@gnu.org; Sat, 07 Oct 2017 02:14:47 -0400 Received: from smtp1.soe.uq.edu.au (smtp1.soe.uq.edu.au [10.138.113.40]) by newmailhub.uq.edu.au (8.14.5/8.14.5) with ESMTP id v976EeJ3030178 for ; Sat, 7 Oct 2017 16:14:40 +1000 Received: from [192.168.1.105] ([123.200.134.98]) (authenticated bits=0) by smtp1.soe.uq.edu.au (8.14.5/8.14.5) with ESMTP id v976Ec8h025795 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Oct 2017 16:14:39 +1000 From: Ben Woodcroft Message-ID: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> Date: Sat, 7 Oct 2017 16:14:38 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-UQ-FilterTime: 1507356881 X-Scanned-By: MIMEDefang 2.73 on UQ Mailhub X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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 (-----) Hi, I have a profile with python@2 in it, and running 'guix package -u' updates it to python@3, which isn't what I want. I cannot run 'guix package -i python@2 -u' because then it tries to install both python@2 and python@3, which conflicts. I can workaround this using 'guix package -u; guix package -i python@2'. That isn't ideal (wasteful downloading of substitute, extra entries in the generations list, etc), but is workable for me, making this a low priority bug for me. Ideally, I would expect that because I specified python@2 first, guix should not try to install python@3. However, this difficult because IIUC the packages which were specified to be included are not stored anywhere, and I suppose it would entail changes to the manifest format also. So, how to handle this? Thanks, ben From unknown Sun Jun 22 07:49:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28727: Profiles with intentionally out of date packages are upgraded to the newest version Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 07 Oct 2017 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28727 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ben Woodcroft Cc: 28727@debbugs.gnu.org Received: via spool by 28727-submit@debbugs.gnu.org id=B28727.15074047594353 (code B ref 28727); Sat, 07 Oct 2017 19:33:02 +0000 Received: (at 28727) by debbugs.gnu.org; 7 Oct 2017 19:32:39 +0000 Received: from localhost ([127.0.0.1]:55024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0upz-000188-HS for submit@debbugs.gnu.org; Sat, 07 Oct 2017 15:32:39 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:48783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0upy-00017o-7f for 28727@debbugs.gnu.org; Sat, 07 Oct 2017 15:32:38 -0400 Received: by mail-lf0-f46.google.com with SMTP id a69so518728lfe.5 for <28727@debbugs.gnu.org>; Sat, 07 Oct 2017 12:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2sHYCB1YwsfyT/0eUURU9E8byFUEQwQvaVzZI6VfKZU=; b=PaPHyvri8QxqxCOXXkr3/LSywI+2dqmWIQzBNkM0K/C+h0AFprmp8xmvm0EHSeYl9j eeGGrH4mK25Y/uDT3Sz4GjjskHnHDeK0tQckrRiG9v63D9+q15ExY1uCvpImVkQirDpd vMVkzrDqTgfaBUA19TSEqzS9I+q6Tl/TN/a1dvCm4eaD8WcGV3A01E7Kt3m4GFnMKwhA YYjl1R1f/MfgOHMNJQgVP5UeFIcsWvSTlhBnBMJD+YJL3VHL2Nf3j32hDFXR+gvNWeMs mF+eOtXB+8FXRBArI6fTD6FYm6OqwXU1dzi/vLJWFZySfm4Vh0eiCYXFD85cbZUDqR/g oPMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=2sHYCB1YwsfyT/0eUURU9E8byFUEQwQvaVzZI6VfKZU=; b=GxucJMEBxmHWIYQZLKQztkXeUzIyslrbXrur8Yx7fzd0BSIIs3D9XLQykGi12enXnj jZ5j81cbXwIRxZdnYuoq7Fyqu5/J2FZ8q62T+Ae6yK9nHFCFCZWEtGZGs4ANsyQu8Dz5 5BvArzOIolYlED3m9Dqk/5VMtoyZjiQvFqwoowQJKNv2cGd7xud1nRHAfErSWrRWBqJa 1PNVe949Qgxo1kBHnVrr67nmJSj5nPqyEzj/8iX53sTqgIQf48rz+2pEqbW8rpSAxWr4 HoZeu/QoUkuTdlqjv6pxDa50M9e14rCx7o58f00KlnKaXLasBSQTJRFx3m5AvUUbl4T0 t8uw== X-Gm-Message-State: AMCzsaWZty/He4doC7mwbRpv0KXRcNMQz3qupFBaOxU7LDZ3MSCPdTx5 3GXetRcp0pU0T65uCsPeZlJ5zg== X-Google-Smtp-Source: AOwi7QDwFEdEPIen9T34Q/nMbOIq2i+uqP7FhOEf1gaiv1p7jDzI3lJgofxLvz3em2Ry6JBJqIbHpg== X-Received: by 10.25.147.65 with SMTP id v62mr2116949lfd.126.1507404752016; Sat, 07 Oct 2017 12:32:32 -0700 (PDT) Received: from leviafan ([217.107.194.134]) by smtp.gmail.com with ESMTPSA id q190sm743390lfe.51.2017.10.07.12.32.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 07 Oct 2017 12:32:31 -0700 (PDT) From: Alex Kost References: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> Date: Sat, 07 Oct 2017 22:32:29 +0300 In-Reply-To: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> (Ben Woodcroft's message of "Sat, 7 Oct 2017 16:14:38 +1000") Message-ID: <87o9pivjn6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) 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.5 (/) Ben Woodcroft (2017-10-07 16:14 +1000) wrote: > Hi, Hello, > I have a profile with python@2 in it, and running 'guix package -u' > updates it to python@3, which isn't what I want. I cannot run 'guix > package -i python@2 -u' because then it tries to install both python@2 > and python@3, which conflicts. > > I can workaround this using 'guix package -u; guix package -i > python@2'. That isn't ideal (wasteful downloading of substitute, extra > entries in the generations list, etc), but is workable for me, making > this a low priority bug for me. > > Ideally, I would expect that because I specified python@2 first, guix > should not try to install python@3. However, this difficult because IIUC > the packages which were specified to be included are not stored > anywhere, and I suppose it would entail changes to the manifest format > also. So, how to handle this? Not sure if you find the following workaround useful, but you may just make your own python package and install it instead: (define-public my-python-2 (package (inherit python-2) (name "python2"))) Since this "python2" has only version 2, it will never be upgraded to version 3. I mean there will be "python2@2" but not "python2@3", so if you install it ("guix package -i python2"), "guix package -u" will update it to the current version of the python-2 series. -- Alex From unknown Sun Jun 22 07:49:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28727: Profiles with intentionally out of date packages are upgraded to the newest version Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Oct 2017 08:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28727 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ben Woodcroft Cc: 28727@debbugs.gnu.org Received: via spool by 28727-submit@debbugs.gnu.org id=B28727.150753630528714 (code B ref 28727); Mon, 09 Oct 2017 08:06:01 +0000 Received: (at 28727) by debbugs.gnu.org; 9 Oct 2017 08:05:05 +0000 Received: from localhost ([127.0.0.1]:57083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1T3h-0007T4-F7 for submit@debbugs.gnu.org; Mon, 09 Oct 2017 04:05:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1T3f-0007SX-QF for 28727@debbugs.gnu.org; Mon, 09 Oct 2017 04:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1T3X-0006rZ-Cp for 28727@debbugs.gnu.org; Mon, 09 Oct 2017 04:04:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1T3X-0006rU-9d; Mon, 09 Oct 2017 04:04:55 -0400 Received: from [193.50.110.231] (port=48122 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e1T3W-0001ID-4k; Mon, 09 Oct 2017 04:04:54 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?UTF-8?Q?Vend=C3=A9miaire?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 09 Oct 2017 10:04:52 +0200 In-Reply-To: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> (Ben Woodcroft's message of "Sat, 7 Oct 2017 16:14:38 +1000") Message-ID: <87fuas926z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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, Ben Woodcroft skribis: > I have a profile with python@2 in it, and running 'guix package -u' > updates it to python@3, which isn't what I want. I cannot run 'guix > package -i python@2 -u' because then it tries to install both python@2 > and python@3, which conflicts. > > I can workaround this using 'guix package -u; guix package -i > python@2'. That isn't ideal (wasteful downloading of substitute, extra > entries in the generations list, etc), but is workable for me, making > this a low priority bug for me. There=E2=80=99s this possibility: guix package -u . -r python -i python@2 I admit it=E2=80=99s a bit contrived though. There are several ways to address it: 1. Rename our Python 2.x package =E2=80=9Cpython2=E2=80=9D. 2. Add a property to the =E2=80=98python=E2=80=99 package that describes = it as part of the =E2=80=9C2.=E2=80=9D series, and have the upgrade mechanism honor = that property by upgrading to a version prefixed with =E2=80=9C2.=E2=80=9D. #1 is obviously easier (it triggers a lot of rebuild though). Thoughts? Ludo=E2=80=99. From unknown Sun Jun 22 07:49:33 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: Ben Woodcroft Subject: bug#28727: closed (Re: bug#28727: Profiles with intentionally out of date packages are upgraded to the newest version) Message-ID: References: <874l5jsssj.fsf@gnu.org> <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> X-Gnu-PR-Message: they-closed 28727 X-Gnu-PR-Package: guix Reply-To: 28727@debbugs.gnu.org Date: Fri, 24 May 2019 16:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1558716542-7184-1" This is a multi-part message in MIME format... ------------=_1558716542-7184-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28727: Profiles with intentionally out of date packages are upgraded to th= e newest version which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28727@debbugs.gnu.org. --=20 28727: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28727 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1558716542-7184-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28727-done) by debbugs.gnu.org; 24 May 2019 16:48:11 +0000 Received: from localhost ([127.0.0.1]:47182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUDMZ-0001qS-5G for submit@debbugs.gnu.org; Fri, 24 May 2019 12:48:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUDMX-0001qE-JD for 28727-done@debbugs.gnu.org; Fri, 24 May 2019 12:48:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUDMM-0003Nt-IZ; Fri, 24 May 2019 12:48:00 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37150 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hUDMM-00061K-1Q; Fri, 24 May 2019 12:47:58 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ben Woodcroft Subject: Re: bug#28727: Profiles with intentionally out of date packages are upgraded to the newest version References: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> <87fuas926z.fsf@gnu.org> Date: Fri, 24 May 2019 18:47:56 +0200 In-Reply-To: <87fuas926z.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 09 Oct 2017 10:04:52 +0200") Message-ID: <874l5jsssj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28727-done Cc: 28727-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: -3.3 (---) Hi, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > There=E2=80=99s this possibility: > > guix package -u . -r python -i python@2 > > I admit it=E2=80=99s a bit contrived though. > > There are several ways to address it: > > 1. Rename our Python 2.x package =E2=80=9Cpython2=E2=80=9D. That was done long ago, so I=E2=80=99m closing this bug. Ludo=E2=80=99. ------------=_1558716542-7184-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Oct 2017 06:15:02 +0000 Received: from localhost ([127.0.0.1]:53694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0iO6-0003yy-5w for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:15:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0iO4-0003yE-DU for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:15:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0iNy-0004mc-5d for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:14:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0iNy-0004mI-1h for submit@debbugs.gnu.org; Sat, 07 Oct 2017 02:14:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0iNw-0005He-Te for bug-guix@gnu.org; Sat, 07 Oct 2017 02:14:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0iNr-0004fv-Um for bug-guix@gnu.org; Sat, 07 Oct 2017 02:14:52 -0400 Received: from mailhub1.soe.uq.edu.au ([130.102.132.208]:41073 helo=newmailhub.uq.edu.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0iNr-0004bi-CX for bug-guix@gnu.org; Sat, 07 Oct 2017 02:14:47 -0400 Received: from smtp1.soe.uq.edu.au (smtp1.soe.uq.edu.au [10.138.113.40]) by newmailhub.uq.edu.au (8.14.5/8.14.5) with ESMTP id v976EeJ3030178 for ; Sat, 7 Oct 2017 16:14:40 +1000 Received: from [192.168.1.105] ([123.200.134.98]) (authenticated bits=0) by smtp1.soe.uq.edu.au (8.14.5/8.14.5) with ESMTP id v976Ec8h025795 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Oct 2017 16:14:39 +1000 To: bug-guix@gnu.org From: Ben Woodcroft Subject: Profiles with intentionally out of date packages are upgraded to the newest version Message-ID: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> Date: Sat, 7 Oct 2017 16:14:38 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-UQ-FilterTime: 1507356881 X-Scanned-By: MIMEDefang 2.73 on UQ Mailhub X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.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 (-----) Hi, I have a profile with python@2 in it, and running 'guix package -u' updates it to python@3, which isn't what I want. I cannot run 'guix package -i python@2 -u' because then it tries to install both python@2 and python@3, which conflicts. I can workaround this using 'guix package -u; guix package -i python@2'. That isn't ideal (wasteful downloading of substitute, extra entries in the generations list, etc), but is workable for me, making this a low priority bug for me. Ideally, I would expect that because I specified python@2 first, guix should not try to install python@3. However, this difficult because IIUC the packages which were specified to be included are not stored anywhere, and I suppose it would entail changes to the manifest format also. So, how to handle this? Thanks, ben ------------=_1558716542-7184-1--