[Bug 1815760] Re: Additional hooks for update
Julian Andres Klode
julian.klode at canonical.com
Fri Mar 15 10:46:14 UTC 2019
xenial 1.2.31 looks good:
+ apt-cache policy apt
+ grep -o Installed.*
Installed: 1.2.31
+ apt update -o APT::Update::Post-Invoke-Stats::=/bin/echo TEST1815760
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-proposed InRelease [260 kB]
Fetched 586 kB in 0s (848 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
23 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 xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-proposed InRelease [260 kB]
Fetched 586 kB in 0s (832 kB/s)
Reading package lists... Done
--
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