run apt-get update after adding an apt repository