what to do if network connection breaks between an upgrade

Tapas Mishra mightydreams at gmail.com
Mon Oct 4 14:45:05 UTC 2010


On Mon, Oct 4, 2010 at 7:42 PM, Amedee Van Gasse (ub)
<amedee-ubuntu at amedee.be> wrote:
.......snip.............
> If you fear a _power_ failure: make a backup of /etc/apt/sources.list and
> /etc/apt/sources.list.d/*.list before you start.
>
> If you have a power failure in the download phase: just restore the
> /etc/apt files, run aptitude update followed by do-release-upgrade. It'll
> be just like a network failure but you really need to restore your apt
> files manually.
>
> If you have a power failure in the install phase: I'd do aptitude update +
> do-release-upgrade + aptitude full-upgrade to see what errors it reports.
> Best case scenario is that it continues the upgrade, worst case scenario
> is that you get a very detailed report that you can copy/paste to this
> list for further assistance.
Ok this is what I was looking for.No problem list I am an experienced
user and I always have an old copy of
stable  Ubuntu on one partition working so that if I mess up some
where I am always in a position to recover.
I asked this question out of curiosity.
Thanks.




More information about the ubuntu-users mailing list