From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: Package Install Question for New User Date: Mon, 5 Nov 2018 19:01:42 +0100 Message-ID: <20181105190142.5d8b9834@alma-ubu> References: <2507D003-6E8F-4DDB-BF8F-68565E56CA35@inskydata.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/J2XiVeec.55uZlhPBAkRkWT"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJjCD-0005mX-MX for help-guix@gnu.org; Mon, 05 Nov 2018 13:01:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJjCA-0007Cy-7O for help-guix@gnu.org; Mon, 05 Nov 2018 13:01:53 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:48864 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJjC7-00078N-VA for help-guix@gnu.org; Mon, 05 Nov 2018 13:01:49 -0500 In-Reply-To: <2507D003-6E8F-4DDB-BF8F-68565E56CA35@inskydata.com> 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: Brian Woodcox Cc: help-guix@gnu.org --Sig_/J2XiVeec.55uZlhPBAkRkWT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 5 Nov 2018 09:33:22 -0700 Brian Woodcox wrote: > All of a sudden the system is downloading and compiling a pile of > packages that were already installed as root. >=20 > Is there a way to have guix use the packages that were installed in > the root account instead of downloading and rebuilding gcc, etc? Hi Brian, store item will be reused. But only if they are really the same. I guess that users root and noobie have two different states of "guix pull": For example noobie did the pull two days later and there was some commit to gcc or one of its dependencies. Then it is no longer the "same" gcc (even if the version number is the same) and will be redownloaded/rebuilt. To cope with that, first pull for the first user, say root. Then use "guix --version" or better "guix describe" to see the commit on which you are on. Then with the second user, use "guix pull --commit=3D". Then both users are "in sync" and if you install the same packages it is just a matter of updating the user's profile. Bj=C3=B6rn --Sig_/J2XiVeec.55uZlhPBAkRkWT Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlvghYYACgkQvyhstlk+X/2ooQCeNt6V1Xy37opHEzImHKEYrfqu yfkAoLQWzanEMoUiCDAZos6mzZULVW1k =WB0T -----END PGP SIGNATURE----- --Sig_/J2XiVeec.55uZlhPBAkRkWT--