public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Migrate from rsync to git for emerge --sync?
@ 2021-10-12 20:02 Grant Edwards
  2021-10-12 20:09 ` Rich Freeman
  0 siblings, 1 reply; 13+ messages in thread
From: Grant Edwards @ 2021-10-12 20:02 UTC (permalink / raw
  To: gentoo-user

How do you migrate from rsync to git for 'emerge --sync'?

I changed my /etc/porttage/repos.conf/gentoo.conf file as shown in
various places, but when I try to do a sync, git barfs:

     # emerge --sync >>> Syncing repository 'gentoo' into '/usr/portage'...
     /usr/bin/git clone --depth 1 https://github.com/gentoo-mirror/gentoo.git .
     fatal: destination path '.' already exists and is not an empty directory.
     !!! git clone error in /usr/portage

Despite what multiple blog and wiki pages claim, it seems it's not as
simple as editing you gentoo.conf file. Do I need to wipe the contents
of /usr/portage and start with an emptry directory there?



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

end of thread, other threads:[~2021-10-13 18:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12 20:02 [gentoo-user] Migrate from rsync to git for emerge --sync? Grant Edwards
2021-10-12 20:09 ` Rich Freeman
2021-10-12 21:14   ` [gentoo-user] " Grant Edwards
2021-10-13  1:01     ` Matt Connell
2021-10-13  1:18       ` Rich Freeman
2021-10-13  1:22         ` Grant Edwards
2021-10-13  1:35           ` Rich Freeman
2021-10-13 13:30             ` Grant Edwards
2021-10-13  1:25         ` Matt Connell
2021-10-13  1:19       ` Grant Edwards
2021-10-13 18:06         ` Neil Bothwick
2021-10-13 18:26           ` Grant Edwards
2021-10-13 18:36             ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox