* bug#73419: guix gc --vacuum-database
@ 2024-09-22 7:29 Nicolas Graves
0 siblings, 0 replies; only message in thread
From: Nicolas Graves @ 2024-09-22 7:29 UTC (permalink / raw)
To: 73419
Hi Guix,
I don't know if this is the cause of something broken on my side or an
issue with upstream guix. When I run "guix gc --vacuum-database" without
being root, I get such an error :
>> guix gc --vacuum-database
Backtrace:
12 (primitive-load "/home/graves/.config/guix/current/bin/…")
In guix/ui.scm:
2330:7 11 (run-guix . _)
2293:10 10 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/gc.scm:
241:5 8 (_)
In ice-9/boot-9.scm:
1747:15 7 (with-exception-handler #<procedure 7f978c9974e0 at ic…> …)
In srfi/srfi-37.scm:
201:16 6 (next-arg)
113:18 5 (invoke-option-processor _ _ _ _ _)
In unknown file:
4 (_ #<procedure 7f978c997480 at srfi/srfi-37.scm:114:22…> …)
In guix/scripts/gc.scm:
143:18 3 (_ . _)
In guix/store/database.scm:
393:4 2 (vacuum-database)
In sqlite3.scm:
166:2 1 (_ _ _)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `sqlite-error' with args `(sqlite-exec 8 "attempt to write a readonly database")'.
zsh: exit 1 guix gc --vacuum-database
Other commands have a nice way to indicate that sudo is necessary for
this command, if this is the case. If that is not reproducible, the
issue is probably on my side, and I have no clue about how I can fix
this.
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-22 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-22 7:29 bug#73419: guix gc --vacuum-database Nicolas Graves
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).