12.04 preseed install cannot update puppet to 3.4 from puppet repo

Tom H tomh0665 at gmail.com
Sun Jan 26 17:45:07 UTC 2014


On Sun, Jan 26, 2014 at 7:34 AM, Matt . <yamakasi.014 at gmail.com> wrote:
> 2014-01-26 Tom H <tomh0665 at gmail.com>
>> On Sun, Jan 26, 2014 at 5:38 AM, Matt . <yamakasi.014 at gmail.com> wrote:
>>>
>>> During a preseed installation on 12.04 LTS I want to update puppet
>>> directly
>>> from 2.7 to 3.4 using the puppet Repo, this doesn't work and hangs on a
>>> unmet depency.
>>>
>>> In my preseed file i have the following:
>>>
>>> # Puppetlabs repo
>>> d-i apt-setup/local0/repository string \
>>>     http://apt.puppetlabs.com/ precise main
>>>     d-i apt-setup/local0/comment string Puppetlabs packages
>>>     d-i apt-setup/local0/key string http://apt.puppetlabs.com/pubkey.gpg
>>>
>>> d-i pkgsel/upgrade select full-upgrade
>>>
>>> The unmet dependency puppet-common error is shown in the attachment.
>>
>> The canonical way to install puppetlabs is:
>>
>> wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
>> dpkg -i puppetlabs-release-precise.deb
>> apt-get update
>> apt-get install ...
>>
>> The puppetlabs-release-precise.deb sets up repos and keys for the
>> "main" and "dependencies" components of puppetlabs.
>>
>> Did you set up the "dependencies" component of puppetlabs?
>>
>> AFAIK, you also need to set up the "universe" component of ubuntu.
>
> On an installed Ubuntu server that works, but I need to have it in preseed
> as my first puppet run needs to run with 3.x and not 2.7.

Please bottom-post.

You can use "wget ..." in "d-i preseed/late_command ...".

On a fresh install, 3.4.2-1puppetlabs1 should be pulled in
automatically without any need to upgrade, unless you're installing an
older version through another method than apt.puppetlabs.com.

Have you tried enabling "dependencies" and "universe" in your preseed config?




More information about the ubuntu-users mailing list