Uploaded image for project: 'Community Package Repository'
  1. Community Package Repository
  2. CPR-399

Use APT pinning for Puppet Labs sources to override distro packages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2017/08/02
    • Component/s: Packaging
    • Labels:
      None
    • Environment:

      Major issue for upcoming Debian 9 Stretch
      Applies to all APT based

    • Template:
    • Acceptance Criteria:
      Hide

      apt-get install puppet-agent
      

      must install Puppet Labs version on Debian Stretch

      Show
      apt-get install puppet-agent must install Puppet Labs version on Debian Stretch
    • Team:
      Agent
    • QA Risk Assessment:
      Needs Assessment

      Description

      TL;TR

      cat >/etc/apt/preferences.d/puppetlabs.pref <<EOF
      Package: *
      Pin: origin apt.puppetlabs.com
      Pin-Priority: 1001
      EOF
      

      This report is in regards to Debian Bug #827867 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827867) reported by [~rw] or Ryan Whitehurst (not sure which of the accounts is active).

      Based on the mail chain, the maintainer has no time. Now, there is a soft freeze of Debian stretch => unlikely there would be a fix. So, the problem may span to Ubuntu later.

      As a Debian user, my suggestion is to enforce APT pinning inside puppetlabs-release-pc1-${codename}.deb as shown in the beginning.
      More info on pinning: https://wiki.debian.org/AptPreferences

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andvgal Andrey Galkin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support