View previous topic :: View next topic |
Author |
Message |
mudspitease n00b

Joined: 09 Mar 2025 Posts: 13
|
Posted: Sun Mar 23, 2025 4:13 am Post subject: GURU Overlay Not Syncing Git...? |
|
|
Hello,
I am using eselect repository to add GURU (I enabled the Git flag).
Here is my eselect-repo.conf:
Code: | # created by eselect-repo
[guru]
location = /var/db/repos/guru
sync-type = git
sync-uri = https://github.com/gentoo/guru.git
master = gentoo
|
I added the "master = gentoo" line manually... and I have dev-vcs/git installed.
I enabled the overlay with this command:
Code: | sudo eselect repository add guru |
It adds without an issue.
I then try to sync with this command: sudo emerge --sync guru
I then get this error:
Code: | fatal: destination path '.' already exists and is not an empty directory.
!!! git clone error in /var/db/repos/guru
fatal: not a git repository (or any of the parent directories): .git
|
I also tried to sync with this command...:
Code: | sudo eselect repository add guru git https://github.com/gentoo/guru.git
|
...and I got the same error as above.
I believe the first line of the error is because I have tried this before. However, the second two lines regarding git clone and fatal error have happened every time I've tried to run this.
I can get to https://github.com/gentoo/guru.git just fine, so it isn't an internet issue... I have no idea what else it could be.
Any thoughts?
Thanks! |
|
Back to top |
|
 |
nicop Tux's lil' helper

Joined: 10 Apr 2014 Posts: 115
|
Posted: Sun Mar 23, 2025 7:53 am Post subject: |
|
|
As error said, /var/db/repos/guru already exists and is not a git dir.
delete existing /var/db/repos/guru and try again. |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1990 Location: Germany
|
|
Back to top |
|
 |
mudspitease n00b

Joined: 09 Mar 2025 Posts: 13
|
Posted: Sun Mar 23, 2025 11:00 am Post subject: GURU Overlay Not Syncing Git...? |
|
|
I tried doing both your suggestions, under actual Root, remaking the future folder... Still an issue. I even tried the clones under the [url]gitweb.gentoo.org/repo/proj/guru.git[/url] site... Still not seeing a "git repository".
Maybe the issue is git itself not being properly configured? All I did before trying to add the GURU was install git and follow the GURU instructions.
Any other suggestions? Do either of you have experience adding overlays? I'm clearly missing something, here. |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4739 Location: Germany
|
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2943
|
Posted: Sun Mar 23, 2025 3:37 pm Post subject: |
|
|
You're correct, for the repositories from the official overlays list it's enable. Add will just create a local empty overlay. You can use add but then you need to manually provide the sync uri. Then you need to provide sync type as well if you want eix/emerge/emaint to sync the repository automatically.
Best Regards,
Georgi |
|
Back to top |
|
 |
mudspitease n00b

Joined: 09 Mar 2025 Posts: 13
|
Posted: Fri Mar 28, 2025 12:35 am Post subject: GURU Overlay Not Syncing Git...? |
|
|
Excuse my delay, everyone. I've gotten it to sync... it turns out, it MAY BE a problem with my DNS after all... Thanks for the info, though. Once I know more, I'll post back here. |
|
Back to top |
|
 |
|