Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

4 Answers 4

up vote 1 down vote accepted

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.

share|improve this answer
    
For anyone finding this thread - the install process has changed - see sitaramc.github.com/gitolite/install.html –  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): 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/

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 : 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

share|improve this answer

Your Answer

 
discard

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.