Re: Automating dpkg-reconfigure answers via a shell script
On Thu, Sep 13, 2001 at 04:26:32PM +0200, VALETTE Eric wrote:
> Wichert Akkerman wrote:
>
> >>It should be possible to do
> >>
> >>dpkg -i pkg.deb <<EOF
> >>value1
> >>value2
> >>...
> >>valuen
> >>EOF
> >>
> >
> > No it should not, that is completely the wrong way to do it. That
> > is just a hack to work around debconf not working properly for you
> > or packages not using it yet.
>
> I disagree. Debconf will never be able to answer anything that I want
> and that is not default. If debconf is able to handle default value
> correctly, I will then need to use dpkg-reconfigure to change the
> default value. I want to make it non interactively. Other solution is to
> not install the packages that need special configuration and install
> them using dpkg -i and a way tio give the values I want.
No, the correct solution is to pre-seed the debconf database with the
answers you want. I'm not sure if there are tools to do this yet.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
Reply to: