unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Pierre-Henry Fröhring" <contact@phfrohring.com>
To: 52702@debbugs.gnu.org
Subject: bug#52702: Cannot install a package from a `nar' archive without network access.
Date: Tue, 21 Dec 2021 11:45:20 +0100	[thread overview]
Message-ID: <181a435717132981d3ffe3d3ac8b2d89742451e1.camel@phfrohring.com> (raw)

Hello,

I cannot get Guix to install a package from a `nar' archive without network access. 
Here are the steps to reproduce the unexpected behaviour : 

These commands :


┌────
│ guix install hello
│ guix archive --export -r hello > hello.nar
│ guix remove hello
│ guix package --delete-generations
│ guix gc
│ guix archive --import < ./hello.nar
│ guix package -i /gnu/store/81bdcd5x4v50i28h98bfkvvkx9cky63w-hello-2.10
└────

give :

┌────
│ Le paquet suivant sera installé :
│    hello 2.10
│ 
│ La dérivation suivante sera compilée :
│    /gnu/store/b3zshi8adni3xy2zn3cngayh5dhfvvrs-profile.drv
│ 
│ 32,0 Mo seront téléchargés
│ guix substitute: error: erreur lors de la consultation du nom d'h\u00f4te : Nom ou service inconnu
│ la substitution de /gnu/store/gzh4pjhzhbfbn4kdiba3hl8b264y19q4-module-import-compiled a échoué
│ guix package: erreur : some substitutes for the outputs of derivation
│ `/gnu/store/6i7mhz4vxl4g19q7cabc0rvmpw5dijzx-module-import-compiled.drv' failed
│ (usually happens due to networking issues); try `--fallback' to build derivation from
│ source
└────





                 reply	other threads:[~2021-12-21 14:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=181a435717132981d3ffe3d3ac8b2d89742451e1.camel@phfrohring.com \
    --to=contact@phfrohring.com \
    --cc=52702@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).