Split setup tasks into distro-specific files and update apt_cache for first run.