Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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

git clone git://
# or
git clone

(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.

share|improve this answer
For anyone finding this thread - the install process has changed - see – Richard Hollis May 16 '12 at 8:48
@RichardHollis Thank you: I have added the official link in the answer. – VonC May 16 '12 at 9:42

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

share|improve this answer

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

Gitolite is only available as package since Ubuntu 10.10 (Maverick):

Like @VonC suggested, installing from Git / source is the way. Here's another link:

share|improve this answer

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 :
The same install document links to another excellent tutorial for installing gitoliste as non-root user, which I suggest you to follow

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.