From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eFdoBDiuIGTBCAAASxT56A (envelope-from ) for ; Sun, 26 Mar 2023 22:42:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IEWrAziuIGQ2CwAAG6o9tA (envelope-from ) for ; Sun, 26 Mar 2023 22:42:32 +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 994A820CF6 for ; Sun, 26 Mar 2023 22:42:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgXBi-000062-KS; Sun, 26 Mar 2023 16:42:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgP3W-0003mR-MC for bug-guix@gnu.org; Sun, 26 Mar 2023 08:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgP3W-0001BK-7z for bug-guix@gnu.org; Sun, 26 Mar 2023 08:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgP3W-0006oa-2v for bug-guix@gnu.org; Sun, 26 Mar 2023 08:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62460: Upgrading manifest based profile while keeping an intentionally older version of one package. Resent-From: Martin Castillo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Mar 2023 12:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62460@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167983202226120 (code B ref -1); Sun, 26 Mar 2023 12:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2023 12:00:22 +0000 Received: from localhost ([127.0.0.1]:44201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgP2r-0006nC-Vi for submit@debbugs.gnu.org; Sun, 26 Mar 2023 08:00:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:35200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgP2q-0006n5-HK for submit@debbugs.gnu.org; Sun, 26 Mar 2023 08:00:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgP2p-0003PR-7H for bug-guix@gnu.org; Sun, 26 Mar 2023 08:00:20 -0400 Received: from gabriel-smtp.zfn.uni-bremen.de ([134.102.50.15] helo=smtp.uni-bremen.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgP2m-0000wJ-RZ for bug-guix@gnu.org; Sun, 26 Mar 2023 08:00:18 -0400 Received: from [192.168.178.52] (ip4d16eb70.dynamic.kabel-deutschland.de [77.22.235.112]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 4Pkvdq3ymXzDCbV for ; Sun, 26 Mar 2023 14:00:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019; t=1679832015; bh=PtWu0lCdcN2TGHQiOIaKuXz1ph/Je4dOAbLtD+0n12Q=; h=Date:From:To; b=Jye/2PMnjjyoMK+S870cXkKZsiMYHIUHWBQM+Tbm+P91DHiFMpv3rdMs/kixeLHXZ 9IZ5MaoEI2ppddN3zKthu5+nncK1bpo5AYCBly3bPSFW+yx6cp/FuY/NPKtsuf7p9Y DECO97If1/DZ8QWy4T1ReV0BENC3AG298+CE7YzvkdPZEvWpDzx3lrh6pDeA4jfItT +YbG7dPYL1oSSEjMMS/T4zEdz9nO2GJoRTdZxsLg9+vHea/rBvvH0dZTny9Cz2c56r bv2QDHebBrHMb7343CyCZM5FWRpjIt+TpF3gWj0Agb2UFQ5MH73s7FECJrzSgCjS5p j5o8wj5kEQTHQ== Message-ID: <468aff25-d410-102b-6e62-d8280bf70d7e@uni-bremen.de> Date: Sun, 26 Mar 2023 14:01:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 From: Martin Castillo Content-Language: de-DE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=134.102.50.15; envelope-from=castilma@uni-bremen.de; helo=smtp.uni-bremen.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 26 Mar 2023 16:42:01 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679863351; a=rsa-sha256; cv=none; b=L0V1jVvLyzaSnDuxbA6680c7fXUQR1iFfFhhRHYavEsSXkWZCLDmiWEOJGhoIyYc6RkvJc fGg+lV3dg2OJm74Fm/R3uQLoBYmXtsv6EUW4vSxPRWYgI3PwETj8Z8hPN1tOA+5Hz5MhSA 0sgyK2pDrEJ2VkBE9WP9BKfxHj491NnZa9QcY1dFyAno+sVk7EusWNfSzqZ8/ayO8v9IK3 jzn0XQcJn6NSbK5kMsmuxf2iossZM/lH4zfdBHlbGU3bjDbtqngYNBo5DSzLzfUw9j3YK4 eWtEeUc1SRZpNeLrxVibHXxQo2jS9edIY6zEfu33QsOicmxqhfE1Da84xK2iKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b="Jye/2PMn"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679863351; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Mb2PosYx+VdQjeJzgESre9Yf7qPDK3Pq+hK+Bsg+RC8=; b=LOJUzIfql6HMdHySt30Vlrgn8bZoJ4JJyGiUXs3RFxacy5V1vPNiCRM7xqD//xCFZNWZQq O/u3k3MfwRNsvtLzdmpEdlf2r5SZsV0mxD67WEl2JRLyFmV3SGteRXW/SPjA9leTT3YDIk ZCUtsr66HyD+5pEaLbdRDHGkGnmhThWZXvZ/smSn2b5bsbFqD6LCq8CwtD650HngxCPdbF bgKw54pvvyjk7lkGnMgunAaXAtFh4ubYGZi3eL/THL4R6fisE07Big/zYlRf/5Y9RKBLsY Hhw3z5lAjz5slPGzACeuGPTZoATit/ZvFb3eG7ASlHuZVtGc88a/qpFRjf/4Xg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b="Jye/2PMn"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.03 X-Spam-Score: -1.03 X-Migadu-Queue-Id: 994A820CF6 X-TUID: /WVRSCLmk/wr Hi, if someone has a profile made with a manifest like (specifications->manifest '("gcc@11")) and they want to update it, they might run guix package -p the-profile -u which would currently install gcc@12, or they would run something like package -p the-profile -m manifest.scm -u which aborts with this unintelligible message: Backtrace: 12 (primitive-load "/home/mcd/.config/guix/current/bin/guix") In guix/ui.scm: 2300:7 11 (run-guix . _) 2263:10 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 850:3 8 (_) 830:4 7 (call-with-status-report _ _) In guix/store.scm: 1298:8 6 (call-with-build-handler # …) In guix/build/syscalls.scm: 1442:3 5 (_) 1408:4 4 (call-with-file-lock/no-wait "mani.lock" # …) In guix/scripts/package.scm: 708:4 3 (_) In srfi/srfi-1.scm: 460:18 2 (fold # …) In guix/scripts/package.scm: 233:4 1 (transaction-upgrade-entry _ _ _) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" #< name: "gcc" version: "11.3.0" output: "out" item: # dependencies: () search-paths: (#< variable: "C_INCLUDE_PATH" files: ("include") separator: ":" file-type: directory file-pattern: #f> #< variable: "CPLUS_INCLUDE_PATH" files: ("include/c++" "include") separator: ":" file-type: directory file-pattern: #f> #< variable: "LIBRARY_PATH" files: ("lib" "lib64") separator: ":" file-type: directory file-pattern: #f>) parent: #> properties: ((provenance (repository (version 0) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "3a2200e1ad2049ad7e25295e6b4e013f74dd84e2") (name guix) (introduction (channel-introduction (version 0) (commit "9edb3f66fd807b096b48283debdcddccfea34bad") (signer "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))))>)'. It would be nicer if the user got a hint how to properly upgrade such a (or any manifest based) profile instead of a backtrace. Additionally, the documentation of guix package -u could note that. Martin