From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: guix package conflict Date: Sun, 11 Aug 2019 19:26:30 +0200 Message-ID: <87ef1rmx4p.fsf@ambrevar.xyz> References: <87y301v5hb.fsf@elephly.net> <87mugh8hqn.fsf@zancanaro.id.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60804) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwrc6-0006Z7-OP for help-guix@gnu.org; Sun, 11 Aug 2019 13:26:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwrc4-0002AS-Tw for help-guix@gnu.org; Sun, 11 Aug 2019 13:26:38 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:52049) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hwrc4-00026X-Mm for help-guix@gnu.org; Sun, 11 Aug 2019 13:26:36 -0400 In-Reply-To: <87mugh8hqn.fsf@zancanaro.id.au> 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: Carlo Zancanaro , help-guix@gnu.org Cc: Andy Tai --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Carlo Zancanaro writes: > It looks like `guix package -u` compares the version of the=20 > package, and only updates if the package's version has changed=20 > (and even then, only if it has increased). This means that if a=20 > package's inputs (and thus its store hash) have changed, but its=20 > version has not, the version left in the profile will have=20 > outdated inputs, which can conflict if they are propagated. So=20 > `guix package -u` doesn't fix this problem. > > `guix package -i`, on the other hand, just installs whatever it's=20 > told to, so it will install the same package at the same version,=20 > but with updated inputs. Then all the propagated inputs end up=20 > being the same, so there is no conflict. I didn't know that! O.o Is this documented in the manual? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl1QT8YACgkQm9z0l6S7 zH89Pwf/b5kg07cd0+i2MRUJ3tuMe3npbaa+zETNM/V1kqllQJSSSaOm0ePF3wcc vXeOOlglSgRF6l6JC5CTpDBd/ldciJ30rgR5yx3b49jUKo+FgOH1yynoABi3YS4C 8Nd3vGiY97punwU1JnaOsQMJUycA+W3aNoRa5X3hT4DRjOxSLYWKC49Fc6c2oXUg Ywo+0kWTZ+e+Xk5BpmZY0hjTPPN/2tfPmQAXJeMYSQLdNM7k+ubChrUnj7SmjBr9 MZ9xegALPznY6sfOrqm1sRCy7ZcBJjY52ThAAjXGIDdlYfi4IHGXx6JWlWbUnaLd v+wFlmrBHb6gFLTqUZgUQCVEoqHvdw== =XDjG -----END PGP SIGNATURE----- --=-=-=--