If I run the command apt-get update are any packages downloaded? My understanding is that it only updates the repositories. Based on that understanding does, that also mean that it updates the source.list file or does it simply update the apt cache?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
|||
|
|
|
It updates the lists of available packages, which are cached as the per-repository |
|||||||||
|
|
From the Ubuntu help page: To update the local package index with the latest changes made in repositories, type the following: sudo apt-get update So, no, it does not download any packages. It does not update sources.list. |
|||
|
|
Conversely, if you wanted to get all the new packages you would do 'sudo apt-get upgrade' after updating the lists. |
|||
|
|