[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#61979: tetex-bin: tetex-bin fails in postinst process



>  > Sorry for having taken so long to answer.
> Well, we could have answered *you* earlier if you would not have sent
> your message only to 61979-quiet@bugs.debian.org
My message might possibly not have gone to 61979-quiet if that had not been
part of the Reply-To: header.

> The 'set -e' in the postinst script does not affect the fmtutil from
> within, as you can test with:
> 
> (set -e; fmtutil || echo asdf)
> 
> So that is not your problem. Please try to find out, why really
> fmtutil is exiting.
My original report was not talking about fmtutil at all, but about
texconfig. But anyway, you are right, using the above sequence does not echo
asdf, it seems `set -e' does not apply to called programs. However, if you
insert `set -e' at the beginning of texconfig or fmtutil, they will fail.
The other thing is that the man page for bash explicitely says it won't exit
when the failing program (here: `test') is part of a &&, an error in bash?

I cannot reproduce the failing behaviour any more. My guess with `set -e'
was probably wrong, so I don't know why the process was failing. If I should
come across it ever again, I can tell more. For now, I think, as nobody seems
to have had trouble with upgrading from slink to potato, this bug can
probably be closed.

Regards,
    Mike
-- 
|=| Michael Piefel                       piefel@informatik.hu-berlin.de
|=| Humboldt-Universität zu Berlin           http://www.piefel.de/micha
|=| Tel. (+49 30) 2093 3831



Reply to: