From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: bug#28727: Profiles with intentionally out of date packages are upgraded to the newest version Date: Sat, 7 Oct 2017 16:14:38 +1000 Message-ID: <96695834-ef08-db88-32b8-3b61066bb6f1@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0iP9-0005PJ-Ix for bug-guix@gnu.org; Sat, 07 Oct 2017 02:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0iP4-0005ZV-Hk for bug-guix@gnu.org; Sat, 07 Oct 2017 02:16:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45015) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0iP4-0005ZL-E7 for bug-guix@gnu.org; Sat, 07 Oct 2017 02:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0iP4-00040U-7y for bug-guix@gnu.org; Sat, 07 Oct 2017 02:16:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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 Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 28727@debbugs.gnu.org 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