Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3640  / 3 Years ago, thu, august 12, 2021, 3:13:33

I am trying to install git and gitolite with the command sudo apt-get -y install git gitolite. It gives me the following output:



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gitolite is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'gitolite' has no installation candidate


I tried updating apt-get, but that didn't do anything. Does anyone know how I can fix this?


More From » apt

 Answers
3

For Xenial Xerus:



andrew@athens:~$ apt-cache search gitolite
gitolite3 - SSH-based gatekeeper for git repositories (version 3)
git-notifier - git commit email notification script
andrew@athens:~$


So your command should be:



sudo apt-get install git gitolite3


This has changed from older versions of Ubuntu...


[#14552] Friday, August 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
attagjump

Total Points: 272
Total Questions: 127
Total Answers: 124

Location: Taiwan
Member since Fri, Sep 17, 2021
3 Years ago
;