Bug#242504: tetex-bin: Installation fails (temp file in CWD?)
Package: tetex-bin
Version: 2.0.2-11
Severity: normal
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.
I suspect that the problem is that it's trying to create a temp file in
the current directory (instead of using /tmp or something); as my
homedir is in NFS, and I invoked aptitude via `sudo aptitude', the CWD
wasn't writable by root. cding to /tmp before starting aptitude causes
installation to succeed.
Presumably the proper thing to do is use /tmp or /var/tmp for temporary
files.
Thanks,
-Miles
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8
Versions of packages tetex-bin depends on:
ii debconf 1.4.21 Debian configuration management sy
ii debianutils 2.8.1 Miscellaneous utilities specific t
ii dpkg 1.10.20 Package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.4-0pre4 GCC support library
ii libice6 4.3.0-7 Inter-Client Exchange library
ii libkpathsea3 2.0.2-11 path search library for teTeX (run
ii libpaper1 1.1.14 Library for handling paper charact
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libsm6 4.3.0-7 X Window System Session Management
ii libstdc++5 1:3.3.3-6 The GNU Standard C++ Library v3
ii libt1-5 5.0.0-5 Type 1 font rasterizer library - r
ii libwww-ssl0 [libwww0] 5.4.0-9 The W3C-WWW library (SSL support)
ii libx11-6 4.3.0-7 X Window System protocol client li
ii libxaw7 4.3.0-7 X Athena widget set library
ii libxext6 4.3.0-7 X Window System miscellaneous exte
ii libxmu6 4.3.0-7 X Window System miscellaneous util
ii libxt6 4.3.0-7 X Toolkit Intrinsics
ii mime-support 3.26-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.3-3 Larry Wall's Practical Extraction
ii sed 4.0.9-1 The GNU sed stream editor
ii tetex-base 2.0.2-6 Basic library files of teTeX
ii ucf 1.02 Update Configuration File: preserv
ii xlibs 4.3.0-7 X Window System client libraries m
ii zlib1g 1:1.2.1-5 compression library - runtime
-- debconf information:
* tetex-bin/hyphen: ngerman[=naustrian-neue_Rechtschreibung], french[=patois]
tetex-bin/oldcfg: true
tetex-bin/upd_map: true
tetex-bin/cnf_name:
tetex-bin/fmtutil: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
tetex-bin/userperm: false
tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
* tetex-bin/texmf: true
Reply to: