Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GURU Overlay Not Syncing Git...?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mudspitease
n00b
n00b


Joined: 09 Mar 2025
Posts: 13

PostPosted: Sun Mar 23, 2025 4:13 am    Post subject: GURU Overlay Not Syncing Git...? Reply with quote

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
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 115

PostPosted: Sun Mar 23, 2025 7:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1990
Location: Germany

PostPosted: Sun Mar 23, 2025 8:55 am    Post subject: Reply with quote

I know sudo is mentioned a lot in the "internet", but please try to run emerge as root directly. This will keep any further rights or enviroment problems to a minimum.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
mudspitease
n00b
n00b


Joined: 09 Mar 2025
Posts: 13

PostPosted: Sun Mar 23, 2025 11:00 am    Post subject: GURU Overlay Not Syncing Git...? Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4739
Location: Germany

PostPosted: Sun Mar 23, 2025 2:26 pm    Post subject: Reply with quote

I think "eselect repository add guru" is here not right (enable should work),
and the URI is not right too.

Please follow the steps from https://wiki.gentoo.org/wiki/Project:GURU/Information_for_End_Users
I think this should work.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2943

PostPosted: Sun Mar 23, 2025 3:37 pm    Post subject: Reply with quote

Josef.95 wrote:
I think "eselect repository add guru" is here not right (enable should work),
and the URI is not right too.

Please follow the steps from https://wiki.gentoo.org/wiki/Project:GURU/Information_for_End_Users
I think this should work.


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
View user's profile Send private message
mudspitease
n00b
n00b


Joined: 09 Mar 2025
Posts: 13

PostPosted: Fri Mar 28, 2025 12:35 am    Post subject: GURU Overlay Not Syncing Git...? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum