[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get -y upgrade for non-interactive sessions - and replacing conf files in /etc



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Do den  5. Jul 2007 um 20:57 schrieb Alan Ezust:
> I passed -y as an option, and then during the postinst, I have a
> situation where the package has a configuration file which is newer
> than what it is about to replace. I would like it to just replace the
> configuration file without asking me, but it won't do that, even if I
> pass the -y option.

I think the following lines will help:
 export DEBIAN_FRONTEND=noninteractive
 export DEBIAN_PRIORITY=critical

Gruß
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRo1BJp+OKpjRpO3lAQLMuwf9HCnKlKlNabck4tBP7Ja8j7CT6QVoK+tC
lffeFbFbTV3wba7OEOC44a1vErdE2L88hZKiCa0+stB72WVCWhJLMGPKnuyZ0aUz
hXI6loa9qFNTfZweQTQE9aQ9/gNy2gR3VKNGmX/1odnzT05/ci70P5vTplLyoE2R
MNEw/yeMx1mCjXb0SuVhMv5G5Kag64lAVE89jfvIwYXhdAcWvpQuVEIsoGMP14wL
aiOL1sj3gsg1jV8wsz+Eg6oAjqmrmm3cNnuMr09nL5PhYPCPnBiw7lgpJ76zxL38
iakZ716XC7bZ37F/z1JIVZCosx3rHn1AVWeWHZFeOnAATZgNhRpL2Q==
=i+E4
-----END PGP SIGNATURE-----



Reply to: