[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998828: apt: man apt_preferences.d wrong definition of priorities



Package: apt
Version: 2.2.4
Severity: normal

Dear Maintainer,

In `man apt_preferences.d` :
> The first specific-form record matching an available package version
determines the priority of the package version. Failing that, the
priority of the package is defined as the maximum of all priorities
defined by generic-form records matching the version. Records defined
using patterns in the Pin field other than "*" are treated like
specific-form records.

>From what I found it should be :
> The first specific-form record matching an available package version
determines the priority of the package version. Failing that, the
priority of the package is defined as the maximum of all priorities
defined by general-form records matching the version. Records defined
using exactly "Package: *" are general-form, all the other are
specific-form records.

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (no /etc/apt/preferences.d/* present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- (no /etc/apt/sources.list.d/* present) --


-- System Information:
Debian Release: 11.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.16-arch1-1 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages apt depends on:
ii  adduser                 3.118
ii  debian-archive-keyring  2021.1.1
ii  gpgv                    2.2.27-2
ii  libapt-pkg6.0           2.2.4
ii  libc6                   2.31-13
ii  libgcc-s1               10.2.1-6
ii  libgnutls30             3.7.1-5
ii  libseccomp2             2.5.1-1
ii  libstdc++6              10.2.1-6
ii  libsystemd0             247.3-6

Versions of packages apt recommends:
ii  ca-certificates  20210119

Versions of packages apt suggests:
pn  apt-doc                      <none>
pn  aptitude | synaptic | wajig  <none>
pn  dpkg-dev                     <none>
pn  gnupg | gnupg2 | gnupg1      <none>
pn  powermgmt-base               <none>

-- no debconf information


Reply to: