The difference between apt-get update and upgrade of

update

/etc/apt/sources.list index update is synchronous source and /etc/apt/sources.list.d listed, so as to get the latest software packages.

 

upgrade

upgrade upgrade all packages are installed, after the upgrade version is in the local index, therefore, before performing the upgrade must perform the update, in order to date.

Guess you like

Origin www.cnblogs.com/todarcy/p/10984173.html