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

Re: Debconf or not debconf : Conclusion

Theodore Ts'o wrote:
> On a separate but related topic, I think a much better approach would
> be to handle configuration as a step entirely separate from the
> install phase.  Let the install be entirely quiet, and let packages
> have intelligent defaults.  If the package absolutely must be
> configured before it can be used, then let it be non-functional until
> someone actually calls dpkg-configure (which would be just like
> dpkg-reconfigure except that's the only time the questions would be
> asked).

Debconf is flexable enough so you can do that already (assuming all
packages use debconf).

- comment out the dpkg-preconfigure call in /etc/apt/apt.conf.d/70debconf
- set in /etc/debconf.conf:
    Frontend: noninteractive
- dpkg-configure is the following script:
    #!/bin/sh -e
    dpkg-reconfigure --unseen-only --default-priority -freadline $@

see shy jo

Attachment: pgpYmKIF7_rll.pgp
Description: PGP signature

Reply to: