From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40769: Git error: object not found when running guix pull Date: Wed, 22 Apr 2020 23:07:16 +0200 Message-ID: <87ftcvqlff.fsf@gnu.org> References: <089adaa4-3bce-a353-adb4-5eb6862489cb@cantan.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51792) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRMbC-0001Ep-UK for bug-guix@gnu.org; Wed, 22 Apr 2020 17:08:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRMbC-0003dk-Iu for bug-guix@gnu.org; Wed, 22 Apr 2020 17:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRMbC-0003dd-6w for bug-guix@gnu.org; Wed, 22 Apr 2020 17:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRMbC-00006T-1Q for bug-guix@gnu.org; Wed, 22 Apr 2020 17:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <089adaa4-3bce-a353-adb4-5eb6862489cb@cantan.eu> (Mayeul Cantan's message of "Wed, 22 Apr 2020 15:21:38 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Mayeul Cantan Cc: 40769@debbugs.gnu.org Hi Mayeul, Mayeul Cantan 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 (aa78c59= 6c9eaae946f779d8fa3c4125d08187648) =E2=80=98guix pull=E2=80=99 maintains Git clones under ~/.cache/guix/checko= uts. 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 =E2=80=98guix pull=E2=80=99 again. HTH! Ludo=E2=80=99.