Fails to uninstall with "unknown option: -f"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ttf-arphic-ukai (Ubuntu) |
Fix Released
|
Undecided
|
Arne Goetje |
Bug Description
Binary package hint: ttf-arphic-ukai
(Reading database ... 282211 files and directories currently installed.)
Removing ttf-arphic-ukai ...
Updating fontconfig cache for /usr/share/
No CIDSupplement specified for KochiMincho-
No CIDSupplement specified for Gulim-Regular, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for KochiGothic-
No CIDSupplement specified for SazanamiMincho-
No CIDSupplement specified for Mona-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-
No CIDSupplement specified for Headline-Regular, defaulting to 0.
No CIDSupplement specified for SazanamiGothic-
No CIDSupplement specified for Mona-Regular-JaH, defaulting to 0.
No CIDSupplement specified for SazanamiGothic-
No CIDSupplement specified for SazanamiMincho-
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
opendir: No such file or directory
E: Unknown option: -f.
dpkg: error processing ttf-arphic-ukai (--remove):
subprocess pre-removal script returned error exit status 1
This also happens with ttf-arphic-uming
Versions of the packages in question, as well as direct depends/recommends:
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ri ttf-arphic-ukai 0.2.20080216-
ri ttf-arphic-uming 0.2.20080216-
ii debconf 1.5.19 Debian configuration management system
ii defoma 0.11.10-0.2 Debian Font Manager -- automatic font configuration framework
ii fontconfig 2.5.0-2ubuntu2 generic font configuration library - support binaries
ii x-ttcidfont-conf 26 TrueType and CID fonts configuration for X
ii xutils 1:7.3+10ubuntu5 X Window System utility programs metapackage
No packages found matching xdelta.
The bug is caused by this line in the prerm script: hints/$ {PACKAGE} .hints
defoma-font -f purge-all /etc/defoma/
-f is not a documented option for defoma-font. Since dh_installdefoma already provides the necessary removal stanzas, the handwritten prerm should simply be removed.