apt-get upgrade~What happens if you become disconnected whil…

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: der.hans
Dátum:  
Tárgy: apt-get upgrade~What happens if you become disconnected while in process?
Am 19. Sep, 2003 schw=E4tzte Michael Havens so:

> What happens if you become disconnected while in process?


If the 'apt-get update' gets interrupted you'll possibly have corrupt
package lists. Rerunning 'apt-get update' will fix that.

if 'apt-get dist-upgrade' gets interrupted you could end up with partially
downloaded packages or packages that are partially installed. Rerunning
'apt-get dist-upgrade' will continued downloading from where it was ( per
file, so if you have half of the new version of ssh, it'll get the other
half and doesn't have to refetch the first half ) and will continue
unpacking and configuring packages from where it was interrupted.

It's better not to interrupt dist-upgrades as that might leave some package=
s
in an unusable state, but it's usually recoverable as long as apt, debconf,
and dpkg aren't the borken packages :).

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  Your email is being read by hundreds of uptight agents
#  who never saw the humor in Dr. Strangelove. -- Mark Russell