[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:
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 Tue Jan 28 09:24:18 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.