checking if apt-get update is redundant