From: Sergiu Ivanov <sivanov@colimite.fr>
To: help-guix <help-guix@gnu.org>
Subject: Git error: object not found when running guix system reconfigure
Date: Sun, 24 Sep 2023 14:02:28 +0200 [thread overview]
Message-ID: <87ttrjvk4v.fsf@colimite.fr> (raw)
Hi,
I am running into the following issue since yesterday: when I do
guix pull
sudo guix system reconfigure <path-to-my-system-configuration.scm>
I get
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: object not found - no match for id (0792d9946602a54a5318f7818cfe3307e9ef333d)
The full error message is at the bottom of the mail.
On the other hand, running guix system reconfigure *without* sudo does
not lead to this error, and everything seems to work out normally
(except the final switch to the new configuration). Also, if I switch
to the latest working guix generation using
guix pull --switch-generation, everything works again.
I dug out this issue https://issues.guix.gnu.org/40769 and tried
deleting ~/.cache/guix/checkouts, but this had no effect.
Does this happen to anyone else?
Do you think it is something transient which I just have to wait out, or
did I accidentally break something on my machine? (unfair question,
obviously :D)
-
Sergiu
Full backtrace:
$ sudo guix system reconfigure <path-to-my-system-configuration.scm>
Backtrace:
In guix/ui.scm:
2286:10 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 18 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
859:3 17 (_)
839:4 16 (call-with-status-report _ _)
In guix/scripts/system.scm:
1278:4 15 (_)
In ice-9/boot-9.scm:
1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
659:37 13 (thunk)
1298:8 12 (call-with-build-handler #<procedure 7f121f05fe10 at g…> …)
2168:25 11 (run-with-store #<store-connection 256.99 7f1237c388c0> …)
In guix/scripts/system.scm:
1302:15 10 (_ _)
831:5 9 (perform-action reconfigure #<<image> name: #f format:…> …)
In guix/scripts/system/reconfigure.scm:
346:3 8 (check-forward-update _ #:current-channels _)
In srfi/srfi-1.scm:
691:23 7 (filter-map #<procedure 7f121f02cc60 at guix/scripts…> . #)
In guix/scripts/system/reconfigure.scm:
353:39 6 (_ #<<channel> name: guix url: "https://git.savannah.gn…>)
In guix/git.scm:
481:21 5 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ …)
367:15 4 (reference-available? _ _)
In git/commit.scm:
172:8 3 (_ #<git-repository 1a35190> #<oid 0792d9946602a54a5318…>)
In git/bindings.scm:
77:2 2 (raise-git-error _)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: object not found - no match for id (0792d9946602a54a5318f7818cfe3307e9ef333d)
next reply other threads:[~2023-09-24 12:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-24 12:02 Sergiu Ivanov [this message]
2023-09-24 13:13 ` Git error: object not found when running guix system reconfigure Jussi Timperi
2023-09-24 13:13 ` Roman Riabenko via
2023-09-25 6:32 ` Sergiu Ivanov
2023-09-25 10:57 ` Simon Tournier
2023-09-25 14:43 ` Sergiu Ivanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttrjvk4v.fsf@colimite.fr \
--to=sivanov@colimite.fr \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.