what to do if network connection breaks between an upgrade

Alan Pope alan at popey.com
Mon Oct 4 14:59:26 UTC 2010

On 4 October 2010 15:45, Cybe R. Wizard <cyber_wizard at mindspring.com> wrote:
> Recommendations aside, doesn't the 'apt-get upgrade' method work just as
> well?

do-release-upgrade and update-manager have additional code paths to
work around common issues that might occur during upgrades.

Whilst a search and replace on sources.list, apt-get update && apt-get
dist-upgrade _might_ work, and work just fine, we don't recommend it,
that's all.

I have personally upgraded machines via that method, and even upgraded
from something like 8.10 to 9.10 skipping 9.04, I'm okay with fixing
things myself when they break. Of course your system is your system,
if you want to try the un-recommended path, then go right ahead, it's
only a recommendation after all.

> Doesn't one need 'dist-upgrade' for it to succeed?

Yes, apt-get dist-upgrade is preferable to apt-get upgrade in the
instance of upgrading a machine from one release to another.


More information about the ubuntu-users mailing list