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 AODSOAwnZWN7dwEAbAwnHQ (envelope-from ) for ; Fri, 04 Nov 2022 15:51:56 +0100 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 AJ7dOAwnZWN6VAEA9RJhRA (envelope-from ) for ; Fri, 04 Nov 2022 15:51:56 +0100 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 8A56514D91 for ; Fri, 4 Nov 2022 15:51:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqy2T-0007gP-Bx; Fri, 04 Nov 2022 10:51:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqy2A-0007ah-El for bug-guix@gnu.org; Fri, 04 Nov 2022 10:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqy2A-0005ZK-6A for bug-guix@gnu.org; Fri, 04 Nov 2022 10:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqy2A-0007Ly-1o for bug-guix@gnu.org; Fri, 04 Nov 2022 10:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58988: How Can I restore a file inside /gnu/store/ ? Resent-From: guixuser@airmail.cc Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Nov 2022 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58988 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: 58988@debbugs.gnu.org Received: via spool by 58988-submit@debbugs.gnu.org id=B58988.166757340528193 (code B ref 58988); Fri, 04 Nov 2022 14:51:02 +0000 Received: (at 58988) by debbugs.gnu.org; 4 Nov 2022 14:50:05 +0000 Received: from localhost ([127.0.0.1]:54530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqy1E-0007Ke-NE for submit@debbugs.gnu.org; Fri, 04 Nov 2022 10:50:05 -0400 Received: from [37.120.193.124] (port=51836 helo=mail.cock.li) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqy18-0007Jf-8m for 58988@debbugs.gnu.org; Fri, 04 Nov 2022 10:50:02 -0400 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=airmail.cc; s=mail; t=1667573391; bh=2Qfg9KOtewVZHAcTG7Sl+VVwrpxXqiwUswG1VaeQbOI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BLdsvMksgQMgVtAXSC4FZ/zmmsb0XPeMjGGrTd12Zknf93jlXX1/1WzaFJiMwgNwW yYz/TiW09d3dq8UoZtztZdpaEcea5a0A8u7ndGdUcdtAv9paEFN8/ZGvCDdIebvzYm YKrVPfBm+ld4g5upRB071AxdoAyjyxMITSFrdJe6gShSrgUj2Bt7b/FSV5BbVaI7ZM EJzr6A0/hHVeU/UBdTYFRaTdZildwdZIVKn4JH+Ye3ZiBoWaHPbgTzP8dbMl9esjQ+ UbrFpVUBngfq3d12CCdmjIUbt3XDNkHeKMjVZGlirHOLron8TJUP4EQrLSCo3zgz3u B/B72+NLCdz9w== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 04 Nov 2022 15:49:51 +0100 From: guixuser@airmail.cc In-Reply-To: <87a6572hof.fsf@nckx> References: <6b05b73d14057490847fac81c9093c13@airmail.cc> <194d56f96794712c59b9766a6956659d@airmail.cc> <87a6572hof.fsf@nckx> Message-ID: <89f0261842f5dd2f060b99e2d1ba6aa7@airmail.cc> X-Sender: guixuser@airmail.cc User-Agent: Roundcube Webmail/1.3.17 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "bug-Guix" Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667573516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=U2U7e/u/bn0m0RHWOyrQ/VohkL4cDBx2DZgOTFL/EQs=; b=O21YBGwYGnoLe7Rl3G/p7kcsbb1Yn3ZcCXQ7xNDdbOa3lL95eCt0JkBYA4bmEyZiffcjtB +HgrVIl0h5oPK2ERMZzpE1UB6IKyLX1b4keocTgQ7mH+mQpDo2hfP5cHSopTMPsRy2PkxL kWkmMgC5MlZ0x0ovk4lhGqRnJhF6eZvSF+FVoMFgMm8j6S/1IRX2I8kEvaMJFppDc94iME zcI5fq4HxLN2j52L0N/43bAGjrGasTnBN6TAtjN73CSyyA1TYv80iRe8Wzu3J9lpL0r26O CsMqVFsGQhXinHQMir4jxd1v/gTW4zDN1tGlp5jJVAi/K/BrCfNRQtC/EohH0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667573516; a=rsa-sha256; cv=none; b=tRj9JKuY3RhCWUmm+/eCIukOdl53iUNdMFPYilzDcRDuI4z1gYaZElQ2hC1TvbAHUvBfEV nk98IFi0EtvXxufLsjl14SXREhWPABOIYfHirkJyPfx2Fu04hqtspiiqPFi+UYTNTyhjrx oNimIA6yaae8WxfS8QxC5dXjq9owiLDEwHVJv1VOWgMWqc0rdn717BoQ9EFHclWRb+314j v/6mZeXBlzHq4TylvFQ7C/nQVi1P4P7I/xoGySGHS5TaQqxLgEaHwtVbpcT2Mv3WJ9PQuv ZaxJE22BHJFcHhAV/FX8fReJsEqhPaM2DQW22IBkdroL+HyR0eY/ng7GaZ2ffA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=airmail.cc header.s=mail header.b=BLdsvMks; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=airmail.cc header.s=mail header.b=BLdsvMks; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8A56514D91 X-Spam-Score: 2.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: /E5leu4xH3Us On 2022-11-04 10:18, Tobias Geerinckx-Rice wrote: > Heyo, > > Adding some notable info that user_ shared on IRC: > >> user2@host ~$ sudo guix build --repair >> /gnu/store/yjllxib1fm3zqkwmr5j4lpxhz3zqsjjz-guix-e3280ae >> Senha: substitute: atualizando substitutos de >> "https://ci.guix.gnu.org"... 100.0% >> substituindo >> /gnu/store/yjllxib1fm3zqkwmr5j4lpxhz3zqsjjz-guix-e3280ae... >> baixando de >> https://ci.guix.gnu.org/nar/lzip/yjllxib1fm3zqkwmr5j4lpxhz3zqsjjz-guix-e3280ae >> ... >> >> guix-e3280ae 792KiB/s 00:21 | 16.1MiB transferred > > guixuser@airmail.cc 写道: >> I need to fix this file but >> /gnu/store/ is read only, How can I restore this file? > > Well, ‘sudo guix gc --verify=contents,repair’, or ‘guix build > --repair’. > > Since neither worked: if you've ‘guix pull’ed before, you should have > some previous profiles as > > /var/guix/profiles/per-user/$USER/current-guix-* > > If so: see if pulling any of those works, e.g., > > $ /var/guix/profiles/per-user/$USER/current-guix-1-link/bin/guix pull > > Kind regards, > > T G-R Thanks for the input, but I still dont get it working I tried few differente profiles here, but they all still referencing the corrupted file, as an example I trie the following: $ /var/guix/profiles/per-user/user/guix-profile-685-link/bin/guix pull [471/1977] Atualizando canal "guix" a partir do repositório Git "https://git.savannah.gnu.org/git/guix.git"... Autenticando canal "guix", commits de 9edb3f6 a 04f8295 (1 novos commits)... Compilando a partir deste canal: guix https://git.savannah.gnu.org/git/guix.git 04f8295 Backtrace: In ice-9/boot-9.scm: 1752:10 19 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 659:37 18 (thunk) In guix/status.scm: 815:4 17 (call-with-status-report _ _) In guix/store.scm: 1321:3 16 (_) 1298:8 15 (call-with-build-handler # …) In guix/build/syscalls.scm: 1425:3 14 (_) 1392:4 13 (call-with-file-lock/no-wait _ # …) In guix/store.scm: 2168:25 12 (run-with-store # …) In guix/scripts/pull.scm: 452:2 11 (_ _) In guix/channels.scm: 891:2 10 (_ _) In guix/monads.scm: 471:9 9 (_ _) In guix/store.scm: 1996:13 8 (_ #) In guix/channels.scm: 682:20 7 (build-from-source #< channel: #< …) In ice-9/boot-9.scm: 2836:4 6 (save-module-excursion #) In guix/channels.scm: 689:25 5 (_) In unknown file: 4 (primitive-load "/gnu/store/vg5b37za8np63s03g98b8rw60h3…") In ice-9/eval.scm: 223:20 3 (proc #) In unknown file: 2 (%resolve-variable (7 . #) #) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: erro: #{\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\ ....