[Ilugc] apt-get dist-upgrade - interuption
- From: rsubr@xxxxxxxxxxxxxxxxxxxxxxxx (Raja Subramanian)
- Date: Tue, 20 Apr 2004 01:12:11 +1000
Sridhar R wrote:
I am running
$ apt-get dist-upgrade (~250MB)
now. I am running it through GNU screen (in case if the client get
crashed). But what would happen if in the middle of setting up packages,
the server crashed. What would happen to the state of debian? Will it be
It's highly unlikely that your box will crash due to software problems.
But it still depends what you are upgrading to. Upgrading between
stable releases (eg. potato -> woody) is *extremely* robust. IIRC the
potato to woody update did not even require a reboot!
I've upgraded several boxes from woody to sarge without any major dramas
(expect XFree86 to fall over, but that's pretty much it).
Recovering from hardware problems, or a power failure depends on the
filesystem you are running and a number of other factors.
In any case, your upgrade session can be resumed with -
apt-get dist-upgrade # this will pickup where it left off
apt-get -f install # finish installing any pending debs
Note: Apt stores its downloads in /var/cache/apt/archive so you can
easily save your downloaded files for future use.
Other related posts: