[CPR-399] Use APT pinning for Puppet Labs sources to override distro packages Created: 2017/01/06  Updated: 2017/08/02  Resolved: 2017/01/26

Status: Closed
Project: Community Package Repository
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 2017/08/02

Type: Improvement Priority: Major
Reporter: Andrey Galkin Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Issue Links:
Relates
relates to PA-803 Enable package pinning in Debian 9 p-... Closed
Template:

Error rendering 'issue-templates-customfield'. Please contact your Jira administrators.

Acceptance Criteria:

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



 Comments   
Comment by Lexa Whitehurst [ 2017/01/20 ]

The Debian bug report has been updated, looks like changes have been made downstream to remove the puppet-agent package, although they haven't fully landed yet.

Comment by Geoff Nichols [ 2017/01/26 ]

Andrey Galkin, thanks for opening this! Since this has been fixed upstream in Debian 9, we'll move this to closed.

Generated at Sun Sep 27 17:25:09 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.