From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QBW+LSGJz2LoIAAAbAwnHQ (envelope-from ) for ; Thu, 14 Jul 2022 05:10:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gHGfLSGJz2IYHwEA9RJhRA (envelope-from ) for ; Thu, 14 Jul 2022 05:10:25 +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 884172A20E for ; Thu, 14 Jul 2022 05:10:25 +0200 (CEST) Received: from localhost ([::1]:43466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBpFA-0007pX-NU for larch@yhetil.org; Wed, 13 Jul 2022 23:10:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBpEp-0007pG-St for bug-guix@gnu.org; Wed, 13 Jul 2022 23:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBpEo-0003kH-NY for bug-guix@gnu.org; Wed, 13 Jul 2022 23:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBpEo-0004Ct-Gv for bug-guix@gnu.org; Wed, 13 Jul 2022 23:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42595: conflicts in propagated imports must be resolved manually Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 14 Jul 2022 03:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42595 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: "Dr. Arne Babenhauserheide" , Efraim Flashner , 42595@debbugs.gnu.org Received: via spool by 42595-submit@debbugs.gnu.org id=B42595.165776818916147 (code B ref 42595); Thu, 14 Jul 2022 03:10:02 +0000 Received: (at 42595) by debbugs.gnu.org; 14 Jul 2022 03:09:49 +0000 Received: from localhost ([127.0.0.1]:48181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBpEa-0004CM-NJ for submit@debbugs.gnu.org; Wed, 13 Jul 2022 23:09:49 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:40866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBpEZ-0004C4-H0 for 42595@debbugs.gnu.org; Wed, 13 Jul 2022 23:09:47 -0400 Received: by mail-qk1-f178.google.com with SMTP id y22so376725qki.7 for <42595@debbugs.gnu.org>; Wed, 13 Jul 2022 20:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=532mVJa5AlQz2FfsuSSQns2WSTtj6HOw3gVOW9VXtT4=; b=dT4OLy55TW6Am4G2yhNpdxyy8Bm0La49AtwvjRID2d0tOe55BSUGE5riyjIU7mfGF+ /7zSFE3/v5D4JaVu/Xy8l/etMH0lmBFGZORNdNE4NZEvTHh2bEJk/NtvUyqy/ULRZB7z 4JR2Q6/IRyZZW6ssz9pcXeq+pEfpl2Rmj3Fn62U1c0sFLyqe84ftBeC+l4e12xyElHkn lnrqkDgYUs03EmgvAdkCsGoRfm5pifqtzIFEuAH7mwKoAlcJFImzlBq/cAEc8UnweeTH eqXi4ThrzpbQbuzZH26g6MwtIGMUrqd1/zXbyYYGrutJhFps7EcYbLGWCk3ULqQ7/Dg5 fmgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=532mVJa5AlQz2FfsuSSQns2WSTtj6HOw3gVOW9VXtT4=; b=MPAGuvDI1C6jgWfVz+zg5FeBinBFNm1VW09OB5z8xBY9HzCWXdczjLBpdBubxI4wuW l0u9LTtJthzI4JGy3tpxsydfJq/m4o6SwySlbVRmTHnAOptbDBtqVVJClrkLNg+bLQTd opAkOahOcnnwrS+mRvkiTXgPcqpdng7BBXt/J/XTEUfFEKTdr+ktpS6b0r3Y1X1JVdRk zJBucu1EZ+o+FaSAXe0SOW8jGU/gLCAvWh0vMsH+lj/IpqRK+nOCMFzzzfUyqybeXcnK HnchqDJPYyGFygThhHOrwjP6hfXsRUODMbhhT/fhVG8V6W+ZNf9R/vUJVQEMG9GBSqSL JgsQ== X-Gm-Message-State: AJIora8OKxxx5Uuk1w/PwPuKD/rI89H8Cp/KAkU64O3pyBVSFEyQ2Oei sgEVMQgKF0VGtOHVtHUEL6InUOnkuWTZPg0y X-Google-Smtp-Source: AGRyM1vIJ1b3VmLbgKUTFOmrdM3ex5iKY9heXG3fs+b8OTPDSFgFc5I9tX0C6pwYhhds2fBSwP46sg== X-Received: by 2002:a05:620a:c4e:b0:6b2:8e49:6b3d with SMTP id u14-20020a05620a0c4e00b006b28e496b3dmr4679495qki.67.1657768181863; Wed, 13 Jul 2022 20:09:41 -0700 (PDT) Received: from hurd (dsl-10-133-49.b2b2c.ca. [72.10.133.49]) by smtp.gmail.com with ESMTPSA id cb11-20020a05622a1f8b00b0031eb215a682sm525834qtb.13.2022.07.13.20.09.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 20:09:41 -0700 (PDT) From: Maxim Cournoyer References: <87o8nylpsw.fsf@web.de> <20200729081420.GA9973@E5400> <87364c2jem.fsf@gnu.org> Date: Wed, 13 Jul 2022 23:09:40 -0400 In-Reply-To: <87364c2jem.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 24 Aug 2020 16:44:17 +0200") Message-ID: <878rowz8y3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" 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=1657768225; 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: 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:dkim-signature; bh=532mVJa5AlQz2FfsuSSQns2WSTtj6HOw3gVOW9VXtT4=; b=PeOkzcI78iAuhKMCZU6hTtOXELAIYzz07vqjFVfU4O/NbgiRg6AJaIYebHc4hpZIIBT7Km z7cDuapPTT0NY0NDb+XuqJOS/NMxssfFEEnGVVLsTE5aFZc59AQDBtmtduX/WQg8zd738t Emvg/g0f3yuC4UA0+dqHlDWZv8fa/7Av2d+incdyvno6juohGm6JzrzYBjHjjF1koi8maE b7sOc4ftLge1EshrtUG6iIMi0+xT6ofwf3RPzQUnPA8AvNOHhiQMsIzl6M7Izi5pEinzs3 HbPP2fHJm+/nzkEd1pKB392lL1UWUDfzc7ZEsqaa0lqsgwKizMNJN/3g5URcQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657768225; a=rsa-sha256; cv=none; b=eDq3Z5UnBURBF3875CxiWWrdh9FMEgXgyjmrf17cI1rTDZ6DoW4hZPDitrzDDkeOylCGsC SgI36WvK0QhdATDruLmjQEz2LCodqFRMW1WFe5+yjSLQheZ0WjgKpK1wOpfyWYgC/O+oNB 9ULigNBeU3okr9zKLcmIywfphJRAnXnjGaT8mYtk7rev69KCzQmK4GqxLPjJbN1PaSmep3 i1uU98SiL1dkHcIIXfzt5qM3txo3pLKggLB76zu99boLpgRlob8A8e0DfWw9w4YKlglt/j fPf7qVYWwfjWTOBLYF6cS/Ceua/8LU2HFXA+J74fojPzumfoT+l11ZPNJ0Jk/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dT4OLy55; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Spam-Score: 4.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dT4OLy55; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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-Queue-Id: 884172A20E X-Spam-Score: 4.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: 99c3E4tYEBOM Hi, Ludovic Court=C3=A8s writes: > Hi Arne & Efraim, > > efraim Flashner skribis: > >> On Wed, Jul 29, 2020 at 09:54:07AM +0200, Dr. Arne Babenhauserheide wrot= e: >>> Hi, >>>=20 >>> When I get conflicts in propagated imports, I must follow a mechanical >>> multi-step process to resolve them manually. > > [...] > >>> LANG=3DC guix package -i guile-gi python-pycairo dbus-glib cairo guile-= charting libsoup poppler pango >>> The following packages will be upgraded: >>> python-pycairo (dependencies or package changed) >>> dbus-glib (dependencies or package changed) >>> cairo (dependencies or package changed) >>> guile-charting (dependencies or package changed) >>> libsoup (dependencies or package changed) >>> poppler (dependencies or package changed) >>> pango (dependencies or package changed) >>>=20 >>> The following package will be installed: >>> guile-gi 0.3.0 >>>=20 >>> guix package: error: profile contains conflicting entries for glib >>> guix package: error: first entry: glib@2.62.6 >>> /gnu/store/xr6zfqxklmr7skalljn5i071xmgqxbrm-glib-2.62.6 >>> guix package: error: ... propagated from cairo@1.16.0 >>> guix package: error: ... propagated from pango@1.44.7 >>> guix package: error: second entry: glib@2.62.6 >>> /gnu/store/q4100sjqcsdi6b232ndr93vxfzv9bzij-glib-2.62.6 >>> guix package: error: ... propagated from libnotify@0.7.7 >>>=20 >>>=20 >>> This should be automated, so there would be just one step to add all >>> updates I need. [...] > Also, Arne, it seems to me that Guix alone cannot decide how to solve > that conflict; it=E2=80=99s up to the user. Thoughts? I guess it could compute all the conflicts and then fail and show the results, so that the user wouldn't need to slowly iterate on its per-package findings; perhaps recommend to simply upgrade wholesale when the conflicts are too numerous? Perhaps it could even *already* make such a recommendation when encountering conflicts, e.g. --8<---------------cut here---------------start------------->8--- hint: To avoid conflicts, you can upgrade all of your package collection at once with 'guix upgrade'. --8<---------------cut here---------------end--------------->8--- Is this worth it? Maxim