Your message dated Mon, 20 Dec 2010 06:58:25 +0900
with message-id <20101220065825.39625088.henr...@debian.or.jp>
and subject line
has caused the Debian Bug report #607496,
regarding ttf-takao-gothic: Fails to upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
607496: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607496
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ttf-takao-gothic
Version: 003.02.01-2
Severity: grave
Justification: renders package unusable
I tried to upgrade today and this happened:
---
The following packages will be upgraded:
ttf-takao-gothic
1 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/12.7 MB of archives. After unpacking 32.8 kB will be freed.
Do you want to continue? [Y/n/?]
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
(Reading database ... 132192 files and directories currently installed.)
Preparing to replace ttf-takao-gothic 003.02.01-2 (using .../ttf-takao-
gothic_003.02.01-3_all.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 18: Syntax error: Bad function name
dpkg: error processing /var/cache/apt/archives/ttf-takao-
gothic_003.02.01-3_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
/var/cache/apt/archives/ttf-takao-gothic_003.02.01-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
---
Taking a gander at the preinst script in the .deb, the relevant "bad function
name" seems to be check_broken_ttf-japanese-gothic()
I downloaded the source, changed the dashes in the function name to
underscores, repackaged, crossed my fingers and successfully installed the
modified package. I would submit a patch, but I don't really know how to use
patch and it's a pretty darn easy fix.
Thanks for all your hard work!
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
--- End Message ---
--- Begin Message ---
fixed 607496 003.02.01-4
thanks
--
Regards,
Hideki Yamane henrich @ debian.or.jp/org
http://wiki.debian.org/HidekiYamane
--- End Message ---