Install hook relies on package definitions being present and recent

Bug #1933580 reported by Barry Price
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Apache2 Charm
Fix Released
Undecided
Barry Price

Bug Description

The install hook currently assumes it can "apt-get install" a few packages, which relies on recent package info being present.

However, package lists have been stripped for space from images for a while now, so may not be present at all - and there's also a chance someone could deploy from an outdated image that refers to packages no longer existing on the archive servers.

The install hook should run an 'apt-get update' before attempting any installs to handle the above.

Related branches

Barry Price (barryprice)
Changed in apache2-charm:
assignee: nobody → Barry Price (barryprice)
status: New → Fix Committed
Revision history for this message
Barry Price (barryprice) wrote :

Released to charm store as cs:apache2-36

https://jaas.ai/apache2

Changed in apache2-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.