GNU bug report logs - #34281
guix pull - maybe a bug

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Thibaut Brandscheid <randaltor@HIDDEN>; dated Fri, 1 Feb 2019 20:31:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 34281 <at> debbugs.gnu.org:


Received: (at 34281) by debbugs.gnu.org; 4 Feb 2019 21:30:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 04 16:30:11 2019
Received: from localhost ([127.0.0.1]:59774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gqloh-0000QW-4w
	for submit <at> debbugs.gnu.org; Mon, 04 Feb 2019 16:30:11 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:40620)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gqloe-0000QM-MY
 for 34281 <at> debbugs.gnu.org; Mon, 04 Feb 2019 16:30:09 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 07BFABAAB;
 Mon,  4 Feb 2019 22:30:08 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 5Q_cOIvc5mxO; Mon,  4 Feb 2019 22:30:07 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 125DEBA69;
 Mon,  4 Feb 2019 22:30:06 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Thibaut Brandscheid <randaltor@HIDDEN>
Subject: Re: bug#34281: guix pull - maybe a bug
References: <CALwiZw5ZfGZNDdxQSHhj+j2G5mVMDwTv-3tMn3Pq+6j3TCuBUg@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la
 =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 04 Feb 2019 22:30:06 +0100
In-Reply-To: <CALwiZw5ZfGZNDdxQSHhj+j2G5mVMDwTv-3tMn3Pq+6j3TCuBUg@HIDDEN>
 (Thibaut Brandscheid's message of "Fri, 1 Feb 2019 21:14:08 +0100")
Message-ID: <87bm3rp7hd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 34281
Cc: 34281 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello,

Thibaut Brandscheid <randaltor@HIDDEN> skribis:

> I use openSUSE Tumbleweed and got n the last days a faulty update. This
> happens maybe ones or twice a year. So I did what I always do, I revert t=
he
> non-user file system to an older btrfs snapshot. The thing is, that guix
> pull does no longer work after the system rollback.

[...]

> ./guix/store.scm:982:9: Throw to key `srfi-34' with args `(#<condition &s=
tore-protocol-error [message: "opening file `/gnu/store/vncqqf1nzbbc4hkaib5=
mkpzr4vn61qdl-guile-git-0.2.0.drv': No such file or directory" status: 1] 5=
549720>)'.

By reverting to an earlier Btrfs snapshot, you ended up with a corrupt
store.  The store actually consists of two things: the files under
/gnu/store, and the /var/guix/db/db.sqlite database that contains
metadata about those files.  Presumably, after you reverted to an
earlier snapshot, those two bits got out of sync, leading to the error
above.

At this point you may have to reinstall Guix.  The take-away is that you
should never rely on file-system-level rollbacks for Guix; instead use
the mechanisms that Guix provides, such as =E2=80=98--roll-back=E2=80=99.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#34281; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Feb 2019 20:30:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 01 15:30:19 2019
Received: from localhost ([127.0.0.1]:55300 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gpfS6-00022w-PB
	for submit <at> debbugs.gnu.org; Fri, 01 Feb 2019 15:30:19 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52952)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <t.brandscheid@HIDDEN>) id 1gpfD1-0001cC-AR
 for submit <at> debbugs.gnu.org; Fri, 01 Feb 2019 15:14:43 -0500
Received: from lists.gnu.org ([209.51.188.17]:37986)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <t.brandscheid@HIDDEN>)
 id 1gpfCw-0007ie-0j
 for submit <at> debbugs.gnu.org; Fri, 01 Feb 2019 15:14:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:39083)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <t.brandscheid@HIDDEN>) id 1gpfCu-0002SQ-Id
 for bug-guix@HIDDEN; Fri, 01 Feb 2019 15:14:37 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <t.brandscheid@HIDDEN>) id 1gpfCs-0007e8-IW
 for bug-guix@HIDDEN; Fri, 01 Feb 2019 15:14:36 -0500
Received: from mail-lf1-f41.google.com ([209.85.167.41]:39823)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <t.brandscheid@HIDDEN>)
 id 1gpfCs-0007aM-2i
 for bug-guix@HIDDEN; Fri, 01 Feb 2019 15:14:34 -0500
