'emerge --sync' fails with: root@caiman:/root(28)# emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage_caiman'... !!! /usr/portage_caiman appears to be under revision control (contains .git). !!! Aborting rsync sync (override with "sync-rsync-vcs-ignore = true" in repos.conf). root@caiman:/root(29) root@caiman:/root(31)# qfile -v /usr/bin/emerge sys-apps/portage-2.2.26 (/usr/bin/emerge) I have /usr/portage/.git directory with the following contents: root@caiman:/root(33)# ll /usr/portage/.git total 9 drwxr-xr-x 2 root root 1024 Nov 29 04:05 hooks/ drwxr-xr-x 2 root root 1024 Nov 29 04:05 info/ drwxr-xr-x 3 root root 1024 Nov 29 04:05 logs/ drwxr-xr-x 248 root root 5120 Nov 29 04:05 objects/ drwxr-xr-x 5 root root 1024 Nov 29 04:05 refs/
https://infra-status.gentoo.org/notice/20151129-rsync *** This bug has been marked as a duplicate of bug 567074 ***
I see this behaviour on two systems. As I have seen so far the directory tree under /usr/portage/.git contains only empty directories. Can I delete everything under /usr/portage/.git?
Everything is described in the linked notice. *** This bug has been marked as a duplicate of bug 567074 ***