Bug#1125256: apt: need new hook endpoint when there are "Not upgrading" packages for apt upgrade -V
Package: apt
Version: 3.1.13
Severity: wishlist
X-Debbugs-Cc: kenhys@xdump.org
Dear Maintainer,
* What led up to the situation?
Currently, there is no hook endpoint when there are "Not upgrading"
packages for apt upgrade -V.
It is impossible for APT JRON-RPC hook side to check what packages
are actually marked as "Not upgrading" at all.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Checked existing documentation about JSON RPC endpoint. No such
endpoint there.
https://salsa.debian.org/apt-team/apt/-/blob/main/doc/json-hooks-protocol.md
* What was the outcome of this action?
apt-get upgrade -V doen't invoke and don't pass "Not upgrading"
information to JSON RPC hook side.
* What outcome did you expect instead?
It would be nice if apt has
org.debian.apt.hooks.install.not-upgrading or similar endpoint and it
gives us what packages are marked as "Not upgrading".
json should include at least what package, already
installed version, newer package version and so on.
NOTE:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681103 also mentions
about post upgrade hooks, but it has nothing to do with "Not
upgrading" packages.
Regards,
Reply to: