From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KKwrN0bFuWI7cwEAbAwnHQ (envelope-from ) for ; Mon, 27 Jun 2022 16:57:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eLw0N0bFuWJYNAEA9RJhRA (envelope-from ) for ; Mon, 27 Jun 2022 16:57:10 +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 31BD4DF72 for ; Mon, 27 Jun 2022 16:56:36 +0200 (CEST) Received: from localhost ([::1]:54592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5qAF-0004HO-9D for larch@yhetil.org; Mon, 27 Jun 2022 10:56:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5qA1-0004Gz-IJ for help-guix@gnu.org; Mon, 27 Jun 2022 10:56:23 -0400 Received: from cczrelay01.in2p3.fr ([134.158.66.141]:39044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5q9x-0006YB-M1 for help-guix@gnu.org; Mon, 27 Jun 2022 10:56:21 -0400 Received: from [193.48.89.201] (sbgat392.in2p3.fr [193.48.89.201]) (authenticated bits=0) by cczrelay01.in2p3.fr (8.14.4/8.14.4) with ESMTP id 25REuFSG014136 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Mon, 27 Jun 2022 16:56:16 +0200 Message-ID: <4e068700-c40d-b5e7-b629-d1decadef351@iphc.cnrs.fr> Date: Mon, 27 Jun 2022 16:56:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: Trying to replicate guix packages list on another machine Content-Language: en-US To: Julien Lepiller , help-guix@gnu.org References: From: Emmanuel Medernach In-Reply-To: Received-SPF: pass client-ip=134.158.66.141; envelope-from=Emmanuel.Medernach@iphc.cnrs.fr; helo=cczrelay01.in2p3.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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; format=flowed Content-Transfer-Encoding: 8bit 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=1656341796; 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; bh=ba+XGVHlHV/eCBbktB+wpLzGK2yScilJIgTMQGQoJ0M=; b=AF8yhFtS11J8TATA2IWTAqC1NYtGkXX9kYIcsmao+Thk1jsUbhXFEDLEMtKyQQfjqR8Xab 8+5uWfXzjFhHUmqIGHHOvXPC9YQ0mJoKyQ3eT9a1lUeFmeQ1c0wacF5jbkNUEcwpjaUPf5 Jmn9+y+ACoDFWBH8zgn60sjt2MuPrBB6c4Cok57f5PLGC3MeCWQOVO9P3aBbz+Ek+3Uemf chpofN5OP4Gk1UL6S+7GkgO1G489xPrjZ50qSV+I+Ehx3XlYISjlkEwHcJcynMBpHR9ENw PPmj9bOj5vGxzGz7XtEkee8PN0PD48j1dtLTgAGpjaHVEqHSJSv+hrfTZK9JlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656341796; a=rsa-sha256; cv=none; b=BMwn0VYgV4Xg92vPkhMSiq84W+lG9E4OsQwzZ+MowsYNk1zNkTDZiVc2KqlWDEmWnIkGrm YAuC3kDEQ001k+98Zx9z8cdulWlypPHMjxp+z8264xdVsdgl2OWJMkXJmuRCI6SeW0Hu3l fGzf+wDR9ifL4UYnftVKSdvJsm4hbeMzBTmIH4G17mDjZFDLIr/x9CWFueTmmqghkATAgZ txMP6Ol2pSJ9InjdYCWDqYjKWP1vn/eiDLzY49pfNeU1WuwGaM0yuhFei3ox9pE1zebExe 4KluPxSohrrpMf7aD6SgFlIQvXn0alhFJTdjcHYgulZHmeefpz/5ejlbby4BTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 31BD4DF72 X-Spam-Score: -3.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: +rjabugBW1yC Le 27/06/2022 à 16:42, Julien Lepiller a écrit : > It's possible your packages on machine A are from various guix > revisions, if you didn't run "guix update" or didn't use a manifest to > install them. > Yes you are right, that is certainly the case > Eg you run "guix install glibc" at revision A, pull revision B where > glibc was updated to 2.34. When you list your packages, it still > mentions glibc@2.33 because you didn't update it. Then you try to > replicate it on another machine by pulling revision B, but that old > glibc is no longer available. > > 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 same issue because you're confusing the guix version > from which the package was installed, and the current guix version. > Then how to install this previous glibc with other packages on machine B ? Emmanuel > 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. We are using GUIX on a foreign distro. > > Here what we have on machine A: > > [Machine A]$ guix describe --format=channels > (list (channel >         (name 'guix) >         (url"https://git.savannah.gnu.org/git/guix.git") >         (commit >           "a0178d34f582b50e9bdbb0403943129ae5b560ff") >         (introduction >           (make-channel-introduction >             "9edb3f66fd807b096b48283debdcddccfea34bad" >             (openpgp-fingerprint >               "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"))))) > > [Machine A]$ guix package --list-installed  | sort | awk '//{ print $1 "@" $2; }' > cmake@3.19.2 > gcc-toolchain@4.9.4 > glibc@2.33 > gsl@2.6 > icu4c@68.2 > make@4.3 > pcre@8.44 > zlib@1.2.11 > > But on machine B: > > [Machine B]$ cat ~/.config/guix/channels.scm > (list (channel >         (name 'guix) >         (url"https://git.savannah.gnu.org/git/guix.git") >         (commit >           "a0178d34f582b50e9bdbb0403943129ae5b560ff") >         (introduction >           (make-channel-introduction >             "9edb3f66fd807b096b48283debdcddccfea34bad" >             (openpgp-fingerprint >               "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"))))) > > [Machine B]$ guix installcmake@3.19.2 gcc-toolchain@4.9.4 glibc@2.33 gsl@2.6 icu4c@68.2 make@4.3 pcre@8.44 zlib@1.2.11 > guix install: error: glibc: package not found for version 2.33 > > What are we doing wrong ? Please tell us what steps are missing to correctly replicate guix packages to another machine ? > > Best regards, > > Emmanuel Medernach > > >