Bug#242504: tetex-bin: Installation fails (temp file in CWD?)
Hilmar Preusse <hille42@web.de> schrieb:
> On 07.04.04 Miles Bader (miles@lsi.nec.co.jp) wrote:
>
> Hi,
>
>> 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:
>> tetex-bin
>> Press return to continue.
>>
> In postinst we have
>
> TMPDIR=/tmp # mktemp will create its files there
The problem is that mktemp without the "-t" option won't even look at
this variable. And while "mktemp" without arguments (as I used it
before) behaves as if "-t" had been used, "mktemp texmfXXXXX" (as I used
it in update-texmf) does not, and "-t" has to be explicitly specified.
Regards, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: