I resolved this by adding the 'dependency' repo. I do wonder what the purpose of having a separate repo?
I am having the same issue...Running on Ubuntu as below:Distributor ID: UbuntuDescription: Ubuntu 12.04 LTSRelease: 12.04Codename: preciseManaged using Vagrant, puppet master being installed via the puppetlabs puppet module from puppet forge:err: /Stage[main]/Puppet/Package[puppet]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install puppet' returned 100: Reading package lists...Building dependency tree...Reading state information...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.2.1-1puppetlabs1) but it is not going to be installedE: Unable to correct problems, you have held broken packages.at /tmp/vagrant-puppet/modules-0/puppet/manifests/init.pp:39Chris
On Wednesday, 22 May 2013 22:53:21 UTC+1, Matthew Kennedy wrote:--When trying to install puppetmaster-passenger from puppetlabs apt repo I get... was working 2ish hours ago (before the 3.2 release)Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies:puppetmaster-passenger : Depends: puppetmaster-common (= 3.2.1-1puppetlabs1) but it is not going to be installedE: Unable to correct problems, you have held broken packages.Thanks,Matt
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Quick question for those of you affected by this -- what did you to do to add the puppetlabs apt repo?Did you do it through the method described here: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu.. or some other way? I'm trying to suss out whether the docs / packages are messing people up.
CODENAME=$(lsb_release -cs | tr '[A-Z]' '[a-z]')[ -z $CODENAME ] && echo "Codename not set" && exit 1;pkgname="puppetlabs-release-${CODENAME}.deb"wget -q $urldpkg -i $pkgnamerm $pkgnameapt-get update && apt-get -y install puppet
Hi Greg, thanks for the info -- I slightly disagree that the docs should describe manual installation; IMO they should describe supported/official ways to do things, because anything that's documented gets interpreted as being supported and official :)
That said, we could punch up the importance of including the deps repository. It's been necessary for EL users for a long time, but this was the first Puppet release that pulled in a hard dependency for Debian-based systems.
Why are there two separate repos, especially when you are unable to install a package from main without the other?
#cloud-config manage_etc_hosts: true hostname: <hostname> fqdn: <hostname>.example.com apt_sources: - source: "deb http://apt.puppetlabs.com $RELEASE main" keyid: 4BD6EC30 filename: puppetlabs.list apt_update: true apt_upgrade: true packages: - puppet puppet: conf: agent: server: "puppet.example.com" certname: "%i.<hostname>.eu-west-1"Also, I've fixed existing nodes by pushing a similar change through Puppet before attempting the upgrade to 3.2.1.
...where <hostname> is set to the, well, desired hostname. This is enough to add the repo, install and configure Puppet and connect to our master, which then takes over. Puppet then configures the server, including taking over management of puppet.conf and puppetlabs.list.
To resolve this upgrade issue, I've made two changes. I've modified the cloud-init script to correctly bootstrap new nodes:
source: "deb http://apt.puppetlabs.com $RELEASE main dependencies"