View previous topic :: View next topic |
Author |
Message |
saffsd Tux's lil' helper
Joined: 03 Mar 2006 Posts: 139
|
Posted: Sun Jun 11, 2006 10:35 am Post subject: Layman1.0.0 problem: unknown overlay type "git" [w |
|
|
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 |
|
|
radfoj Guru
Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Mon Jun 19, 2006 5:07 pm Post subject: |
|
|
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 |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Mon Jun 19, 2006 5:36 pm Post subject: |
|
|
fix:
Code: |
emerge dev-util/cogito
|
cg-clone isn't a git executable, it's a cogito script
(cogito being a frontend for git) _________________ Retired gentoo user |
|
Back to top |
|
|
radfoj Guru
Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Mon Jun 19, 2006 5:45 pm Post subject: |
|
|
Tiger683 wrote: | fix:
Code: |
emerge dev-util/cogito
|
|
thanks, now its OK |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
|