From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: About conflicting entries in a profile Date: Sat, 11 May 2019 19:59:35 +0200 Message-ID: <20190511195935.5571acab@alma-ubu> References: <20190509235359.GK19928@sax.terramar.selidor.net> <92E9AA64-9502-481C-8E88-1A786CC45A0B@lepiller.eu> <20190510221250.GF11938@sax.terramar.selidor.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/XWB_p6kkkQuTJssLSgQ8fsL"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPWHc-0004em-84 for help-guix@gnu.org; Sat, 11 May 2019 13:59:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPWHb-0005r4-9C for help-guix@gnu.org; Sat, 11 May 2019 13:59:40 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:36046 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPWHb-0005pv-34 for help-guix@gnu.org; Sat, 11 May 2019 13:59:39 -0400 In-Reply-To: <20190510221250.GF11938@sax.terramar.selidor.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ivan Vilata i Balaguer Cc: help-guix@gnu.org --Sig_/XWB_p6kkkQuTJssLSgQ8fsL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 10 May 2019 18:12:50 -0400 Ivan Vilata i Balaguer wrote: > Julien Lepiller (2019-05-10 08:23:22 +0200) wrote: >=20 > > >[=E2=80=A6] What I don't get is *why* having two different versions of > > >``python-attrs`` in the profile is considered an error. My > > >understanding was that two different packages in the profile > > >should be able to depend on different versions of the same library > > >without problems, since they are referred by its absolute path in > > >the store so they don't conflict. I understand that I may not > > >directly ``guix install`` two versions of the same package > > >(because the may e.g. put the same entry under > > >``$GUIX_PROFILE/bin``), but in my case ``python-attrs`` is just a > > >dependency package which doesn't show up in ``guix package -I``. > > > > > >Can anybody shed some light on the issue? Thanks! [=E2=80=A6] =20 Just one more note: Whenever you really NEED to somehow have two versions of the same package installed or two packages with conflicting propagated inputs, a solution is to install them in two different profiles: # Install latest guile in standard profile: $ guix package -i guile # Install older version into different profile: $ guix package --profile=3D/home/me/test-profile -i guile@2.0 See the manual for details :-) Bj=C3=B6rn --Sig_/XWB_p6kkkQuTJssLSgQ8fsL Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXNcNhwAKCRC/KGy2WT5f /bJEAJ9V9sp20zBgEI3Ap7DZBQky+z/m1QCgh0z0Utr80Jc8mBMyaP4BadvP8W0= =exrq -----END PGP SIGNATURE----- --Sig_/XWB_p6kkkQuTJssLSgQ8fsL--