Re: Silence apt-get for real
On Mon, May 02, 2005 at 12:53:08PM +0200, Lars Roland wrote:
[...]
> ------------------
> Configuration file `/etc/qmail/tcp.smtp'
> ==> Modified (by you or by a script) since installation.
> ==> Package distributor has shipped an updated version.
> What would you like to do about it ? Your options are:
> Y or I : install the package maintainer's version
> N or O : keep your currently-installed version
> D : show the differences between the versions
> Z : background this process to examine the situation
> The default action is to keep your current version.
> *** tcp.smtp (Y/I/N/O/D/Z) [default=N] ? n
> ------------------
>
> How can I get rid of this warning ? - I want apt-get to be completely
> silent. I know that this could be dangerous - but in my case it is ok
> given that it is me that control the repository and that I have tested
> all the packages before putting them there.
>
> So to put it short how do I silence apt-get completely ?.
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
apt-get -y -o 'DPkg::Options::=--force-confold' upgrade
Or something like that...
--
Society is never going to make any progress until we all learn to
pretend to like each other.
Reply to: