When adding a ppa repository using sudo add-apt-repository ppa:...
, why should I execute sudo apt-get update
?
I am new to Ubuntu and I don't see the purpose of it because there aren't packages installed from the repo. It only takes a lot of time to cycle through my installed packages.
From the manpages:
Adding
apt-add-repository
just adds a line to/etc/apt/source.list
.apt-get update
downloads the latest package index from all the known repositoriesAlso I recommend reading apt-get wiki pages