From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#29255: "Profile contains conflicting entries" could be more helpful Date: Fri, 24 Nov 2017 19:35:06 +0100 Message-ID: <87609zcyp1.fsf@elephly.net> References: <87bmk98yeq.fsf@sturm.com.au> <87bmk8hq6v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIIpa-0005IS-0m for bug-guix@gnu.org; Fri, 24 Nov 2017 13:36:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIIpW-0006g2-PD for bug-guix@gnu.org; Fri, 24 Nov 2017 13:36:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIIpW-0006fI-JC for bug-guix@gnu.org; Fri, 24 Nov 2017 13:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIIpW-00021E-Ak for bug-guix@gnu.org; Fri, 24 Nov 2017 13:36:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87bmk8hq6v.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29255@debbugs.gnu.org, Ben Sturmfels Ludovic Court=C3=A8s writes: > Ben Sturmfels skribis: > >> So I think the bug is that the user interface could be more helpful here= . >> It should probably either tell you what happened and what you can do to >> fix it, or offer to resolve the conflict/perform the upgrade for you. > > Would it be desirable or even feasible to resolve the conflict for you? > I wouldn=E2=80=99t want the tool to remove installed packages without ask= ing me, > for instance. Guix could resolve the conflict by upgrading the existing and conflicting item in the profile. In my experience that=E2=80=99s usually w= hat a user wants. Guix could also remind the users to use =E2=80=9C--manifest=E2=80=9D or to = upgrade items in the profile. > Could you suggest messages you=E2=80=99d like to see in this case? In this case it is not entirely clear that the existing python-requests package in the profile is =E2=80=9Cold=E2=80=9D. The version looks the sam= e and the hash is opaque. Would it be possible to record something about the Guix version that was used to install a package? Then we could say: An older variant of python-requests is installed in this profile (propagated from package =E2=80=9Cfoo-bar=E2=80=9D) and conflicts with a = newer variant (propagated from package =E2=80=9Cpython-twine=E2=80=9D). I understand that it is challenging to accurately describe the version of Guix in the presence of GUIX_PACKAGE_PATH. With a more formal definition of channels (e.g. requiring a description file for the channel that includes a version or date string) this problem could be side-stepped. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net