I think that on new machines (at least on the bootstrap node) apt-get update and apt-get upgrade is done when starting. I'm not too sure about it, though. Otherwise, you wouldn't be able to get the latest version of a package.
On 04/10/2014 05:00 AM, Stuart Bishop wrote: > Hi. > > Should a charm be responsible for running 'apt-get update', 'apt-get > upgrade' etc? > > If so, which hooks should invoke this behavior? > > Of course, sometimes a charm has no choice about 'apt-get update', for > example when a config-changed hook needs to add a PPA. > -- José Antonio Rey -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
