Git未在SUSE Linux Enterprise Server 12 SP3上安装

问题描述

Git未安装在SUSE Linux Enterprise Server 12 SP3上。 安装时出现以下错误:

git-core-2.12.3-26.1.x86_64需要

perl-Error

解决方法

您只需要安装perl(Error)。但是您需要为您的特定发行版获取正确的软件包。

将存储库添加到您的安装中(检查信息here)。

应该看起来像这样,但是我认为addrepo链接可能必须有所不同,以便您获得正确的perl-error

zypper addrepo https://download.opensuse.org/repositories/devel:languages:perl/SLE_12_SP4/devel:languages:perl.repo
zypper refresh
zypper install perl-Error

,然后尝试再次安装git-core

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...