Couldn't find package gitolite on Ubuntu 10.04

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?


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