On Fri, Sep 17, 1999 at 11:57:44AM -0700, Joey Hess was heard to say: > Ben Gertzfield wrote: > > This is great, Joey! > > > > Can you show an example of how to use apt-get to *skip* configuration > > questions altogether? > > Assumming you have debconf installed, edit /etc/apt/apt.conf, make it look > like this: > > // Pre-configure all packages before they are installed. > DPkg::Pre-Install-Pkgs {"dpkg-preconfig --apt --frontend=Base";}; > > This uses the base frontend, which is a null frontend -- the defaults are > provided for all questions. > > An alternative (that may be a better idea) is: > > DPkg::Pre-Install-Pkgs {"dpkg-preconfig --apt --priority=critical";}; > > Which lets you see only the most important questions.
I've got a question about this. If you use the --frontend=Base approach, is there any way to "mark" which packages were installed in this way? I'd personally like to be able to do this but also to go back later and fix up configuration for packages which had configure options. Also, are the APIs designed in a way that guarantees this to work, or will the config options only be effective if set before the package is installed, or does it depend on the package maintainer Doing the Right Thing? (I'm still working through Wichert's proposal, so apologies if it's covered in there..) Daniel -- Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jeff Raskin