how to upgrade to a Newer Debian Release

10:25 AM
Upgrading to a Newer Debian Release


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.


If apt-get -u dist-upgrade shows any held packages, this indicates dependency conflicts that apt cannot resolve. See Recipe 3.13 for how to resolve these conflicts.

0 Comments