从GIT
version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
时出现以下错误
命令:sudo yum install git
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package git available.
Error: Nothing to do
命令:yum repolist
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
repolist: 0
答案 0 :(得分:0)
<强> STEPS 强>
EPEL
的Enterprise Linux Extra软件包
醇>
yum install epel-release
2.之后,您会注意到以下存储库文件已添加到服务器的yum.repos.d目录中。
ls -lh /etc/yum.repos.d /