Ask Your Question
1

Cannot install puppet because of unmet dependencies

asked 2014-09-15 06:10:56 -0500

Aykyu gravatar image

updated 2014-09-15 10:41:08 -0500

ramindk gravatar image

I'm trying to install puppet on a fresh ubuntu 14.04 machine but I get the following error

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.7.0-1puppetlabs1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I've followed the instructions here and did the following

wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
sudo dpkg -i puppetlabs-release-trusty.deb 
sudo apt-get update

I've also tried installing ruby and uncommenting the 'devel' sources in puppetlabs.list.

Any help would really be appreciated.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-09-15 12:16:03 -0500

ramindk gravatar image

If you have Puppet already installed from the Ubuntu repo you may need to do one of two things.

sudo aptitude purge puppet puppet-common facter ; sudo aptitude install puppet

or

sudo aptitude install puppet-common=3.7.0-1puppetlabs1 puppet=3.7.0-1puppetlabs1
edit flag offensive delete link more
0

answered 2014-09-17 05:00:56 -0500

syss gravatar image

Best program I can recommend for installing debian packages with dependencies is gdebi.

apt-get install gdebi

Then you can install a debian package without worrying about other packages.

gdebi -i puppetlabs-release-trusty.deb
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: 2014-09-15 06:10:56 -0500

Seen: 1,462 times

Last updated: Sep 17 '14