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

apt-get install gitosis --fix-missing on my Linode still leads to a 404

(Failed to fetch  404 Not Found [IP: 80]

. The correct file location seems to be

Is there any way I can install this without apt-get, or point apt-get in the right direction somehow?

Several other packages on my Debian Linode also point to 404, both from command line and virtualmin.

EDIT: Machine details Debian 5.0 64bit (Latest 2.6 (

EDIT2 My sources list

# main repo
deb lenny main contrib non-free
deb-src lenny main contrib non-free
deb lenny/updates main contrib non-free
deb-src lenny/updates main contrib non-free

deb  lenny/volatile  main contrib non-free
deb-src  lenny/volatile  main contrib non-free

# contrib & non-free repos
#deb lenny contrib non-free
#deb-src lenny contrib non-free
#deb lenny/updates contrib non-free
#deb-src lenny/updates contrib non-free

deb virtualmin-lenny main
deb virtualmin-universal main
share|improve this question
Try an apt-get update before and see if this fixes the problem. – Sven Apr 10 '12 at 16:46
That leads to several 404s as well – stef Apr 10 '12 at 16:48
Then post your sources.list. – Zoredache Apr 10 '12 at 16:51
How old is this machine? Has the release passed into the great void of unsupported legacy? If not you need to spend a few minutes and clean up your apt sources - an apt-get update shouldn't be producing 404 errors for a current, supported release... – voretaq7 Apr 10 '12 at 16:51
As of March 24, Debian 5.0 (Lenny) has moved into Most Debian mirrors don't carry Lenny any more, and worse, Debian no longer provides security patches for it. – Steven Monday Apr 10 '12 at 17:16
  1. wget
  2. dpkg -i gitosis_0.2+20090917-11_all.deb
  3. ???
  4. Profit!
share|improve this answer
If you're still set on gitosis. This will make you profitable. – NcA Apr 10 '12 at 19:10

Since gitosis is no longer updated and is being deprecated, I suggest installing gitolite right away. (It's also better at the job.)

share|improve this answer
apt-get install gitolite tells me E: Couldn't find package gitolite – stef Apr 10 '12 at 17:00
Probably not in the repo, clone the git repo and install it that way would the best – Snowflow Apr 10 '12 at 17:02
No. The best way would be to install fpm and build a .deb file, then install that. – Tom O'Connor Apr 10 '12 at 17:17
Smart, didn't know of that way. Much better. – Snowflow Apr 11 '12 at 8:09

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.