From: Jack <ostroffjh@users.sourceforge.net>
To: Gentoo User List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] problem with emerge --sync
Date: Tue, 21 Jan 2025 12:53:06 -0500 [thread overview]
Message-ID: <XR374WBR.XWOIAG6P.IY6X6Z5S@FPUZPESI.L2CE3DBP.IJN5GKZH> (raw)
I had no problem updating my system two or three days ago, but today
when I try to update, I get:
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
Auto packing the repository for optimum performance.
See "git help gc" for manual housekeeping.
Enumerating objects: 175170, done.
Counting objects: 100% (175170/175170), done.
Delta compression using up to 16 threads
Compressing objects: 100% (128856/128856), done.
fatal: unable to read de2a1e7d166bc5b3508bbe91e7bef61324ac3183
fatal: failed to run repack
!!! git gc error in /var/db/repos/gentoo
The sync for all other repositories is fine, and I get the same using
"eix-sync" "emerge --sync" or "emaint sync"
If I "cd /var/db/repos/gentoo/" and then "git status I get
On branch stable
Your branch and 'origin/stable' have diverged,
and have 1 and 1 different commits each, respectively.
(use "git pull" if you want to integrate the remote branch with
yours)
nothing to commit, working tree clean
Doing "git fsck --full" gives me "missing blob
de2a1e7d166bc5b3508bbe91e7bef61324ac3183:" as well as many dangling
commits.
I'd love to know what happened, but more important is whether there is
a way to recover from this, or should I just remove and re-add the
repository with eselect repository?
Jack
next reply other threads:[~2025-01-21 17:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-21 17:53 Jack [this message]
2025-01-21 17:57 ` [gentoo-user] problem with emerge --sync Filip Kobierski
2025-01-21 19:35 ` Jack
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=XR374WBR.XWOIAG6P.IY6X6Z5S@FPUZPESI.L2CE3DBP.IJN5GKZH \
--to=ostroffjh@users.sourceforge.net \
--cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox