charm-helpers icon indicating copy to clipboard operation
charm-helpers copied to clipboard

ubuntu-cloud-keyring may not be installed if apt update is required

Open andrewdmcleod opened this issue 7 years ago • 1 comments

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

andrewdmcleod avatar Aug 17 '18 14:08 andrewdmcleod

  1. 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.

  2. yes, ubuntu-cloud-keyring should be in main! because doh!

xnox avatar Aug 29 '18 15:08 xnox