* bug#34281: guix pull - maybe a bug
@ 2019-02-01 20:14 Thibaut Brandscheid
2019-02-04 21:30 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Thibaut Brandscheid @ 2019-02-01 20:14 UTC (permalink / raw)
To: 34281
[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 762 bytes --]
[-- Attachment #2: guix_pull_output.txt --]
[-- Type: text/plain, Size: 1721 bytes --]
~> guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
guix https://git.savannah.gnu.org/git/guix.git 43af5f9
Computing Guix derivation for 'x86_64-linux'... /Backtrace:
In ./guix/gexp.scm:
703:2 19 (_ _)
In ./guix/monads.scm:
471:9 18 (_ _)
In ./guix/gexp.scm:
573:13 17 (_ _)
In ./guix/store.scm:
1610:8 16 (_ _)
1610:8 15 (_ _)
In ./guix/gexp.scm:
703:2 14 (_ _)
In ./guix/monads.scm:
471:9 13 (_ _)
In ./guix/gexp.scm:
573:13 12 (_ _)
In ./guix/store.scm:
1610:8 11 (_ _)
In ./guix/gexp.scm:
703:2 10 (_ _)
In ./guix/monads.scm:
471:9 9 (_ _)
In ./guix/gexp.scm:
573:13 8 (_ _)
In ./guix/store.scm:
1610:8 7 (_ _)
In ./guix/gexp.scm:
703:2 6 (_ _)
In ./guix/monads.scm:
471:9 5 (_ _)
In ./guix/gexp.scm:
573:13 4 (_ _)
In ./guix/store.scm:
1610:8 3 (_ _)
1633:38 2 (_ #<store-connection 256.99 94fb960>)
In ./guix/derivations.scm:
847:17 1 (derivation #<store-connection 256.99 94fb960> _ _ _ # _ ?)
In ./guix/store.scm:
982:9 0 (_ #<store-connection 256.99 94fb960> _ #vu8(68 101 # ?) ?)
./guix/store.scm:982:9: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "opening file `/gnu/store/vncqqf1nzbbc4hkaib5mkpzr4vn61qdl-guile-git-0.2.0.drv': No such file or directory" status: 1] 5549720>)'.
guix pull: error: You found a bug: the program '/gnu/store/31i9n611q290rm60zfglpw6ki0gfbafg-compute-guix-derivation'
failed to compute the derivation for Guix (version: "43af5f9d1961a89430d19a2e1509615586bc5dbd"; system: "x86_64-linux";
host version: "0.16.0"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#34281: guix pull - maybe a bug
2019-02-01 20:14 bug#34281: guix pull - maybe a bug Thibaut Brandscheid
@ 2019-02-04 21:30 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-02-04 21:30 UTC (permalink / raw)
To: Thibaut Brandscheid; +Cc: 34281
Hello,
Thibaut Brandscheid <randaltor@web.de> 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 the
> 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 &store-protocol-error [message: "opening file `/gnu/store/vncqqf1nzbbc4hkaib5mkpzr4vn61qdl-guile-git-0.2.0.drv': No such file or directory" status: 1] 5549720>)'.
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 ‘--roll-back’.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-04 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-01 20:14 bug#34281: guix pull - maybe a bug Thibaut Brandscheid
2019-02-04 21:30 ` Ludovic Courtès
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).