all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Git error: object not found  when running  guix system reconfigure
@ 2023-09-24 12:02 Sergiu Ivanov
  2023-09-24 13:13 ` Jussi Timperi
  2023-09-24 13:13 ` Roman Riabenko via
  0 siblings, 2 replies; 6+ messages in thread
From: Sergiu Ivanov @ 2023-09-24 12:02 UTC (permalink / raw)
  To: help-guix

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)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Git error: object not found when running guix system reconfigure
  2023-09-24 12:02 Git error: object not found when running guix system reconfigure Sergiu Ivanov
@ 2023-09-24 13:13 ` Jussi Timperi
  2023-09-24 13:13 ` Roman Riabenko via
  1 sibling, 0 replies; 6+ messages in thread
From: Jussi Timperi @ 2023-09-24 13:13 UTC (permalink / raw)
  To: Sergiu Ivanov; +Cc: help-guix

Hi,

I have the same issue.

I dug out this issue https://issues.guix.gnu.org/40769 and tried
> deleting ~/.cache/guix/checkouts, but this had no effect.
>

Deleting /root/.cache/guix/checkouts fixes it for me temporarily.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Git error: object not found  when running  guix system reconfigure
  2023-09-24 12:02 Git error: object not found when running guix system reconfigure Sergiu Ivanov
  2023-09-24 13:13 ` Jussi Timperi
@ 2023-09-24 13:13 ` Roman Riabenko via
  2023-09-25  6:32   ` Sergiu Ivanov
  1 sibling, 1 reply; 6+ messages in thread
From: Roman Riabenko via @ 2023-09-24 13:13 UTC (permalink / raw)
  To: Sergiu Ivanov, help-guix

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

У нд, 2023-09-24 у 14:02 +0200, Sergiu Ivanov пише:
> > 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)

Hi, Sergiu. A few more users reported similar issues. There is an open
report for it at: https://issues.guix.gnu.org/66169

So, it does not seem to be a simple misconfiguration, unfortunately.

Roman





[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Git error: object not found when running guix system reconfigure
  2023-09-24 13:13 ` Roman Riabenko via
@ 2023-09-25  6:32   ` Sergiu Ivanov
  2023-09-25 10:57     ` Simon Tournier
  0 siblings, 1 reply; 6+ messages in thread
From: Sergiu Ivanov @ 2023-09-25  6:32 UTC (permalink / raw)
  To: Roman Riabenko, Jussi Timperi; +Cc: help-guix

Thank Jussi and Roman for your answers!

Deleting /root/.cache/guix/checkouts allowed me to bypass the
issue indeed.

-
Sergiu


Roman Riabenko <roman@riabenko.com> [2023-09-24T15:13:36+0200]:
> [[PGP Signed Part:Undecided]]
> У нд, 2023-09-24 у 14:02 +0200, Sergiu Ivanov пише:
>> > 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)
>
> Hi, Sergiu. A few more users reported similar issues. There is an open
> report for it at: https://issues.guix.gnu.org/66169
>
> So, it does not seem to be a simple misconfiguration, unfortunately.
>
> Roman
>
>
>
>
> [[End of PGP Signed Part]]



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Git error: object not found when running guix system reconfigure
  2023-09-25  6:32   ` Sergiu Ivanov
@ 2023-09-25 10:57     ` Simon Tournier
  2023-09-25 14:43       ` Sergiu Ivanov
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Tournier @ 2023-09-25 10:57 UTC (permalink / raw)
  To: Sergiu Ivanov, Roman Riabenko, Jussi Timperi; +Cc: help-guix

Hi,

On Mon, 25 Sep 2023 at 08:32, Sergiu Ivanov <sivanov@colimite.fr> wrote:

> Deleting /root/.cache/guix/checkouts allowed me to bypass the
> issue indeed.

Yes.  The culprit was ’reference-available?’ and removing the checkout
implies this procedure is called.

Now, the issue should be fixed.

Sorry for the annoyance.

Cheers,
simon





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Git error: object not found when running guix system reconfigure
  2023-09-25 10:57     ` Simon Tournier
@ 2023-09-25 14:43       ` Sergiu Ivanov
  0 siblings, 0 replies; 6+ messages in thread
From: Sergiu Ivanov @ 2023-09-25 14:43 UTC (permalink / raw)
  To: Simon Tournier; +Cc: help-guix

Hi Simon,

Simon Tournier <zimon.toutoune@gmail.com> [2023-09-25T12:57:54+0200]:
> On Mon, 25 Sep 2023 at 08:32, Sergiu Ivanov <sivanov@colimite.fr> wrote:
>
>> Deleting /root/.cache/guix/checkouts allowed me to bypass the
>> issue indeed.
>
> Yes.  The culprit was ’reference-available?’ and removing the checkout
> implies this procedure is called.
>
> Now, the issue should be fixed.

Thanks a lot for the explanation and for the fix!

-
Sergiu


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-26 22:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 12:02 Git error: object not found when running guix system reconfigure Sergiu Ivanov
2023-09-24 13:13 ` 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

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.