unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40769: Git error: object not found when running guix pull
@ 2020-04-22 13:21 Mayeul Cantan
  2020-04-22 15:26 ` Julien Lepiller
  2020-04-22 21:07 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Mayeul Cantan @ 2020-04-22 13:21 UTC (permalink / raw)
  To: 40769

Hello there,

I was running guix pull, when a short-cirguit in my power supply cable 
turned my old laptop off.

Having fixed the hardware issue, I am left with the following software 
problem when running `guix pull` on my user session:

> guix pull: error: Git error: object not found - no match for id (aa78c596c9eaae946f779d8fa3c4125d08187648)

mbakke on #guix:matrix.org advised me to report here, I hope that's useful.

Meanwhile, I'd at least like the path of that git repository so that I 
can try to fix things myself :)

Have a nice day, thank you for your time and software.

Mayeul Cantan

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

* bug#40769: Git error: object not found when running guix pull
  2020-04-22 13:21 bug#40769: Git error: object not found when running guix pull Mayeul Cantan
@ 2020-04-22 15:26 ` Julien Lepiller
  2020-04-22 21:07 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Julien Lepiller @ 2020-04-22 15:26 UTC (permalink / raw)
  To: 40769, oss+guix

Le 22 avril 2020 09:21:38 GMT-04:00, Mayeul Cantan <oss+guix@mayeul.net> a écrit :
>Hello there,
>
>I was running guix pull, when a short-cirguit in my power supply cable 
>turned my old laptop off.
>
>Having fixed the hardware issue, I am left with the following software 
>problem when running `guix pull` on my user session:
>
>> guix pull: error: Git error: object not found - no match for id
>(aa78c596c9eaae946f779d8fa3c4125d08187648)
>
>mbakke on #guix:matrix.org advised me to report here, I hope that's
>useful.
>
>Meanwhile, I'd at least like the path of that git repository so that I 
>can try to fix things myself :)
>
>Have a nice day, thank you for your time and software.
>
>Mayeul Cantan

It should be somewhere in ~/.cache/guix

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

* bug#40769: Git error: object not found when running guix pull
  2020-04-22 13:21 bug#40769: Git error: object not found when running guix pull Mayeul Cantan
  2020-04-22 15:26 ` Julien Lepiller
@ 2020-04-22 21:07 ` Ludovic Courtès
  2020-04-23 13:15   ` zimoun
                     ` (2 more replies)
  1 sibling, 3 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-22 21:07 UTC (permalink / raw)
  To: Mayeul Cantan; +Cc: 40769

Hi Mayeul,

Mayeul Cantan <oss+guix@mayeul.net> skribis:

> I was running guix pull, when a short-cirguit in my power supply cable
> turned my old laptop off.
>
> Having fixed the hardware issue, I am left with the following software
> problem when running `guix pull` on my user session:
>
>> guix pull: error: Git error: object not found - no match for id (aa78c596c9eaae946f779d8fa3c4125d08187648)

‘guix pull’ maintains Git clones under ~/.cache/guix/checkouts.
Probably the hardware issue led to a corrupt checkout there, hence the
error above.  You fix that by running:

  rm -rf ~/.cache/guix/checkouts

before running ‘guix pull’ again.

HTH!

Ludo’.

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

* bug#40769: Git error: object not found when running guix pull
  2020-04-22 21:07 ` Ludovic Courtès
@ 2020-04-23 13:15   ` zimoun
  2020-05-16 22:58   ` Mayeul Cantan
  2020-05-17 13:17   ` Mayeul Cantan
  2 siblings, 0 replies; 6+ messages in thread
From: zimoun @ 2020-04-23 13:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Mayeul Cantan, 40769

Hi,

On Wed, 22 Apr 2020 at 23:08, Ludovic Courtès <ludo@gnu.org> wrote:

> ‘guix pull’ maintains Git clones under ~/.cache/guix/checkouts.

What is the naming scheme? Especially how is computed the hash of the
folder name?

And not relevant considering this bug: could the first commit after
the big overhaul (inferior) be tagged? i.e., all the commits "after"
this tag are reachable with say "guix time-machine".


Cheers,
simon

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

* bug#40769: Git error: object not found when running guix pull
  2020-04-22 21:07 ` Ludovic Courtès
  2020-04-23 13:15   ` zimoun
@ 2020-05-16 22:58   ` Mayeul Cantan
  2020-05-17 13:17   ` Mayeul Cantan
  2 siblings, 0 replies; 6+ messages in thread
From: Mayeul Cantan @ 2020-05-16 22:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40769


> ‘guix pull’ maintains Git clones under ~/.cache/guix/checkouts.
> Probably the hardware issue led to a corrupt checkout there, hence the
> error above.  You fix that by running:
> 
>   rm -rf ~/.cache/guix/checkouts
> 
> before running ‘guix pull’ again.

Hi Ludo,

Sory for not answering earlier. That helped me a lot! Thank you very 
much.

Cheers,

Mayeul




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

* bug#40769: Git error: object not found when running guix pull
  2020-04-22 21:07 ` Ludovic Courtès
  2020-04-23 13:15   ` zimoun
  2020-05-16 22:58   ` Mayeul Cantan
@ 2020-05-17 13:17   ` Mayeul Cantan
  2 siblings, 0 replies; 6+ messages in thread
From: Mayeul Cantan @ 2020-05-17 13:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40769

> ‘guix pull’ maintains Git clones under ~/.cache/guix/checkouts.
> Probably the hardware issue led to a corrupt checkout there, hence the
> error above.  You fix that by running:
> 
>   rm -rf ~/.cache/guix/checkouts
> 
> before running ‘guix pull’ again.


Hi Ludo,

Sory for not answering earlier. That helped me a lot! Thank you very 
much.

Cheers,

Mayeul




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

end of thread, other threads:[~2020-05-17 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22 13:21 bug#40769: Git error: object not found when running guix pull Mayeul Cantan
2020-04-22 15:26 ` Julien Lepiller
2020-04-22 21:07 ` Ludovic Courtès
2020-04-23 13:15   ` zimoun
2020-05-16 22:58   ` Mayeul Cantan
2020-05-17 13:17   ` Mayeul Cantan

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).