From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: Guix installing different package versions on different machines Date: Sat, 28 Sep 2019 16:41:56 +0200 Message-ID: <8736ggeb4b.fsf@nckx> References: <3468ea1d-61c2-9079-a061-25fd19bb911f@posteo.de> <425835ca2fe9d7d916dee3ff317cb9fa0729abec.camel@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47903) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEDvC-0008Bg-2B for help-guix@gnu.org; Sat, 28 Sep 2019 10:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEDv7-0005h7-Eq for help-guix@gnu.org; Sat, 28 Sep 2019 10:42:03 -0400 Received: from tobias.gr ([2001:470:7405::1]:59622) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iEDv6-0005fG-Qg for help-guix@gnu.org; Sat, 28 Sep 2019 10:42:01 -0400 In-reply-to: <425835ca2fe9d7d916dee3ff317cb9fa0729abec.camel@gmail.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: help-guix@gnu.org Cc: Zelphir Kaltstahl --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Zelphir, Zelphir Kaltstahl =E5=86=99=E9=81=93=EF=BC=9A > I installed Guix on my own machine (Xubuntu 18.04.3) and at work=20 > on my > machine (Ubuntu 18.04.3). Although I do `guix pull` and then=20 > `guix > package -u`, both machines get different versions of packages=20 > installed > this way. > Guile (home: 2.2.4, work: 2.2.6). This is not normal. GNU Guile 2.2.6 was added to Guix almost 3=20 months ago. What does =E2=80=98guix describe=E2=80=99 return on both machines? Somethi= ng=20 recent? You can look up the commit IDs in the git history. What does =E2=80=98which guix=E2=80=99 say? It should print the same thing= on=20 both machines (/home/you!/.config/guix/current/bin/guix).=20 Certainly not /usr/local/bin/guix or anything like that. > I don't > understand this behavior, as I thought that both installations=20 > of Guix > should use the same repositories, because I installed them the=20 > same way > and I even use the same OS at the core. Furthermore I thought,=20 > that Guix > installs packages as they have been provided by contributors and=20 > does > not perform checks, whether some package is suitable on a=20 > system. > > Where is my understanding wrong? Trick question :-) Your understanding is, generally, correct. > What can lead to this behavior? Guix doesn't strictly =E2=80=98use repositories=E2=80=99: package definitio= ns are=20 part of and updated in sync with the package manager, which is why=20 it matters *which* guix runs when you invoke it and why I'm=20 interested in the output of =E2=80=98which guix=E2=80=99 above. =E2=80=98g= uix pull=E2=80=99=20 *only* updates /home/you!/.config/guix/current/bin/guix. Packages can be marked as unsupported on certain architectures=20 (e.g. i686 vs. x86_64 or aarch64) and/or kernels (the Hurd or=20 Linux), but guile@2.2.6 supports all of them. AFAIK Guix only runs on one OS (GNU), so that can't affect things=20 either. Jesse Gibbons =E5=86=99=E9=81=93=EF=BC=9A > To make sure all package versions match, write cron jobs to do=20 > this at the > same time on both machines. Yes. If said matching is really important to you, having all=20 machines =E2=80=98git pull --commit=3D=E2=80=A6=E2=80=99 to the same commit= is even better=20 but requires some communication between them. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl2PcTQACgkQ2Imw8BjF STxZfhAAtCckzzm2UjEArRPWg0Rvq7QnZKKLM1jUl0+r2OGpLU4rty1zLmnmwQzI XgRuAqypvHCMmy6Z19ljkoojL0mJ+eKOzjcXIY64+pQzMMaiXRNUVR1TkBJPoVi2 ZVkmXPjqVNkkIKDdzqj6X0zAFh/p4lbbGUk7ycxk1P8oXdXigCZcPimPSPPnc/qz YS2taqKdLlEGPqrfVaEdAdJ+Zr1Gwdcyu+yZnC7XTzW47SeMNhCcsUtyxZcw6/GR fpTeyq5nrg8CHJ56LdpN5qOXpvxvaAOSgbvh+ReeVAcvZHD2IJKYByiGn2p1lYKu Ow2xgb2R4mRxfinuMRDsYph9KFbslJo6Srt8b8zM1JQlJoknC50adiwJBAP0vyFP tAJTbw6FvJtDIGYE4z0u9taM5QCPgHW/NU5qLofP3XBVRTIuI5RLvC7nIzSJhxDP MWZYemTMyLBFhGx9O4w0YGEk7KbGUPpY3zkpBOKA3F7jTYKjyS+a7fgOgeC1MVUU tt/ouI3Nv6tbPOfB0qeadvRNI6Rw2cZN+ExTnCi6688f5nADWt+Dvequ9m7nCYtf KwXRYmEUPHKLrW/w93xPOwInZnLgifsvLgsDK52xNwPhlH93OavAu+XWcu9+tdIE RGM87Xra5KvTG2YfSjlJaNdolIxpqUHBQB9jZO9xrFmFfiDA6Q4= =k6gn -----END PGP SIGNATURE----- --=-=-=--