bionic 1.6.10 looks good as well:

+ apt-cache policy apt
+ grep -o Installed.*
Installed: 1.6.10
+ apt update -o APT::Update::Post-Invoke-Stats::=/bin/echo TEST1815760
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]       
  
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]     
              
Get:5 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease [242 kB]
Fetched 494 kB in 1s (885 kB/s)                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
38 packages can be upgraded. Run 'apt list --upgradable' to see them.
TEST1815760
+ apt-get update -o APT::Update::Post-Invoke-Stats::=/bin/echo TEST1815760
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]       
    
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]     
              
Get:5 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease [242 kB]
Fetched 494 kB in 0s (991 kB/s)                               
Reading package lists... Done

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to