2017-09-08 91 views
0

嘗試更新木偶大師版本和刪除,當我試圖安裝以前的版本後木偶常見(= 3.8.7-1puppetlabs1)Installling錯誤

木偶常見(= 3.8.7-1puppetlabs1 )

發生錯誤。

[email protected]:/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 

命令和apt-get安裝libaugeas,紅寶石

在其他的解決方案給了沒有工作。

請讓我知道是否需要其他細節。

+0

您是否使用從木偶的官方回購? –

+0

你是否在安裝puppet-common之前做了'sudo apt-get update'? – andrewleung

+0

@andrewleung是的,也試過了。 –

回答

1

看命令提示符,您使用的是Ubuntu。 Puppet與所有版本的Ubuntu不兼容。我在Ubuntu 16.06上獲得了相同版本的Puppet(3.8.7-1)相同的錯誤消息。我嘗試了一百萬件事情,直到我意識到它是OS版本到Puppet版本匹配。

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

如果您安裝由您正在使用的操作系統支持的傀儡的版本。它應該安裝。如果不知道你使用的是什麼版本的Ubuntu,這可能不是問題,但如果是這樣,你應該保持良好的狀態。下面的鏈接,如果你是在16.04:

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