[Pkg-fonts-devel] Bug#507745: ttf-vlgothic: install failure for xset: unable to open display ""

VDR dai (deb) d+deb at vdr.jp
Thu Dec 4 00:42:16 UTC 2008


Package: ttf-vlgothic
Version: 20081203-1
Severity: normal

Hi,

If not set $DISPLAY variable or not running X server,
ttf-vlgothic is unable to install.

----------------------------------------------------------------------
Setting up ttf-vlgothic (20081203-1) ...
xset:  unable to open display ""
dpkg: error processing ttf-vlgothic (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ttf-vlgothic
----------------------------------------------------------------------

it is caused by prerm/postinst scripts.

----------------------------------------------------------------------
# update font cache
fontconfig_cache_update()
{
        if [ -x /usr/bin/fc-cache ]; then
          fc-cache update
        fi
        if [ -x /usr/bin/xset ]; then
          xset fp rehash
        fi
}
----------------------------------------------------------------------

I think echo some message is better than do xset.

see also

http://lists.debian.org/debian-x/1999/12/msg00002.html
http://lists.debian.org/debian-x/2003/12/msg00360.html

Regards,
	dai

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ttf-vlgothic depends on:
ii  defoma                       0.11.10-0.2 Debian Font Manager -- automatic f

ttf-vlgothic recommends no packages.

Versions of packages ttf-vlgothic suggests:
ii  fontconfig                    2.6.0-3    generic font configuration library
ii  x-ttcidfont-conf              31         TrueType and CID fonts configurati
ii  x11-xserver-utils             7.3+5      X server utilities
ii  xserver-xorg                  1:7.4~4    the X.Org X server

-- no debconf information





More information about the Pkg-fonts-devel mailing list