Bug#636694: locales-all postinst can fail when free space in /tmp is limited
Package: locales-all
Version: 2.13-14
Severity: important
Hi,
during the last upgrade of locales-all to 2.13-14, I noticed that it failed
with weird error messages:
…
tar: ./fur_IT/LC_NAME: Cannot hard link to `./wo_SN/LC_NAME': No such file or
directory
tar: ./fur_IT: Cannot mkdir: No space left on device
…
which was in fact due to too limited free space in /tmp (mine is 357M, I had ~
50M available). So I wonder if using /tmp in postinst is really the safest
way as any user can fill /tmp and hence forbid the upgrade of locales-all.
(By the way, this is probably related to #537743 too…).
Cheers,
OdyX
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages locales-all depends on:
ii libc6 [glibc-2.13-1] 2.13-14 Embedded GNU C Library: Shared lib
ii lzma 4.43-14 Compression method of 7z format in
locales-all recommends no packages.
locales-all suggests no packages.
-- no debconf information
Reply to: