Fixes for Ubuntu: cache and log directory creation, missing sheepdog package installation