Had the same problem when installing sid from scratch with cdebootstrap.

In my case, the problem arises when installing package ttf-opensymbol (as dependency to OpenOffice 2.0.4-5 packages).

fc-cache fails:

roxstolen:/root# fc-cache -v
/usr/share/fonts: skipping, 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, 0 fonts, 6 dirs
usr/share/fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: skipping, 358 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: skipping, 358 fonts, 0 dirs
/usr/share/fonts/X11/Type1: skipping, 43 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings: failed to write cache
...and so on until...
/usr/X11R6/lib/X11/fonts/encodings/large: failed to write cache
/usr/local/share/fonts: skipping, 0 fonts, 0 dirs
/root/.fonts: skipping, no such directory
/var/lib/defoma/fontconfig.d: skipping, 0 fonts, 5 dirs
/var/lib/defoma/fontconfig.d/C: skipping, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: skipping, 22 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: skipping, 16 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: skipping, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: skipping, 13 fonts, 0 dirs
/var/cache/fontconfig: cleaning cache directory
/root/.fontconfig: not cleaning unwritable cache directory
fc-cache: failed

Seems like fc-cache does not write cache if the destination directory "seems newer" that now, and fails.

That gives debconf a reason to fail, and the entire install stops.

Simply touching the directories where fc-cache refuses to write its cache files fixes the problem.

> for dir in `/usr/share/fonts/X11 ...`
> do
> touch $dir
> done

In my case, the time difference comes from the fact the bootstrapping machine has correct timezone, while the new system did not.

Perhaps fc-cache should exit with non-error code in this case?

HTH!
///Pablo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to