On Tue, Jan 25, 2000 at 12:19:36PM -0800, Sean 'Shaleh' Perry wrote: > > On 25-Jan-2000 Sven LUTHER wrote: > > Hello, ... > > > > i received a bug against one of my packages saying that the .info > > documentation is not available by info directly, and that i should add a > > prerm and postinst calling install-info. > > > > Now, in debian/rules i do a : > > > > dh_installinfo ocaml.info/* > > > > only if you place #DEBHELPER# in your scripts. otherwise debhelper assumes > you > are doing it yourself. Take a look in /var/lib/dpkg/info/<package>.postinst > and see if the calls are there.
Err, ... no when i add #DEBHELPER#, it adds the following stuff only : # Automatically added by dh_installdocs if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/ocaml-doc ]; then rm -f /usr/doc/ocaml-doc fi # End automatically added section Nothing gets installed by installinfo. Guess i will have to do it by hand. By the way, why does this package says : Selecting previously deselected package ocaml-doc. (Reading database ... 61386 files and directories currently installed.) Preparing to replace ocaml-doc 2.04-1 (using ocaml-doc_2.04-1_all.deb) ... dpkg (subprocess): unable to execute old pre-removal script: Exec format error dpkg: warning - old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg (subprocess): unable to execute new pre-removal script: No such file or directory dpkg: error processing ocaml-doc_2.04-1_all.deb (--install): subprocess new pre-removal script returned error exit status 2 dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Errors were encountered while processing: ocaml-doc_2.04-1_all.deb What is the meaning of exec format error ? And how do i fix it ? Friendly, Sven LUTHER