Your message dated Mon, 2 Nov 2026 17:18:49 +0530
with message-id 
<CAHaFp9i=ow-0XCfArY3rVn0Z4H6jD0WdUT3PUf0XnbBfv1R=v...@mail.gmail.com>
and subject line Bug#80123: Pre-Download hook - closing as implemented via 
JSON-RPC hooks
has caused the Debian Bug report #80123,
regarding Pre-Download hook
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 [email protected]
immediately.)


-- 
80123: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=80123
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt
Version: 0.4.7
Severity: wishlist

It would be nice to have a hook that would run before downloading any packages,
and be fed a pipeline of package info (version 1 or version 2, like
DPkg::Pre-Install-Pkgs).  This would allow something like apt-listchanges to
gather and display changelog information before any packages are downloaded,
once a facility exists for doing so.

-- System Information
Debian Release: woody
Architecture: i386
Kernel: Linux mizar 2.2.17 #1 Tue Sep 5 21:11:43 EDT 2000 i686

Versions of packages apt depends on:
ii  libc6                        2.2-6       GNU C Library: Shared libraries an
ii  libstdc++2.10                1:2.95.2-14 The GNU stdc++ library            

-- 
 - mdz


--- End Message ---
--- Begin Message ---
Version: 1.6

Hello,

I am closing this bug report because the functionality requested in it -
a way to be notified with package information before the download phase
begins - is now provided by apt.

apt ships JSON-RPC hooks, documented in doc/json-hooks-protocol.md in the
apt source tree. The org.debian.apt.hooks.install.pre-prompt hook is
called before the user is prompted and before any packages are
downloaded, and it conveys the packages scheduled for installation,
upgrade and removal. This gives external tools the pre-download
inspection point that was the goal of this request, so that tools such
as apt-listbugs and apt-listchanges can act on package information
before any data is fetched.

This is a different mechanism from the DPkg::Pre-Install-Pkgs-style hook
originally proposed, but it covers the use case the report describes.

Thank you.

--- End Message ---

Reply via email to