Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567922 - sys-apps/portage-2.2.26 - 'emerge --sync' fails - /usr/portage_caiman appears to be under revision control (contains .git)
Summary: sys-apps/portage-2.2.26 - 'emerge --sync' fails - /usr/portage_caiman appears...
Status: RESOLVED DUPLICATE of bug 567074
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-10 09:41 UTC by Juergen Rose
Modified: 2015-12-10 14:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-12-10 09:41:08 UTC
'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/
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-12-10 09:46:39 UTC
https://infra-status.gentoo.org/notice/20151129-rsync

*** This bug has been marked as a duplicate of bug 567074 ***
Comment 2 Juergen Rose 2015-12-10 09:47:39 UTC
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?
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-12-10 14:37:01 UTC
Everything is described in the linked notice.

*** This bug has been marked as a duplicate of bug 567074 ***