我正在尝试使用命令安装 git 和 gitolite sudo apt-get -y install git gitolite。它给了我以下输出:
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
Run Code Online (Sandbox Code Playgroud)
我尝试更新 apt-get,但这没有任何作用。有谁知道我该如何解决这个问题?
对于 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:~$
Run Code Online (Sandbox Code Playgroud)
所以你的命令应该是:
sudo apt-get install git gitolite3
Run Code Online (Sandbox Code Playgroud)
这与旧版本的 Ubuntu 有所不同......
| 归档时间: |
|
| 查看次数: |
3580 次 |
| 最近记录: |