Update base.py

Update apt indexes before attempting to install any packages. Fixes #48