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, 2019 in Puppet by Alia
978 views

1 answer to this question.

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, 2019 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
0 votes
1 answer

Puppet in Docker: Error while running the Puppet container

Try to uncomment the following lines in the definition ...READ MORE

answered Aug 19, 2019 in Puppet by Sirajul
• 59,230 points
973 views
0 votes
1 answer

Puppet: Error while signing the certificates.

This might be because, the master lost ...READ MORE

answered Aug 29, 2019 in Puppet by Sirajul
• 59,230 points
2,453 views
0 votes
1 answer

Error while using newrelic class - Puppet

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

answered Feb 15, 2019 in Puppet by Ranjan
745 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,061 views
+2 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, 2019 in Puppet by Nandita
1,811 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP