升级到ubuntu 9.04 jaunty后,客户端push时会遇到错误:
Traceback (most recent call last):
File "/usr/bin/gitosis-serve", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2562, in
working_set.require(__requires__)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 626, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 524, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: gitosis==0.2
fatal: The remote end hung up unexpectedly
尝试aptitude reinstall gitosis,还是没有用。从gitosis源代码重新编译了一下,可以了。
$ git clone git://eagain.net/gitosis
$ cd gitosis
$ sudo python setup.py install
END
0 Responses to "Git,升级到ubuntu 9.04 jaunty后,客户端push时会遇到错误"
Post a Comment