Run an `apt-get update` before installing packages.

It seems to fix an occasional apt-get installation error.