apt-get update and apt-get dist-upgrade

NoOp glgxg at sbcglobal.net
Tue Sep 14 17:41:06 UTC 2010


On 09/13/2010 09:56 PM, Kaushal Shriyan wrote:
> Hi
> 
> What exactly apt-get update and apt-get dist-upgrade do and when
> should we use it.

http://manpages.ubuntu.com/manpages/lucid/en/man8/apt-get.8.html
https://help.ubuntu.com/community/AptGet/Howto

Note: The comments in the last regarding 'apt-get dist-upgrade' are only
partially correct; the command will perform an upgrade to a newer
version only if the appropriate files (/etc/apt/sources.list),  contains
references to a newer release package.

Also see:
http://manpages.ubuntu.com/manpages/lucid/en/man5/apt_preferences.5.html
http://manpages.ubuntu.com/manpages/lucid/en/man5/sources.list.5.html
http://manpages.ubuntu.com/manpages/lucid/en/man5/apt.conf.5.html
<http://manpages.ubuntu.com/manpages/lucid/en/man8/update-manager.8.html>







More information about the ubuntu-users mailing list