2016-08-15 98 views
0

我用這個命令啓用官方木偶實驗室收集區:木偶安裝錯誤-enable回購

當我嘗試這樣做:

須藤轉-ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

錯誤:

Retrieving http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm 
warning: /var/tmp/rpm-tmp.4CilbA: Header V4 RSA/SHA1 Signature, key ID 4bd6ec30: NOKEY 
Preparing...       ################################# [100%] 
     file /etc/yum.repos.d/puppetlabs.repo from install of puppetlabs-release-7-12.noarch conflicts with file from package puppetlabs-release-6-12.noarch 

沒有人知道如何解決這個問題?

+1

注意,該庫是舊的,只包含木偶3! Puppet 4回購說明位於https://docs.puppet.com/guides/puppetlabs_package_repositories.html#using-puppet-collections –

+0

您是否在EL6或EL7系統上? –

+0

NAME =「Amazon Linux AMI」 VERSION =「2016.03」 ID =「amzn」#: 「 ID_LIKE =」rhel fedora「 VERSION_ID =」2016.03「 PRETTY_NAME =」Amazon Linux AMI 2016.03「 Amazon Linux AMI發佈2016.03 – nadish

回答

0

執行下面的COMAND解決了這個錯誤:

[[email protected]****/]# rpm -qa | grep puppetlabs-release 
puppetlabs-release-6-12.noarch 
[[email protected]****/]# rpm -e puppetlabs-release-6-12.noarch