Packages configuration

Thomas Lange lange at informatik.Uni-Koeln.DE
Tue Sep 4 16:57:39 CEST 2001


>>>>> On 09/04/01 16:46:42  (MET DST), benoit.peccatte at enst-bretagne.fr said:

    > I have a problem with some packages (like ispell, PHP4,Mysql ):
    > they always need an answer like 1/2/3 y/n First I tried to pipe
    > yes to the command line apt-get in install_package but Y is not
    > always the right answer.  How can I manage it ?  

I had installed php4 mysql-server ispell from potato without any
problems. Which versions are you using ?
Have you read: /usr/share/doc/fai/README.package_problems ?


    > Is there a solution to provide a different answer to each question.
No not yet. You can use mkdivert to fake the configuration command,
like apacheconfig, or install these packages not using package_config
files but a script in /fai/scripts writte by you own:

#! /bin/sh

yes 'n' | apt-get install php4
yes '2' | apt-get install ispell

This will give the same answer to each question, but for a different package.
Or use an expect script for this. All these problems will disappear,
when the packages will use debconf for its configuration.

So we have to wait some time, or send patches to the package maintainers.

-- 
 Thomas
----------------------------------------------------------------------
            Thomas Lange
Institut fuer Informatik        mailto:lange at 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
----------------------------------------------------------------------



More information about the linux-fai mailing list