Skip to content

The default pin of apt::backports is different from the default pin for backports in Debian #1276

@zen-fu

Description

@zen-fu

Describe the Bug

The apt::backports resource has a default pin of 200, which is different from the default pin of 100 for Debian backports.

priority 100
    to the version that is already installed (if any) and to the versions coming from
    archives which in their Release files are marked as "NotAutomatic: yes" and
    "ButAutomaticUpgrades: yes" like the Debian backports archive since
    squeeze-backports.

https://manpages.debian.org/trixie/apt/apt_preferences.5.en.html#APT%27s_Default_Priority_Assignments

Expected Behavior

i expected to include apt::backports and have priority pins just like the default in Debian.

Steps to Reproduce

  • include apt::backports
  • see that there's a file:
    # This file is managed by Puppet. DO NOT EDIT.
    Explanation: apt: backports
    Package: *
    Pin: release n=trixie-backports
    Pin-Priority: 200
    

Environment

  • Version: 10.0.1, but i believe it's still the same in latest
  • Platform: Debian 13 (trixie)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions