*shrug* Ok, if that's the patch you want, here it is. Build is running
in my PPA now (https://launchpad.net/~broder/+archive/ubuntu-tests), but
I've verified that it builds locally.

** Attachment added: "gitosis_0.2+20080825-2ubuntu0.1.debdiff"
   
http://launchpadlibrarian.net/30697473/gitosis_0.2%2B20080825-2ubuntu0.1.debdiff

** Changed in: gitosis (Ubuntu Jaunty)
       Status: Incomplete => Confirmed

** Description changed:

  Binary package hint: gitosis
  
  IMPACT: This bug causes the gitosis package to be completely unusable on
  Jaunty, unless you know to manually install python2.5 (which is not a
  dependency of the package).
  
  DEVELOPMENT: Fixed in Debian/Karmic by dropping the --install-lib and
  using --root and --install-layout=deb instead.
  
  PATCH: Attached as
- 
http://launchpadlibrarian.net/30652065/gitosis_0.2%2B20080825-2ubuntu0.1.debdiff
+ 
http://launchpadlibrarian.net/30697473/gitosis_0.2%2B20080825-2ubuntu0.1.debdiff
  
  REPRODUCE: Install gitosis (and uninstall python2.5, if you have it).
  Run gitosis-init. Observe that you get a Python traceback.
  
  REGRESSION: In basic functionality tests, a test build from my PPA seems
  to work completely. The Python 2.6 package also comes as close to
  passing its test suite as it did under Python 2.5.
  
  ================
  Original bug report:
  
  After upgrade to 9.04, gitosis fails with
  
  -----
  Traceback (most recent call last):
    File "/usr/bin/gitosis-init", line 5, in <module>
      from pkg_resources import load_entry_point
    File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2562, in 
<module>
      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
  -------
  
  
  I hacked the files /usr/bin/gitosis-* to call python2.5 instead of python and 
that fixed it, but I guess that this is not the best fix.

-- 
gitosis not working after upgrade to 9.04
https://bugs.launchpad.net/bugs/368895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to