Ask Your Question

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 xenial-security InRelease [102 kB]
Ign:2 xenial InRelease                          
Hit:3 xenial InRelease                   
Get:4 xenial-updates InRelease [102 kB]
Ign:5 trusty InRelease         
Hit:6 xenial Release                                                                    
Hit:8 trusty Release                                                                       
Get:10 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

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 ( )

Or you can utilize (or inspect) a solid installer script...

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


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

Seen: 311 times

Last updated: Sep 17 '17