Update apt before installing dependencies