[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#559310: dh_installdefoma creates wrong prerm code

Package: defoma
Version: 0.11.10-3
Severity: important

>From experimental's lmodern prerm:

# Automatically added by dh_installdefoma
if [ "$1" = remove ]; then
        test -x `which defoma-font` && defoma-font update lmodern
# End automatically added section

but that generates only:
Removing lmodern ...
defoma-font [option..] register <category> <font> <hints>..
defoma-font [option..] unregister <category> <font>
defoma-font [option..] reregister <category> <font> <hints>..
defoma-font [option..] purge <category> <font>
defoma-font [option..] register-all <hintfile>
defoma-font [option..] unregister-all <hintfile>
defoma-font [option..] reregister-all <hintfile>
defoma-font [option..] purge-all <hintfile>
defoma-font [option..] register-one <hintfile> <font>
defoma-font [option..] unregister-one <hintfile> <font>
defoma-font [option..] reregister-one <hintfile> <font>
defoma-font [option..] purge-one <hintfile> <font>
dpkg: error processing lmodern (--remove):

defoma-font update lmodern is *NOT* a supported way to be called.

Please fix that urgently.

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

Kernel: Linux 2.6.32 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages defoma depends on:
ii  dialog                    1.1-20080819-1 Displays user-friendly dialog boxe
ii  file                      5.03-3         Determines file type using "magic"
ii  perl                      5.10.1-8       Larry Wall's Practical Extraction 
ii  whiptail                  0.52.10-4.1    Displays user-friendly dialog boxe

Versions of packages defoma recommends:
ii  libfont-freetype-perl         0.03-1     Read font files and render glyphs 

Versions of packages defoma suggests:
pn  defoma-doc                    <none>     (no description available)
pn  dfontmgr                      <none>     (no description available)
ii  psfontmgr                     0.11.10-3  PostScript font manager -- part of
ii  x-ttcidfont-conf              32         TrueType and CID fonts configurati

-- no debconf information

Reply to: