Cannot remove package (dpkg subprocess error - fonts not registered)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
msttcorefonts (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: msttcorefonts
The fonts included in the package don't seem to have been registered in defoma, so the remove script fails to unregister them. It should on the contrary be happy that the work has already been done!
I'm not sure it's normal they were not registered in defoma, but anyway this remove script is wrong.
$ LC_ALL=C sudo apt-get remove msttcorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
mplayer-skins libsvga1 mplayer libggi2 libgii1 lsdvd libgii1-target-x
libxvmc1 libimlib2
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
msttcorefonts
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 201kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 145647 files and directories currently installed.)
Removing msttcorefonts ...
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
dpkg: error processing msttcorefonts (--remove):
subprocess pre-removal script returned error exit status 1
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
All fonts downloaded and installed.
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
This has been fixed in Debian msttcorefonts/2.5.