APT Addon doesn't run in Bionic

On the Bionic image the APT Addon does not run.
Manually running APT works fine.
Job log
Job log - manual

Possible related: apt-cache returns an error.

The command "apt-cache show cmake -a | grep Version" exited with 1.

Job log Line:202

After running sudo apt update the issue seems to resolve itself.
Job log Line:183


Unfortunately, I found no way to get the APT addon working following the documentation for Bionic. In my case running apt update directly does not seem to trigger the execution of the APT addon either.

Hiya @oszillo, welcome.

This issue is already tracked at APT Addon doesn't run in Bionic

And on the broader top of Bionic … see