Subject: bug#66612: guix locate guild results in sqlite3 attempt to write readonly database

From: Ludovic Courtès <[email-masked]>
Date: Thu, 19 Oct 2023 17:33:15 +0200

Ludovic Courtès <[email-masked]> skribis:

> Matt Wette <[email-masked]> skribis:
>
>> `guix locate guild' fails with attempt to write a readonly sqlite3 database
>>
>> mwette@bluefin$ strace -o logx guix locate guild
>> guix locate: indexing files from /gnu/store...
>> guix locate: traversing local profile manifests...
>
> The bug here is that it picked the system-wide database:

The immediate workaround is to run ‘guix locate --update’ once: it’ll
create an up-to-date database under ~/.cache, which will then be used
unconditionally.

Ludo’.