all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ‘package-derivation’ fails with “No such file or directory”
@ 2014-04-29 23:49 Nikita Karetnikov
  2014-04-30 13:07 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Nikita Karetnikov @ 2014-04-29 23:49 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

I’d like to test a patch with the empty store.  I deleted ‘/gnu’ and
reinstalled Guix.  But whenever I call (package-derivation store hello),
I run into “ERROR: In procedure open-file: No such file or directory:
"/gnu/store/…-guile-bootstrap-2.0.drv".”  Did I forget to delete any
cached files?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ‘package-derivation’ fails with “No such file or directory”
  2014-04-29 23:49 ‘package-derivation’ fails with “No such file or directory” Nikita Karetnikov
@ 2014-04-30 13:07 ` Ludovic Courtès
  2014-04-30 22:53   ` Nikita Karetnikov
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-04-30 13:07 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> I’d like to test a patch with the empty store.  I deleted ‘/gnu’ and
> reinstalled Guix.  But whenever I call (package-derivation store hello),
> I run into “ERROR: In procedure open-file: No such file or directory:
> "/gnu/store/…-guile-bootstrap-2.0.drv".”  Did I forget to delete any
> cached files?

Yes, probably /var/guix/db/db.sqlite (or similar) was left behind,
leading to an inconsistency (this database contains info about what’s in
the store.)

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ‘package-derivation’ fails with “No such file or directory”
  2014-04-30 13:07 ` Ludovic Courtès
@ 2014-04-30 22:53   ` Nikita Karetnikov
  0 siblings, 0 replies; 3+ messages in thread
From: Nikita Karetnikov @ 2014-04-30 22:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

> Yes, probably /var/guix/db/db.sqlite (or similar) was left behind,
> leading to an inconsistency (this database contains info about what’s in
> the store.)

Indeed, thanks.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-30 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-29 23:49 ‘package-derivation’ fails with “No such file or directory” Nikita Karetnikov
2014-04-30 13:07 ` Ludovic Courtès
2014-04-30 22:53   ` Nikita Karetnikov

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.