I've seen several times people talking about apt-get and packages list, I know what is apt-get and what it does, but what are the packages lists?
APT – List of Packages in Ubuntu
apt
apt
I've seen several times people talking about apt-get and packages list, I know what is apt-get and what it does, but what are the packages lists?
Best Answer
The package list, as it names indicates, is the list of all packages contained in all the repositories in your
sources.list
configuration files. Most of the package managers (including APT) uses packages list.This lists reside in the
/var/lib/apt/lists/
directory and apt systems update them whenever youupdate
the lists (please, note that there is a difference betweenupdate
andupgrade
)apt
will fetch the lists from the repositories and store it locally for future uses. Whereas you run any command in apt this list are loaded an processed and your commands (like install, remove, upgrade).Reference: