Public bug reported:

Binary package hint: ttf-vlgothic

ttf-vlgothic won't uninstall due to dh_installdefoma generating a no
longer used call to defoma-font update. this is now a call to defoma-
font purge-all. this problem was fixed in defoma 0.11.10-3 and so a no
change rebuild allows dh_installdefoma to generate the correct call

defoma (0.11.10-3) unstable; urgency=low

  * Fix prerm snippets to properly call "defoma-font purge-all"
    and not "defoma-font update". Closes: #557321

 -- Christian Perrier <bubu...@debian.org>  Sun, 22 Nov 2009 15:34:49
+0100

current prerm script

# Automatically added by dh_installdefoma
FILE='/etc/defoma/hints/ttf-vlgothic.hints'
if [ "$1" = remove ]; then
        test -x `which defoma-font` && defoma-font update ttf-vlgothic
fi
# End automatically added section

new dh_installdefoma is

# Automatically added by dh_installdefoma
FILE='/etc/defoma/hints/ttf-vlgothic.hints'
if [ "$1" = remove ]; then
        test -x `which defoma-font` && defoma-font purge-all $FILE
fi
# End automatically added section

This causes an error on attempted removal

Removing ttf-vlgothic ...
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 ttf-vlgothic (--purge):
 subprocess installed pre-removal script returned error exit status 1

ProblemType: Bug
Architecture: amd64
Date: Sun Dec  6 15:05:55 2009
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: ttf-vlgothic 20091118-2
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-7.9-generic
SourcePackage: ttf-vlgothic
Tags: lucid
Uname: Linux 2.6.32-7-generic x86_64

** Affects: ttf-vlgothic (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
prerm script fails, defoma-font update should no longer be used
https://bugs.launchpad.net/bugs/493192
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to