Re: Automating dpkg-reconfigure answers via a shell script
>>>>> On Thu, 13 Sep 2001 16:26:32 +0200, "VALETTE Eric" <valette@crf.canon.fr> said:
> 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.
> And if you look at the fai software
> <http://www.informatik.uni-koeln.de/fai/fai-guide.html/ch-instprocess.html#s-icscripts>
> They have faced excatly the same problem meaning they have also
> found no solution. I think we should have dpkg-reconfigure (or
> dpkg or whatever) be able to overide default pacakge installtion
> value from a file.
The best solution would be that all postinst scripts use debconf. The
We do not need this dirty trick.
--
Thomas
----------------------------------------------------------------------
Thomas Lange
Institut fuer Informatik mailto:lange@informatik.Uni-Koeln.DE
Universitaet zu Koeln
Pohligstr. 1 Telefon: +49 221 470 5303
50969 Koeln Fax : +49 221 470 5317
1024D/AB9B66FD AEA6 A8C1 BD8E 67C4 8EF6 8BCA DC13 E54E AB9B 66FD
----------------------------------------------------------------------
Reply to: