From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK77yg55u45pKy6YGT?= Subject: Re: Export archive and import it on another machine Date: Fri, 19 Feb 2016 09:42:59 +0000 Message-ID: <92F3C593-B017-4E74-9602-784DE122A578@sumou.com> References: <20160218223452.GB9390@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWhae-0006oe-Vl for help-guix@gnu.org; Fri, 19 Feb 2016 04:43:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWhab-0002Ec-Mg for help-guix@gnu.org; Fri, 19 Feb 2016 04:43:08 -0500 Received: from mccarthy.hcoop.net ([69.90.123.73]:49694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWhab-0002EV-JW for help-guix@gnu.org; Fri, 19 Feb 2016 04:43:05 -0500 Received: from 203.179.broadband3.iol.cz ([85.70.179.203] helo=[192.168.1.218]) by mccarthy.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aWhaa-0006FB-PV for help-guix@gnu.org; Fri, 19 Feb 2016 04:43:05 -0500 In-Reply-To: <20160218223452.GB9390@jasmine> 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-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: help-guix@gnu.org On February 18, 2016 11:34:52 PM CET, Leo Famulari wrote: >On Thu, Feb 18, 2016 at 08:01:44PM +0000, 白い熊@相撲道 wrote: >> I'm trying to export Libreoffice from one PC and import it on another >one — the reason I'm doing this is that with the latest git checkout >when I try to install it on a PC with a newly installed GuixSD it keeps >building it from source and failing. >> >> Anyhow, on the machine that I have it installed I ran: >> >> # guix archive --generate-key >> $ guix archive --export -r /gnu/store/hash...libreoffice-5.0.3.2 > >libreoffice-5.0.3.2.nar >> >> Then copied the nar and /etc/guix/signing-key.pub to the other PC. >> >> There I ran: >> >> # guix archive --authorize < signing-key.pub >> $ guix archive --import < libreoffice-5.0.3.2.nar >> >> The last command fails with: >> >> guix archive: error: build failed: program `guix-authenticate' failed >with exit code 1 >> >> What am I doing wrong? > >Hm, I'm not sure. Are you sure the source machine's public key is in >/etc/guix/acl? I think it is — I see one entry in the acl file, but since it's a hash I don't know how to confirm that it represents the much shorter hash found in the source machine's signing-key.pub file. >> Side question — why is it building Libreoffice from source on “guix >package -i libreoffice”? Recipe there, but not built on Hydra? How can >I install an earlier already—built version? > >Most likely for this reason: >http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22653 > >You can install an earlier version by checking out a commit in the Guix >git repo from before Vigra broke, and building based on that commit >[0]. That's good — I can do that. I'm not really familiar with git yet — how can I determine the commit representing the point in time before Vitro broke and pull it? And how do I go back to master after rebuilding and installing libreoffice? >When building Guix from git, be sure to pass the correct value to >./configure --localstatedir=. Most likely it is '/var'. Thank you for reminding me of this! I would have forgotten for sure! :@) -- 白い熊@相撲道 >[0] >https://www.gnu.org/software/guix/manual/guix.html#Building-from-Git