From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#29255: "Profile contains conflicting entries" could be more helpful Date: Mon, 11 Dec 2017 09:53:15 +1100 Message-ID: <5A2DBADB.80902@sturm.com.au> References: <87bmk98yeq.fsf@sturm.com.au> <87bmk8hq6v.fsf@gnu.org> <87609zcyp1.fsf@elephly.net> <87r2sg3qxx.fsf@gnu.org> <87shci9p5e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TSN8MWOklHM7HaNU82Irnl0aVChNORn0I" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOAU2-000586-4j for bug-guix@gnu.org; Sun, 10 Dec 2017 17:54:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOATy-0007FJ-8G for bug-guix@gnu.org; Sun, 10 Dec 2017 17:54:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOATy-0007FD-4g for bug-guix@gnu.org; Sun, 10 Dec 2017 17:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOATx-0002R2-SS for bug-guix@gnu.org; Sun, 10 Dec 2017 17:54:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87shci9p5e.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?= , Ricardo Wurmus Cc: 29255-done@debbugs.gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TSN8MWOklHM7HaNU82Irnl0aVChNORn0I Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/12/17 09:47, Ludovic Court=C3=A8s wrote: >> When the version numbers are the same, we cannot tell whether a varian= t >> is =E2=80=9Colder=E2=80=9D, we can just tell that it=E2=80=99s differe= nt. Also, I find it >> useful to see the propagation stack as is currently the case. >> >> With the patch below, I get: >> >> $ ./pre-inst-env guix package -p foo -i python@2 python >> The following packages will be installed: >> python 2.7.13 /gnu/store/vysfxizaddh1q8s5qjgbdkzxx0585dzi-python-2.= 7.13 >> python 3.5.3 /gnu/store/m4rdgmvdqcxs2zhv42idnz1s1w391i8j-python-3.5= =2E3 >> >> guix package: error: profile contains conflicting entries for python:o= ut >> guix package: error: first entry: python@2.7.13 /gnu/store/vysfxizad= dh1q8s5qjgbdkzxx0585dzi-python-2.7.13 >> guix package: error: second entry: python@3.5.3 /gnu/store/m4rdgmvdq= cxs2zhv42idnz1s1w391i8j-python-3.5.3 >> hint: You cannot have two different versions or variants of `python' i= n the same profile. >> >> >> and: >> >> $ ./pre-inst-env guix package -i guile-cairo -p foo --no-grafts >> The following package will be installed: >> guile-cairo 1.4.1 /gnu/store/dsdbp9sqla6zz2skljlcr5zfjyzvargf-guile= -cairo-1.4.1 >> >> guix package: error: profile contains conflicting entries for cairo:ou= t >> guix package: error: first entry: cairo@1.14.10 /gnu/store/c4vl4hw5j= ccg0b23sfvs0kdnfdbxdlgm-cairo-1.14.10 >> guix package: error: ... propagated from guile-cairo@1.4.1 >> guix package: error: second entry: cairo@1.14.10 /gnu/store/nwxv9s2q= 8pi0m6gn6fyidpj8442dwp6f-cairo-1.14.10 >> guix package: error: ... propagated from cairomm@1.12.2 >> hint: Try upgrading both `guile-cairo' and `cairomm', or remove one of= them from the profile. >=20 > I=E2=80=99ve pushed the patch as commit > 3b80b81358b3861ca3794105c8eb4395df97846b. Hopefully these hints help > users get on the right track, and we can always adjust them. That's Ludo, that's great! --TSN8MWOklHM7HaNU82Irnl0aVChNORn0I Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJaLbrfAAoJEAI8BeLJwGjwOY4P/i6tQmRVO82lplMUA+n7Xz5H IWYx4J+cNJsCZwgsbV5BJHciMD23U+IX/5zCDtZy8ilXVUKxeh1dPzCMzX86zHnf ozbNxzl0EQFUS13jJnfVoTUtMn3IpIqHJ1IiuU1m/hxejzZFh1hOG6+L41a26wi3 +vABvlDKKNju5CntMQ2eVaQ6yl7bNDs0ZLbic7aY1NXkL1KvjqucdVibMD6m8S1B AFMPZbsYSrZKw/KFlozVNbks7H7nT7F2DcYHdXgX6M+IQ+IfOmsM/zlctxoX3+dp rjVnW+foxqiWdVDTNRwP8sDI1diIGJmKbz4FotJ9beAYNM3OS/8wFNTI808fVCoH JRdfd2bUp1gbr/7bXW6KrPXzmV7ZSEKnJ+sW8XKoTs+RBQ3VTImzled8qrzdXn8L LVlj2VxfjnoZNYvFoUIMJjLg4XxHRIfNroGpd9dwuiBG1bt9mfeGa7yXLvY3lx2N 08dHNq3+ZlnM44LA2/mlHJszz/X32JuMVg6mSiDJlm7kMe9zLvjM3rN9VUnkh06G IIRorArT6dJJwXwICu6baxMC184fXDNr7MtzPcFFYY0wqe48EgUH1aAbPxNluR8t OMfzOphKAwtNd/7fNJ6VJqzjjvFeBds4VdUR1Ii+5m+O9neOMBgo6Jd3X4BRRHK+ msPCMfYLAEADPi5ZyztT =h3e4 -----END PGP SIGNATURE----- --TSN8MWOklHM7HaNU82Irnl0aVChNORn0I--