Git,升级到ubuntu 9.04 jaunty后,客户端push时会遇到错误

升级到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/", line 2562, in
File "/usr/lib/python2.6/dist-packages/", line 626, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/dist-packages/", 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://
$ cd gitosis
$ sudo python install


0 Responses to "Git,升级到ubuntu 9.04 jaunty后,客户端push时会遇到错误"