[Bug 1815760] Re: Additional hooks for update
Julian Andres Klode
julian.klode at canonical.com
Fri Mar 15 10:47:09 UTC 2019
As does cosmic 1.7.4:
+ apt-cache policy apt
+ grep -o Installed.*
Installed: 1.7.4
+ apt update -o APT::Update::Post-Invoke-Stats::=/bin/echo TEST1815760
Get:1 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu cosmic InRelease
Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu cosmic-proposed InRelease [92.5 kB]
Fetched 345 kB in 1s (632 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.
TEST1815760
+ apt-get update -o APT::Update::Post-Invoke-Stats::=/bin/echo TEST1815760
Hit:1 http://archive.ubuntu.com/ubuntu cosmic InRelease
Hit:2 http://security.ubuntu.com/ubuntu cosmic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease
Hit:5 http://archive.ubuntu.com/ubuntu cosmic-proposed InRelease
Reading package lists... Done
- all verified
** Tags removed: verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-xenial
** Tags added: verification-done verification-done-bionic verification-done-cosmic verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1815760
Title:
Additional hooks for update
Status in apt package in Ubuntu:
Fix Released
Status in apt source package in Trusty:
Invalid
Status in apt source package in Xenial:
Fix Committed
Status in apt source package in Bionic:
Fix Committed
Status in apt source package in Cosmic:
Fix Committed
Status in apt source package in Disco:
Fix Released
Bug description:
[Impact]
We want to write some scripts for apt that run on update if apt shows an update count, to provide further details about the new cache.
[Test case]
Specify a APT::Update::Post-Invoke-Stats script and check that
(1) it shows in apt update
(2) it does not show in apt-get update
[Regression potential]
More scripts may fail the update now, but there should not be any registered so far.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1815760/+subscriptions
More information about the foundations-bugs
mailing list