LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 837|回复: 1

|问题解决了|债我按置顶做了还是不行“近日Debian更新贴士(fontconfig, fc-cache,

[复制链接]
发表于 2006-11-18 03:14:35 | 显示全部楼层 |阅读模式
fjk:~# dpkg --purge --force-all fontconfig fontconfig-config
dpkg:fontconfig-config:有依赖问题,但是如您所愿还是继续删除:
libfontconfig1 依赖于 fontconfig-config (= 2.4.1-2).
fontconfig 依赖于 fontconfig-config.
(正在读取数据库 ... 系统当前总共安装有 55756 个文件和目录。)
正在删除 fontconfig-config ...
正在清除 fontconfig-config 的配置文件 ...
dpkg:fontconfig:有依赖问题,但是如您所愿还是继续删除:
firefox 依赖于 fontconfig.
libpango1.0-common 依赖于 fontconfig (>= 2.1.91).
正在删除 fontconfig ...
Purging font configuration of fontconfig...
Purging category cid..
Purging category truetype..
Purging category type1..
Fontconfig error: Cannot load default config file
Fontconfig error: Cannot load default config file
正在清除 fontconfig 的配置文件 ...
fjk:~# rm -rf /etc/fonts
fjk:~# apt-get install fontconfig fontconfig-config
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
下列【新】软件包将被安装:
  fontconfig fontconfig-config
共升级了 0 个软件包,新安装了 2 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 273kB 的软件包。
解压缩后会消耗掉 614kB 的额外空间。
获取:1 http://ftp.us.debian.org testing/main fontconfig-config 2.4.1-2 [138kB]
获取:2 http://ftp.us.debian.org testing/main fontconfig 2.4.1-2 [135kB]
下载 273kB,耗时 27s (9804B/s)
正在预设定软件包 ...
选中了曾被取消选择的软件包 fontconfig-config。
(正在读取数据库 ... 系统当前总共安装有 55687 个文件和目录。)
正在解压缩 fontconfig-config (从 .../fontconfig-config_2.4.1-2_all.deb) ...
选中了曾被取消选择的软件包 fontconfig。
正在解压缩 fontconfig (从 .../fontconfig_2.4.1-2_i386.deb) ...
正在设置 fontconfig-config (2.4.1-2) ...

正在设置 fontconfig (2.4.1-2) ...
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..
Cleaning up old fontconfig caches... done.
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
done.

fjk:~# fc-cache
/usr/share/fonts: failed to write cache
/usr/share/fonts/X11: failed to write cache
/usr/share/fonts/X11/100dpi: failed to write cache
/usr/share/fonts/X11/75dpi: failed to write cache
/usr/share/fonts/X11/Type1: failed to write cache
/usr/share/fonts/X11/encodings: failed to write cache
/usr/share/fonts/X11/encodings/large: failed to write cache
/usr/share/fonts/X11/misc: failed to write cache
/usr/share/fonts/X11/util: failed to write cache
/usr/share/fonts/truetype/ttf-dejavu: failed to write cache
/usr/share/fonts/type1: failed to write cache
/usr/share/fonts/type1/gsfonts: failed to write cache
/usr/X11R6/lib/X11/fonts: failed to write cache
/usr/X11R6/lib/X11/fonts/encodings: failed to write cache
/usr/X11R6/lib/X11/fonts/encodings/large: failed to write cache
fjk:~#
(经过一天晚上的时间这个问题消失了,可能是我关机重启的原故,之前我只是系统重启重启而已。)
发表于 2006-11-29 06:11:55 | 显示全部楼层
add
  1. <cachedir>/var/cache/fontconfig</cachedir><cachedir>~/.fontconfig</cachedir>
复制代码
to the font.conf file. I had this problem too and cachedir solved it.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表