[xml/sgml-pkgs] Bug#271291: (no subject)

Fabio Massimo Di Nitto Fabio Massimo Di Nitto <fabbione@fabbione.net>, 271291@bugs.debian.org
Mon, 13 Sep 2004 11:56:40 +0200 (CEST)


On Mon, 13 Sep 2004 tpeters@xs4all.nl wrote:

> I am not surprised that this is not (easily) reproducible, or someone else
> would have reported this long ago.  But apparently there are certain
> conditions under which the package fails to install.  Please help me find
> out what is happening on my particular system.  The script itself does not
> print any info on what goes wrong or why.  Is there a log somewhere or
> another way to generate more details when trying to install the package?

create a temporary folder somewhere, cd into it and do:

cp /var/cache/apt/archives/passivetex_1.25-2_all.deb .
(of course if the deb is not there you can grab it from anywhere)

dpkg -e passivetex_1.25-2_all.deb
dpkg -x passivetex_1.25-2_all.deb .
vi DEBIAN/postinst

to look like:

# see: dh_installdeb(1)

set -e
set -x
FMTDIR=/etc/texmf/fmt.d
[SNIP]

rm passivetex_1.25-2_all.deb
dpkg-deb -b . ../passivetex_1.25-2new_all.deb

and try to install the new package with dpkg -i. It will spit out a lot of
things that you should kindly record and attach them to the bug.

If you are not practical with shell scripting you should be able to do
something like:

dpkg -i passivetex_1.25-2new_all.deb 2>log

and all the debugging information should be saved in the log file.

Thanks
Fabio

-- 
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.