As part of T181647 in modules/apt/manifests/unattendedupgrades.pp we are installing apt-show-versions. The package is part of our build for Jessie and Stretch but not so for Trusty (most of Toolforge still) and it keeps tripping on other apt operations intermitently.
#!/bin/sh [ -f /usr/bin/apt-show-versions ] || exit 0 apt-show-versions -i
Now here is where it gets interesting.
#!/bin/sh # # Note: This file is managed by Puppet # [ -f /usr/bin/apt-show-versions ] || exit 0 apt-show-versions -i > /dev/null 2>&1
This file is managed by Puppet? Not currently it seems but at some point?
We already have Puppet updating the Apt metadata periodically, and apt-show-versions trying to do it once a day doesn't seem useful to me.
I'm thinking we should ensure => 'absent' for /etc/cron.daily/apt-show-versions in modules/apt/manifests/unattendedupgrades.pp.