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

Bug#1016967: marked as done (apt_preferences(5) downgrade rule is off-by-one)



Your message dated Mon, 05 Jan 2026 22:18:26 +0000
with message-id <E1vcsuA-0000000Flti-3flq@fasolo.debian.org>
and subject line Bug#1016967: fixed in apt 3.1.13
has caused the Debian Bug report #1016967,
regarding apt_preferences(5) downgrade rule is off-by-one
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1016967: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016967
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 2.5.2
Severity: normal
Tags: patch

APT Development Team,

apt_preferences(5) says:

> Never downgrade unless the priority of an available version exceeds
> 1000. ("Downgrading" is installing a less recent version of a package
> in place of a more recent version. Note that none of APT's default
> priorities exceeds 1000; such high priorities can only be set in the
> preferences file. Note also that downgrading a package can be risky.)

However, a priority of 1000 enables downgrading.

Both instances of "exceeds" should be changed to "equals or exceeds".

Patch below.

Thank you!
Daniel Lewart
Urbana, Illinois
---
diff -ru a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml
--- a/doc/apt_preferences.5.xml	2022-07-24 10:57:24.000000000 -0500
+++ b/doc/apt_preferences.5.xml	2022-08-10 00:00:00.000000000 -0500
@@ -142,9 +142,9 @@
 to determine which version of a package to install.
 <itemizedlist>
 <listitem><simpara>Never downgrade unless the priority of an available
-version exceeds 1000.  ("Downgrading" is installing a less recent version
+version equals or exceeds 1000.  ("Downgrading" is installing a less recent version
 of a package in place of a more recent version.  Note that none of APT's
-default priorities exceeds 1000; such high priorities can only be set in
+default priorities equals or exceeds 1000; such high priorities can only be set in
 the preferences file.  Note also that downgrading a package
 can be risky.)</simpara></listitem>
 <listitem><simpara>Install the highest priority version.</simpara></listitem>

###

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 3.1.13
Done: Julian Andres Klode <jak@debian.org>

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1016967@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Jan 2026 22:56:34 +0100
Source: apt
Architecture: source
Version: 3.1.13
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 1016967 1112123
Changes:
 apt (3.1.13) unstable; urgency=medium
 .
   [ Ville Skyttä ]
   * Grammar fixes
   * bash-complete basic list search patterns
 .
   [ Daniel Lewart ]
   * Priority 1000 allows downgrades (Closes: #1016967)
 .
   [ Simon Josefsson ]
   * Fix host-specific Acquire::https CAInfo/CRLFile example (Closes: #1112123)
 .
   [ Christopher Bock ]
   * configure-index Acquire::ForceIPv4/6
   * completion: history
 .
   [ Julian Andres Klode ]
   * Refactorings to the 3.0 solver:
     - Introduce a Lit type to hold literals
     - Refactor Assume(), Enqueue() from Var to Lit
     - Implement value(Lit) and use it
     - Rename Decision to LiftedBool
     - Rename key concepts to MiniSAT names
     - Refactor to use a namespace
     - Extract DependencySolver
     - Reorder the source code
     - Rename decision to assignment
     - Rename depth to level
     - Re-use existing error message code in Solve()
     - Remove Push() and refactor Solve()
     - Add a strange assertion
     - Modernize std::find() to std::ranges::contains
     - Ensure rule-of-3 memory safety for ContiguousCacheMap
   * macros: Introduce must_succeed() macro
     This is like assert() but guaranteed to run its argument,
     and only run the argument once, so you can must_succeed(foo())
 .
   [ Johannes Schauer Marin Rodrigues ]
   * apt-private/private-download.cc: support unlimited space tmpfs
 .
   [ Aindriú Mac Giolla Eoin ]
   * Updated Irish translation based on Release 3.1.12
Checksums-Sha1:
 7f469a07f46ddfef67f11a2e02a75dee13869cda 3095 apt_3.1.13.dsc
 b8c45b514315385d138dc1aa99172369c10cac36 2467248 apt_3.1.13.tar.xz
 c30580545b6e33899638b963b6b1bfe9fea3a5c7 7401 apt_3.1.13_source.buildinfo
Checksums-Sha256:
 7ddb51ca79c5885d37fc7ed1806b21df199ddd29eb66d6353dccfcad085e881a 3095 apt_3.1.13.dsc
 bd9042ba5a1b9ee72da52e4ecab6d89e213111313727e398ca2046b9de213f7b 2467248 apt_3.1.13.tar.xz
 f3cad708066a952409d8354bf28686ea7b6c8ee2f532452ad7e6aa7a0b3ae044 7401 apt_3.1.13_source.buildinfo
Files:
 1fab0946dd758ca894509e77c6d341d3 3095 admin required apt_3.1.13.dsc
 a47b9fc6ad615228013d198c9094d621 2467248 admin required apt_3.1.13.tar.xz
 e6f7108a88737b753fe0020f1a5850eb 7401 admin required apt_3.1.13_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmlcNEcPHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9x+MIQAIPBvPgmjORDtZ6hSAbNEsypkuoXtijOJQOa
rzlUEG36iuC0G+jt6P/sMKIIfsxXflIWn1D/UG7jT2r1TUW3/xzG+ZUOU0eAi0zc
YxBEryyHYDoUq7h7+dGWLjJOPqepq2LOQzK4qdzSdh2iMRz7aaCWJFy1PpBmpoQz
L9bqmTm8oQGmX/FvkTBjmR4gfkcJtQDFhgezTaMx42qBpmmo+yOgafwVQdQtOBtL
cLmltqvrhRBX4ZpN+lh1FdoQ2MZjHxTDb03CcbBEJ9e/JyRE+/9ERP2iT+Wt2odc
D/kYsLvqL+8GGF9hy7UgikF5PI9jb6qhWgQ8gW7ILyaX2UZUCbvHj5CGDeMdQDwz
MoyZXRKQ7gw3MWzdBu2adVhlwVcspXdvA9b0gTKvlxHmzJVw8Mrw3NJyxC/XaGls
BZPJjPkxzo+FkWpu4xzHDiOZwvptJP/XhiYiAl13pbDBaeCCUZhBbTXMYLXMeEFT
8UKQgaviDreg0uKwSkGSBjJl2lE6FIWAhYsUfliNjV758ZgDTHkBYH2WBYP4DgjL
bTvHhQClj0SzuirqdQPGFWFewpTKhkI3reNWIev9Hq0L2zUs0TMHm3YzBKENNLJ/
oD26x6HZvYAxkqoQ7S77TyB60wmPI1tTqNQu7wJzdhJuhoKryT1eN1G5QWfdeu2g
txKjAzaI
=Hmij
-----END PGP SIGNATURE-----

Attachment: pgpw4hnD8f9zI.pgp
Description: PGP signature


--- End Message ---

Reply to: