Upgrading to a Newer Debian Release
For example you want to upgrade to a newer release; for example, from Woody to Sarge.
First, edit /etc/apt/sources.list so that it has only Sarge entries. Then do the following:
# apt-get update
# apt-get -u upgrade
# apt-get -u dist-upgrade
The -u flag lets you review the changes first. Depending on the speed of your Internet connection and how many packages are required, this can take up to several hours.
