On Mon, Oct 28, 2002 at 08:32:18PM +0800, Yang Shouxun wrote: > On Monday 28 October 2002 20:09, you wrote: > > > > So you did not see the debconf question about adding ocaml detecting > > > lines to /etc/magic ? > > No. > > > > This seems logical with the other reports, i guess the real reason is > > > that debian/ocaml.templates did not get copied over with the package. > > > > Could you try running : > > > > # export DEBCONF_DEBUG=developer > > # dpkg -i ocaml_3.06-8i_i386.deb > > Mine is the same as yours, now. This is like cheating, though, since I have > already manually set executable the two debian scripts in my own unzipped > ocaml source directory and run debian/postinst there and ocaml 3.06-8 > configured now on my machine. Now the problem cannot be reproduced anymore. > > To summarize, when I tried to upgrade from 3.06-7 to 3.06-8, ocaml could not > be configured after ocaml-base was. That means ocaml-source, > ocaml-native-compilers could not, either. Then I downgraded to 3.06-7, and > then tried to upgrade again. I got the same error twice. While still > downgraded, I set the two scripts executable. First just debian/postinst, and > still got the same error in /tmp/log, then debian/config, and found the error > gone. Then I upgraded to 3.06-8, and this time no error reported.
Ok, i have found the problem, and will upload a fixed version soon. dh_debconfinstall was commented out in my debian/rules, and thus the templates file not copied. Thanks to you, stefano and sven koch for helping me find the cause of this problem. Friendly, Sven Luther

