Bug#242504: tetex-bin: Installation fails (temp file in CWD?)
On 07.04.04 Miles Bader (email@example.com) wrote:
> I got the following error while upgrading my tetex-bin package:
> Setting up tetex-bin (2.0.2-11) ...
> mktemp: cannot create temp file texmfXBt9pOg: Permission denied
> dpkg: error processing tetex-bin (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> Press return to continue.
In postinst we have
TMPDIR=/tmp # mktemp will create its files there
So he should not try to write in $CWD. Would you be so kind to repeat
your experiment, i.e. make your $CWD unwritable and call
bash -x /var/lib/dpkg/info/tetex-bin.postinst configure > log 2>&1
and post the output here?