From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8HQ+Gy/NuWLevgAAbAwnHQ (envelope-from ) for ; Mon, 27 Jun 2022 17:30:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gAlMGy/NuWK21gAA9RJhRA (envelope-from ) for ; Mon, 27 Jun 2022 17:30:55 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3254CB10C for ; Mon, 27 Jun 2022 17:30:55 +0200 (CEST) Received: from localhost ([::1]:43186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5pyJ-0004K7-IJ for larch@yhetil.org; Mon, 27 Jun 2022 10:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5pxO-0002kB-Ko for help-guix@gnu.org; Mon, 27 Jun 2022 10:43:18 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:59518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5pxM-0004S2-DL for help-guix@gnu.org; Mon, 27 Jun 2022 10:43:18 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e8b91e23; Mon, 27 Jun 2022 14:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=Wt8SoTNzgjaG CaI7nW3wGpOYApDOk6zDgoNxFJZYloE=; b=Y7KslrbFomXaURv5Nkxasd0YioC9 35UUjDxeGxaLcf5imOcELji7f+YP0qk1JWgbEkDZ10sAL+zO1GnjB1Z/e5aTAkXR HjTit6Hj7KXLBWStFdnu3MTdCHrSASVagSYDYPGbEvagfSYfYcFq5xZpos335K0s Wp95vwGrPaWa6UO4j6el/ZqhJsKu6CYONbGZtWmIBI4ySZgI400x0gHbbOKkFdMR +WiSPBWjBydJ3eDR+DTmDdGhPceQ0r/kJ8Jj1D8vyrfrlJ7FDUP/cgiQqx8WTeEo gQGmSnFmfM1La69R1t0wNv0168U8cK8AFrDEj0YatSI729po0gR92YmyXg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id dddafd11 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 27 Jun 2022 14:42:09 +0000 (UTC) Date: Mon, 27 Jun 2022 16:42:04 +0200 From: Julien Lepiller To: help-guix@gnu.org, Emmanuel Medernach , help-guix Subject: Re: Trying to replicate guix packages list on another machine User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656343855; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OX9Hzl5CWzUHZ77SEjAh3h991Kb3jvQA5capr+OcW0o=; b=DhoX6n2Ls7uqxtG75gaPePMi8fB3uwzDmn0qE0PwoCdHizUFrAXxV3QijyS/wUlyiqydeb 2Iv+wJrjq+pb4U//tostwHiF6qa9Hre54IIMigdogFYUNSJK8PMeik5Q0lzTQmMIRSKcwj 5YkGCL+npOWV3QIjN3jv0uZ73SA6M2Eusaohq7PxbAQaLYyd5JUPl4C7ODDjMT6QK17TIa 3YhBPcCZaX9ogoxvciJUQ/D/5aFzz2nvgyRLCUlhP825p/zieoMOzqM4AcaB7nN192XOkW GmY8kh21QmUyHhVi6FziZUTb2ka1EWgwZMgGbJY7OfuKsjaOv/SWEMdgW6fuNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656343855; a=rsa-sha256; cv=none; b=lUAtu5z6MN19RrDRg9TeXYsiMNUHSEOzvgfDx1kSe+5WyxECGOSnoJD9bSWXqDvYMTSOCq bctZnJuZjM8zJV3y94baQpAaJDEN5cjM4TCLU0HX+9xf0Bv627iW26vLWY4fpRHRGlxGG5 febYpeoYoPpXYXLGMExAHig58TypTp8ivm0lf8iTCen43QWOa8fVIhEIKKHVopgAN9ysZ4 97KY8D8Af/88y6oPeU9PMKKxuEs5YB+H+05B0/Fwnc7kqHuiKSB6o47wffauJsDGOEk5cM GF8FVb2A/K7Isn8L6NXp1oQhJlv1g9Yiw9VKbySEw6M13HY2hFBLycqsAMpzZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=Y7KslrbF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=Y7KslrbF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3254CB10C X-Spam-Score: 5.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: hnpsfRi/aSYb It's possible your packages on machine A are from various guix revisions, i= f you didn't run "guix update" or didn't use a manifest to install them=2E Eg you run "guix install glibc" at revision A, pull revision B where glibc= was updated to 2=2E34=2E When you list your packages, it still mentions gl= ibc@2=2E33 because you didn't update it=2E Then you try to replicate it on = another machine by pulling revision B, but that old glibc is no longer avai= lable=2E Manifests ensure that all packages are from the same revision, although if= you pull a new guix without reinstalling the manifest, you'll have the sam= e issue because you're confusing the guix version from which the package wa= s installed, and the current guix version=2E On June 27, 2022 3:49:58 PM GMT+02:00, Emmanuel Medernach wrote: >Hello, > >We are trying to replicate guix packages list on another machine=2E We ar= e using GUIX on a foreign distro=2E > >Here what we have on machine A: > >[Machine A]$ guix describe --format=3Dchannels >(list (channel >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name 'guix) >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "https://git=2Esavannah= =2Egnu=2Eorg/git/guix=2Egit") >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "a0178d34f582b50e9= bdbb0403943129ae5b560ff") >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (introduction >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (make-channel-intr= oduction >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "9edb3= f66fd807b096b48283debdcddccfea34bad" >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (openp= gp-fingerprint >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 "BBB0 2DDF 2CEA F6A8 0D1D=C2=A0 E643 A2A0 6DF2 A33A 54FA"))))) > >[Machine A]$ guix package --list-installed=C2=A0 | sort | awk '//{ print = $1 "@" $2; }' >cmake@3=2E19=2E2 >gcc-toolchain@4=2E9=2E4 >glibc@2=2E33 >gsl@2=2E6 >icu4c@68=2E2 >make@4=2E3 >pcre@8=2E44 >zlib@1=2E2=2E11 > >But on machine B: > >[Machine B]$ cat ~/=2Econfig/guix/channels=2Escm >(list (channel >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name 'guix) >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "https://git=2Esavannah= =2Egnu=2Eorg/git/guix=2Egit") >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "a0178d34f582b50e9= bdbb0403943129ae5b560ff") >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (introduction >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (make-channel-intr= oduction >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "9edb3= f66fd807b096b48283debdcddccfea34bad" >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (openp= gp-fingerprint >=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 "BBB0 2DDF 2CEA F6A8 0D1D=C2=A0 E643 A2A0 6DF2 A33A 54FA"))))) > >[Machine B]$ guix install cmake@3=2E19=2E2 gcc-toolchain@4=2E9=2E4 glibc@= 2=2E33 gsl@2=2E6 icu4c@68=2E2 make@4=2E3 pcre@8=2E44 zlib@1=2E2=2E11 >guix install: error: glibc: package not found for version 2=2E33 > >What are we doing wrong ? Please tell us what steps are missing to correc= tly replicate guix packages to another machine ? > >Best regards, > >Emmanuel Medernach > > >