gpt4 book ai didi

ruby - puppet-common (= 3.8.7-1puppetlabs1) 安装错误

转载 作者:数据小太阳 更新时间:2023-10-29 08:57:41 26 4
gpt4 key购买 nike

尝试更新 puppet master 版本并在我尝试安装时删除以前的版本

puppet-common (= 3.8.7-1puppetlabs1)

发生以下错误。

root@puppetmaster:/home/ubuntu/puppet# apt install puppet-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
puppet-common : Depends: libaugeas-ruby but it is not installable or
libaugeas-ruby1.9.1 but it is not installable or
libaugeas-ruby1.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
apt-get install ruby  
apt-get -f install

sudo apt-get install libaugeas-ruby

没有像其他解决方案那样工作。

如果需要任何其他详细信息,请告诉我。

最佳答案

查看命令提示符,您正在使用 Ubuntu。 Puppet 并不与所有版本的 Ubuntu 兼容。对于相同版本的 Puppet (3.8.7-1),我在 Ubuntu 16.06 上收到了相同的错误消息。我尝试了一百万种东西,直到我意识到它是操作系统版本与 Puppet 版本匹配。

https://docs.puppet.com/puppet/3.8/install_debian_ubuntu.html

如果您安装了您正在使用的操作系统支持的 puppet 版本。它应该安装。在不知道您使用的是哪个版本的 Ubuntu 的情况下,这可能不是问题所在,但如果是这样,您应该处于良好状态。如果您使用的是 16.04,请访问以下链接:

http://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-install-puppet-on-ubuntu-16-04.html

关于ruby - puppet-common (= 3.8.7-1puppetlabs1) 安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46109612/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com