From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yL5qIqRMMWUnLwEA9RJhRA:P1 (envelope-from ) for ; Thu, 19 Oct 2023 17:35:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yL5qIqRMMWUnLwEA9RJhRA (envelope-from ) for ; Thu, 19 Oct 2023 17:35:00 +0200 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 6AA045D8A3 for ; Thu, 19 Oct 2023 17:35:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=l6tsH0uE; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697729700; 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=EUHaOAW1H9io09cJZ/W2QKvbd29o68pXo2naGz+HdGg=; b=I1bi6FNCYq9oRkqWyqQvewcHiHmcQuHli6yWoUNoKyJKSBmGSPIfKezQb4+8DVZz/OM7kS 2kbHkcpLl3VZUTuy79AuWY1nv4g+w9ga2J+O++rYIozQGhWjSAzvNztZXn/eA+fyffUNFk dTtGPIKzcrN3NtE44hoRfwbPkQNv8A2YdGzb1xYc0gwmcsrP3dvP131py2b9UM2AHTyD3i 3rLdySYFrPYwUxRKTLWuOGybmJuHc7ex7zhTuv03FsiJnbA8eweEAWvWOgBqodwpg1eck3 XXnxeTCVW6O0DpAK9oJxvwtPsASaY3wd0PWtV/7vOfiRmoCznGxlld3mAmq6BA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=l6tsH0uE; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697729700; a=rsa-sha256; cv=none; b=JR2fPutKakW8lnN2hH7+CFiBiTg9XEguikXlVQQwam8ItqPQJjybqVy7ppIT9ICO/Dfdw0 b2i1KkwiL6dUVCL4ufFnEbWqZEiwe0zVoFpgTTm2kojdDEs8T6Q/pOHMjcDgsoUOEPrvJf IhsSbbWCD17UfCDCi3ualJ5OHdd5Fh6rU289BmkxFJ5hK2juQ66uwMQLDK99D5FdQMum/n W3I5T0PTPmmiAieKuhzmZ0vjUd3YSPwF/ZCVukiusslZiNttip50zZqk5HwirZUHvzJQsb aYXKPbNgJQcA92v9riGc4ZikccukqVT/cXI4r8fuQjUuUfjWlYXIRVsJneMl3A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtV2k-0000Cb-6c; Thu, 19 Oct 2023 11:34:38 -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 1qtV2i-0000CF-E0 for bug-guix@gnu.org; Thu, 19 Oct 2023 11:34:36 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtV2i-0007ek-6S for bug-guix@gnu.org; Thu, 19 Oct 2023 11:34:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtV38-0005b0-F3 for bug-guix@gnu.org; Thu, 19 Oct 2023 11:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66612: guix locate guild results in sqlite3 attempt to write readonly database Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Oct 2023 15:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66612 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Matt Wette Cc: 66612@debbugs.gnu.org Received: via spool by 66612-submit@debbugs.gnu.org id=B66612.169772965421447 (code B ref 66612); Thu, 19 Oct 2023 15:35:02 +0000 Received: (at 66612) by debbugs.gnu.org; 19 Oct 2023 15:34:14 +0000 Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtV2L-0005Zq-LL for submit@debbugs.gnu.org; Thu, 19 Oct 2023 11:34:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtV2J-0005ZY-B0 for 66612@debbugs.gnu.org; Thu, 19 Oct 2023 11:34:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtV1k-0007Pw-M7; Thu, 19 Oct 2023 11:33:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=EUHaOAW1H9io09cJZ/W2QKvbd29o68pXo2naGz+HdGg=; b=l6tsH0uEJrCSCZ2PJHl2 ZMuWn67s69rh9rbuOs2EhKEdF0EeuczRmkWHanOJcHEBhQpJxsO10HCeEnHyi4hqoVtYY3OuScl9q JfLIo4X8Fh/47XkKqHjr5NlJV0LAZGgnVwPfXoiAeZHjWRVyw59h/Xviz46KyajnI7pqnYNlJyhcV GcBZK6howADQ81PmLxYIe5kzps0BcEpjwHmsbwTKtPynmF296RzR8e5dugWcRQe4dQcdssT9x6JLr s3NVnfiIQ8fiNeMU5EFwLM3FGOQSBu90QL6ujx3dkJe9D6AapdBGnqEnzoTgHjeIY6kYM3a/3tSVh PydFt2VdTef6Lg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87wmvk53jl.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 18 Oct 2023 17:54:54 +0200") References: <19e4ed14-520c-4eec-9584-8a178733527c@gmail.com> <87wmvk53jl.fsf@gnu.org> Date: Thu, 19 Oct 2023 17:33:15 +0200 Message-ID: <877cni39vo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.83 X-Spam-Score: -6.83 X-Migadu-Queue-Id: 6AA045D8A3 X-Migadu-Scanner: mx2.migadu.com X-TUID: Pm/r5lVJuYCy Ludovic Court=C3=A8s skribis: > Matt Wette skribis: > >> `guix locate guild' fails with attempt to write a readonly sqlite3 datab= ase >> >> 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 =E2=80=98guix locate --update=E2=80=99 o= nce: it=E2=80=99ll create an up-to-date database under ~/.cache, which will then be used unconditionally. Ludo=E2=80=99.