【发布时间】:2021-01-23 06:43:26
【问题描述】:
Git 未安装在 SUSE Linux Enterprise Server 12 SP3 上。 安装时出现以下错误:
git-core-2.12.3-26.1.x86_64 需要perl-Error
【问题讨论】:
Git 未安装在 SUSE Linux Enterprise Server 12 SP3 上。 安装时出现以下错误:
git-core-2.12.3-26.1.x86_64 需要perl-Error
【问题讨论】:
您只需要安装perl(Error)。但是您需要为您的特定发行版获取正确的软件包。
将 repo 添加到您的安装中(检查信息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。
【讨论】: