Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Layman1.0.0 problem: unknown overlay type "git" [workaround]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
saffsd
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 139

PostPosted: Sun Jun 11, 2006 10:35 am    Post subject: Layman1.0.0 problem: unknown overlay type "git" [w Reply with quote

Hello. I am having a problem with layman. Below you can see the output that layman is giving me. As you can see, issuing the same command twice returns me different output. Please advise.
Code:

# layman -f
* Fatal error: Failed to fetch overlay list!
* Fatal error: Error was: Unknown overlay type "git"!
* Fatal error(s) - aborting

Code:
# layman -f
Traceback (most recent call last):
  File "/usr/bin/layman", line 37, in ?
    main()
  File "/usr/bin/layman", line 34, in main
    Actions(Config())
  File "/usr/lib/python2.4/site-packages/layman/action.py", line 214, in __init__
    i[1](config).run()
  File "/usr/lib/python2.4/site-packages/layman/action.py", line 41, in __init__
    self.db = RemoteDB(config)
  File "/usr/lib/python2.4/site-packages/layman/db.py", line 181, in __init__
    Overlays.__init__(self, paths)
  File "/usr/lib/python2.4/site-packages/layman/overlay.py", line 61, in __init__
    self.read(path)
  File "/usr/lib/python2.4/site-packages/layman/overlay.py", line 94, in read
    raise Exception('Unknown overlay type "' +
Exception: Unknown overlay type "git"!


edit:
I have found the source of the problem. In /usr/portage/local/layman there is an .xml file with info about the repositories. Amongst them there is this one:

Code:
  <overlay
        name="flameeyes-overlay"
        src="git://farragut.flameeyes.is-a-geek.org/overlay.git"
        type="git">
    <link>
      http://farragut.flameeyes.is-a-geek.org
    </link>
    <description>
      Flameeyes' private developer overlay
    </description>
  </overlay>


Emerging dev-util/git does not help.
Removing the above overlay info allows the rest of layman to function. The layman i have in my portage tree is 1.0.0, i see that there is a 1.0.2 on packages.gentoo.org and i suppose that might be able to handle the git-based overlay.

Marking this thread as [workaround]...
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Mon Jun 19, 2006 5:07 pm    Post subject: Reply with quote

I didnt used your workaround. For me layman works (-L -f -a), but today I decided to add flameeyes-overlay and here we go:
Code:
# layman -a flameeyes-overlay
* Failed to add overlay "flameeyes-overlay".
* Error was: Binary /usr/bin/cg-clone seems to be missing! Overlay type "git" not supported.
Code:
>>> dev-util/git-1.4.0 merged.
Code:
# layman -a flameeyes-overlay
* Failed to add overlay "flameeyes-overlay".
* Error was: Binary /usr/bin/cg-clone seems to be missing! Overlay type "git" not supported.
So what to do to to have git supported by layman? This happend with app-portage/layman-1.0.2
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Mon Jun 19, 2006 5:36 pm    Post subject: Reply with quote

fix:
Code:

emerge dev-util/cogito


cg-clone isn't a git executable, it's a cogito script :P
(cogito being a frontend for git)
_________________
Retired gentoo user
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Mon Jun 19, 2006 5:45 pm    Post subject: Reply with quote

Tiger683 wrote:
fix:
Code:

emerge dev-util/cogito

thanks, now its OK
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Mon Jun 19, 2006 6:34 pm    Post subject: Reply with quote

This isn't really a work around, you might want to label it SOLVED instead.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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