Received: by mail-lf1-f41.google.com with SMTP id z26so270405lfj.6
 for <bug-guix@HIDDEN>; Fri, 01 Feb 2019 12:14:20 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=H3hnqAIVu3O4GDh2fjshVINu7SNDCExlrz6rg7CjswQ=;
 b=brCZMJ/+LKfF4TFAHrQkqq9/PDNZrG+zQ3yZNpYdJxT9BftVGkhCpk6XmcQ6tVmG51
 OziGXJyTPdKcicgsf6mmJbJrgUHZTiq96kkO7vAxQhp0XCP/fez8vEe23XnKUCzW93Pq
 Es1yhOM070tgC34s9/GV6qolx/ni+7i2/Rzd6rMqTd3UYzj8hs/ATWny4UXuhgYKE33J
 aK0pozJsgYd3w/w4axfyKcbADWcouYmdwfqKUy7jpst89+yiiuSVSX5hzus3GnEWM54e
 iD/fPZfFAhpZyzpXFhHImxf2fNngHj0i3WuwfhG+YSpiFRx9hs9yTMNF+Wh8M7sm+7GN
 PrMQ==
X-Gm-Message-State: AJcUukcX323cFyO8aXuRuM/UifitDTy6EsLvUFJPYdz/M5d234gVbVSa
 7cyaPIdy1DrfnirpvFTXxMx4cHqGdAWtT1nZ06/J7w==
X-Google-Smtp-Source: ALg8bN6ODw+UcWgQDwhtiGKute71usSVkMhNItz0tS9JnqRnWhOftmKaewsX6xXBO7hZe3aXIOn233amvNW0yQ4AKMY=
X-Received: by 2002:a19:6806:: with SMTP id d6mr31411325lfc.48.1549052059360; 
 Fri, 01 Feb 2019 12:14:19 -0800 (PST)
MIME-Version: 1.0
From: Thibaut Brandscheid <randaltor@HIDDEN>
Date: Fri, 1 Feb 2019 21:14:08 +0100
Message-ID: <CALwiZw5ZfGZNDdxQSHhj+j2G5mVMDwTv-3tMn3Pq+6j3TCuBUg@HIDDEN>
Subject: guix pull - maybe a bug
To: bug-guix@HIDDEN
Content-Type: multipart/mixed; boundary="000000000000bcd8120580dac918"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 209.85.167.41
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 01 Feb 2019 15:30:17 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000bcd8120580dac918
Content-Type: multipart/alternative; boundary="000000000000bcd7e10580dac916"

--000000000000bcd7e10580dac916
Content-Type: text/plain; charset="UTF-8"

Hi,

I use openSUSE Tumbleweed and got n the last days a faulty update. This
happens maybe ones or twice a year. So I did what I always do, I revert the
non-user file system to an older btrfs snapshot. The thing is, that guix
pull does no longer work after the system rollback.
Since this kind of problem might be new to Guix, I decided to write you an
email.

I guess my local profile has some soft-links to non-existing folders or
files.
Any hint on how to resolve this?

If you need more info, I'm glad to help.

Greetings
Thibaut

--000000000000bcd7e10580dac916
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I use openSUSE Tumblewee=
d and got n the last days a faulty update. This happens maybe ones or twice=
 a year. So I did what I always do, I revert the non-user file system to an=
 older btrfs snapshot. The thing is, that <span style=3D"font-family:monosp=
ace,monospace">guix pull</span> does no longer work after the system rollba=
ck.<br></div><div>Since this kind of problem might be new to Guix, I decide=
d to write you an email.</div><div><br></div><div>I guess my local profile =
has some soft-links to non-existing folders or files.</div><div>Any hint on=
 how to resolve this?</div><div><br></div><div>If you need more info, I&#39=
;m glad to help.<br></div><div><br></div><div>Greetings</div><div>Thibaut<b=
r></div></div>

--000000000000bcd7e10580dac916--

--000000000000bcd8120580dac918
Content-Type: text/plain; charset="US-ASCII"; name="guix_pull_output.txt"
Content-Disposition: attachment;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BkZXJpdmF0
aW9uIGZvciBHdWl4ICh2ZXJzaW9uOiAiNDNhZjVmOWQxOTYxYTg5NDMwZDE5YTJlMTUwOTYxNTU4
NmJjNWRiZCI7IHN5c3RlbTogIng4Nl82NC1saW51eCI7Cmhvc3QgdmVyc2lvbjogIjAuMTYuMCI7
IHB1bGwtdmVyc2lvbjogMSkuClBsZWFzZSByZXBvcnQgaXQgYnkgZW1haWwgdG8gPGJ1Zy1ndWl4
QGdudS5vcmc+Lgo=
--000000000000bcd8120580dac918--




Acknowledgement sent to Thibaut Brandscheid <randaltor@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#34281; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.