Error while enabling the official puppet lab collection repository

0 votes

I'm trying to enable the official puppet lab collection repository with this command:

sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

And I ended up with this error, what do I do?

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
Feb 25 in Puppet by Alia
14 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Alia, try executing these commands and let me know if it works:

[root@ip-10-****/]# rpm -qa | grep puppetlabs-release
puppetlabs-release-6-12.noarch
[root@ip-10-****/]# rpm -e puppetlabs-release-6-12.noarch
answered Feb 25 by Nandita

Thanks, @Nandita for the quick response and surprisingly this worked. Can you please tell why was I getting that error?

Seems like you have puppet 3 and you're executing commands for puppet 4.

Related Questions In Puppet

0 votes
1 answer

Error while using newrelic class - Puppet

Hey @Harjot, The catalog compiler will look ...READ MORE

answered Feb 14 in Puppet by Ranjan
13 views
0 votes
1 answer
0 votes
1 answer

Error while installing Puppet dashboard

Hey @Dipti, seems like you haven't enabled ...READ MORE

answered Feb 25 in Puppet by Nandita
10 views
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Error while trying to instal mssql tools using puppet

When you use puppet, you don't use ...READ MORE

answered Feb 25 in Puppet by Nandita
27 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.