Comment 7 for bug 299303

Revision history for this message
Akis (r-top1) wrote : RE: [Bug 299303] Re: package ttf-liberation 1.04~beta2-2 failed to install/upgrade: subprocess post-installation script returned error exit status 1

> What's the output of the command:
> sudo defoma-reconfigure -f

Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Updating fontconfig cache for /usr/share/fonts/truetype/dustin /usr/share/fonts/truetype/ttf-indic-fonts-core /usr/share/fonts/truetype/thai /usr/share/fonts/truetype/ttf-bitstream-vera /usr/share/fonts/truetype/ttf-lao /usr/share/fonts/truetype/unfonts /usr/share/fonts/truetype/ttf-arabeyes /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/truetype/freefont /usr/share/fonts/truetype/arphic /usr/share/fonts/truetype/ttf-malayalam-fonts /usr/share/fonts/truetype/kochi /usr/share/fonts/type1/gsfonts /usr/share/fonts/truetype/msttcorefonts
Updating fontconfig cache for /usr/share/fonts/truetype/dustin /usr/share/fonts/truetype/ttf-indic-fonts-core /usr/share/fonts/truetype/thai /usr/share/fonts/truetype/ttf-bitstream-vera /usr/share/fonts/truetype/ttf-lao /usr/share/fonts/truetype/unfonts /usr/share/fonts/truetype/ttf-arabeyes /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/truetype/freefont /usr/share/fonts/truetype/arphic /usr/share/fonts/truetype/ttf-malayalam-fonts /usr/share/fonts/truetype/kochi /usr/share/fonts/type1/gsfonts /usr/share/fonts/truetype/msttcorefonts
Updating font configuration of gs...
Cleaning up category psprint..
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category gsfontderivative..
Cleaning up category type3..
Cleaning up category type1..
Updating category type1..
Updating category type3..
Updating category gsfontderivative..
Updating category truetype..
Updating category cid..
Updating category cmap..
Updating category psprint..
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular-JaH, defaulting to 0.
No CIDSupplement specified for KochiMincho-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for UMingCN, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
Updating font configuration of libwmf0.2-7...
Cleaning up category type1..
Cleaning up category truetype..
Updating category truetype..
Updating category type1..
Updating font configuration of pango...
Cleaning up category xfont..
Updating category xfont..
Updating font configuration of psfontmgr...
Cleaning up category postscript..
Cleaning up category xfont..
Cleaning up category type1..
Cleaning up category pspreview..
Updating category pspreview..
Updating category type1..
Updating category xfont..
Updating category postscript..
Updating font configuration of x-ttcidfont-conf...
Cleaning up category cmap..
Cleaning up category cid..
Cleaning up category truetype..
Updating category truetype..
Updating category cid..
Updating category cmap..

> and If you try to remove it, what's the output of the command:
> sudo apt-get remove --purge ttf-liberation

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.27-7 libwxgtk2.6-0 linux-headers-2.6.27-7-generic
  libwxbase2.6-0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  ttf-liberation*
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 1733kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 166279 files and directories currently installed.)
Removing ttf-liberation ...
/etc/defoma/hints/ttf-liberation.hints: Unable to open, or empty.
dpkg: error processing ttf-liberation (--purge):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 ttf-liberation
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks for your time!
Akis

_________________________________________________________________