[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Git error: object not found when running guix system reconfigure
From: |
Sergiu Ivanov |
Subject: |
Git error: object not found when running guix system reconfigure |
Date: |
Sun, 24 Sep 2023 14:02:28 +0200 |
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)