package ttf-mscorefonts-installer 3.2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
msttcorefonts (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: msttcorefonts
o
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: ttf-mscorefonts
ProcVersionSign
Uname: Linux 2.6.32-
NonfreeKernelMo
AptOrdering: ttf-mscorefonts
Architecture: i386
Date: Mon Sep 13 18:35:37 2010
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitec
SourcePackage: msttcorefonts
Title: package ttf-mscorefonts
The error in the logs is:
Updating fontconfig cache for /usr/share/ fonts/truetype/ msttcorefonts fonts/truetype/ msttcorefonts fonts/truetype/ msttcorefonts' : No such file or directory
cd: 24: can't cd to /usr/share/
rmdir: failed to remove `/usr/share/
This is an unusual situation, since this removal code is only run if /var/lib/ msttcorefonts/ ms-fonts exists, and /var/lib/ msttcorefonts/ ms-fonts is only created if the fonts have been successfully installed. Perhaps you deleted the fonts from the filesystem by hand. In any case, the package should cope gracefully with this situation.