charm-helpers
charm-helpers copied to clipboard
ubuntu-cloud-keyring may not be installed if apt update is required
I am seeing an issue specifically in lxd containers on s390x arch where a manual apt-get update is required before ubuntu-cloud-keyring can be installed. Perhaps an apt update should be run before attempting to install any packages?
https://github.com/juju/charm-helpers/blob/e1dc8165b906846e7aa62c4e4d6672d78bb65542/charmhelpers/fetch/ubuntu.py#L452
-
I believe there is an image bug, specifically whilst universe is enabled the container pre-ships /var/lib/apt/lists/* for main only and does not have pre-fetched lists for the universe. Either it should ship pre-cached lists for all components or none of them.
-
yes, ubuntu-cloud-keyring should be in main! because doh!