Ask Your Question
0

Not able to install puppet on puppet agent.

asked 2017-09-17 04:56:08 -0600

Taragrg6 gravatar image

I have successfully setup puppetserver and puppet agents on it .(it is docker container with centos-6) Next trying to setup client machine (puppetagent) (it is docker container with Ubuntu 16)

Now trying to install puppet using sudo apt-get install command

Following error is thrown:

Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:2 http://apt.puppetlabs.com xenial InRelease                          
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease                   
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:5 http://apt.puppetlabs.com trusty InRelease         
Hit:6 http://apt.puppetlabs.com xenial Release                                                                    
Hit:8 http://apt.puppetlabs.com trusty Release                                                                       
Get:10 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                   
Fetched 306 kB in 1s (173 kB/s)                             
Reading package lists... Done
root@5860737a89e9:/# sudo apt-get install puppet
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 : Depends: puppet-common (= 3.8.7-1puppetlabs1)
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-17 10:22:25 -0600

DarylW gravatar image

Are you trying to install the native puppet package, which is puppet 3.8.7, or are you trying to set up a more modern version via the puppet labs repositories?

The new repos have puppet-agent as the package, while the system packages have 'puppet' as the package to install You can either directly follow the docs ( https://docs.puppet.com/puppet/5.1/in...pre.html https://docs.puppet.com/puppet/5.1/pu...platform.html https://docs.puppet.com/puppet/5.1/in... )

Or you can utilize (or inspect) a solid installer script... https://github.com/petems/puppet-inst...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-09-17 04:56:08 -0600

Seen: 69 times

Last updated: Sep 17