12.04 preseed install cannot update puppet to 3.4 from puppet repo

Matt . yamakasi.014 at gmail.com
Sun Jan 26 17:59:51 UTC 2014


Hi Tom,

Yes it's fixed already, didn't got the time to reply.

The preseed file was not 100% up-to-date so it missed dependencies indeed.

Thanks!


2014-01-26 Tom H <tomh0665 at gmail.com>

> 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?
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140126/9327d9a3/attachment.html>


More information about the ubuntu-users mailing list