3

I've been following this tutorial and I'm stuck on

sudo apt-get install gitolite

with the error

Couldn't find package gitolite

I've been Googling around for a while now, no one else seems to have this problem so it's probably a trivial matter... I'm not sure if it's a line in /etc/apt/sources.list I need to add, or if the package just isn't available for Ubuntu 10.04.

How do I fix the fact that it can't find the package?

user29600
  • 419
  • 5
  • 17
  • 30

4 Answers4

1

Maybe it would be simpler to simply grab the source on GitHub:

git clone git://github.com/sitaramc/gitolite
# or
git clone https://github.com/sitaramc/gitolite.git

(like this tutorial explains, also detailed in the official Gitolite Installation page)
There were already previous issues with apt-get install gitolite, like in this thread.

VonC
  • 2,683
  • 5
  • 30
  • 49
0

It seems only available from Ubuntu 10.10. You can get the source with git clone and install it.

quanta
  • 51,413
  • 19
  • 159
  • 217
0

How do I fix the fact that it can't find the package?

Gitolite is only available as package since Ubuntu 10.10 (Maverick): https://launchpad.net/ubuntu/+source/gitolite

Like @VonC suggested, installing from Git / source is the way. Here's another link: http://eugenkiss.com/blog/2010/installing-redmine-gitolite-ubuntu-10.04/

Henk
  • 1,331
  • 11
  • 24
0

I strongly recommend going to the original source of gitolite on github and installing it from there.
Also you should really consider creating a separate user for git/gitolite
This is the official install document : http://sitaramc.github.com/gitolite/doc/1-INSTALL.html
The same install document links to another excellent tutorial for installing gitoliste as non-root user, which I suggest you to follow http://sites.google.com/site/senawario/home/gitolite-tutorial

wadkar
  • 121
  • 3