Bug#797381: tex-common: postinst tries to create a temporary file in /
Package: tex-common
Version: 6.02
Severity: serious
Justification: Policy 9.1
After `chattr +i /' the package fails to be configured, because it tries
to create some temporary file in the root directory:
> sudo LC_ALL=C dpkg --configure -a
Setting up tex-common (6.02) ...
/usr/sbin/update-updmap: line 252: update-tl-conffile.texmf.new:
Permission denied
update-updmap: cannot write to the temporary file
'update-tl-conffile.texmf.new'
dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tex-common
The comments in update-updmap before the line 252 suggests that the file
should be created in the directory created in the line 234 instead, but
the script does not switch to the directory.
Regards,
robert
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.0.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages tex-common depends on:
ii dpkg 1.18.1
ii ucf 3.0030
tex-common recommends no packages.
Versions of packages tex-common suggests:
ii debhelper 9.20150628
-- debconf information excluded
Reply to: