Il giorno sab, 30/04/2005 alle 15.49 +0100, Richard Lamont ha scritto:
> Why does squid need to be down while other packages, which squid does 
> not depend on, are being upgraded? How come only squid has this 
> problem?

This is not a squid-only problem. You can find informations on how an
upgrade is processed at

  http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html

Briefly:
1 - A pre-inst script is executed (here squid is stopped)
2 - Old files are overwritten by files in new package (unpacking)
3 - A configuration script (post-inst) is executed (here squid is
restarted)

During a dist-upgrade all packages are unpacked and then all packages
are configured. So squid, as many other daemons, is stopped until all
other packages are unpacked.

Other daemons that behave this way (this list is from one of my system,
so is not complete in any way):

- apache
- klogd
- postgresql
- sysklogd
- atd
- famd
- postfix

Regards,

-- 
 Luigi Gangitano -- <[EMAIL PROTECTED]> -- <[EMAIL PROTECTED]>
 GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to