From unknown Sat Sep 20 07:50:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52702 <52702@debbugs.gnu.org> To: bug#52702 <52702@debbugs.gnu.org> Subject: Status: Cannot install a package from a `nar' archive without network access. Reply-To: bug#52702 <52702@debbugs.gnu.org> Date: Sat, 20 Sep 2025 14:50:50 +0000 retitle 52702 Cannot install a package from a `nar' archive without network= access. reassign 52702 guix submitter 52702 Pierre-Henry Fr=C3=B6hring severity 52702 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 09:13:02 2021 Received: (at submit) by debbugs.gnu.org; 21 Dec 2021 14:13:02 +0000 Received: from localhost ([127.0.0.1]:52779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzfsz-0005Ig-0Y for submit@debbugs.gnu.org; Tue, 21 Dec 2021 09:13:02 -0500 Received: from lists.gnu.org ([209.51.188.17]:47068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzce7-0007ON-3F for submit@debbugs.gnu.org; Tue, 21 Dec 2021 05:45:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzce6-0007fE-QC for bug-guix@gnu.org; Tue, 21 Dec 2021 05:45:26 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:37371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzce4-0002bi-NM for bug-guix@gnu.org; Tue, 21 Dec 2021 05:45:26 -0500 Received: (Authenticated sender: contact@phfrohring.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id BFC7D20005 for ; Tue, 21 Dec 2021 10:45:20 +0000 (UTC) Message-ID: <181a435717132981d3ffe3d3ac8b2d89742451e1.camel@phfrohring.com> Subject: Cannot install a package from a `nar' archive without network access. From: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= To: bug-guix@gnu.org Date: Tue, 21 Dec 2021 11:45:20 +0100 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.200; envelope-from=contact@phfrohring.com; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 21 Dec 2021 09:12:59 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) 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 └────