linux安装札记(二)

08年2月20号

显卡驱动的安装

在系统安装成功以后,在升级更新过程中出现如下错误:

apt安装程序时出现xxx无法配置的解决办法
apt-get安装程序时出现xxx无法配置,例如:

引用内容 引用内容
E: ttf-opensymbol: 子进程 post-installation script 返回了错误号 49
E: openoffice.org-core: 依赖关系问题 - 仍未被配置
E: openoffice.org-common: 依赖关系问题 - 仍未被配置
E: openoffice.org-style-human: 依赖关系问题 - 仍未被配置
E: mozilla-openoffice.org: 依赖关系问题 - 仍未被配置
E: python-uno: 依赖关系问题 - 仍未被配置
E: openoffice.org-writer: 依赖关系问题 - 仍未被配置
E: openoffice.org-calc: 依赖关系问题 - 仍未被配置
E: openoffice.org-draw: 依赖关系问题 - 仍未被配置
E: openoffice.org-impress: 依赖关系问题 - 仍未被配置
E: openoffice.org-math: 依赖关系问题 - 仍未被配置
E: openoffice.org-java-common: 依赖关系问题 - 仍未被配置
E: openoffice.org-base: 依赖关系问题 - 仍未被配置
E: openoffice.org: 依赖关系问题 - 仍未被配置
E: openoffice.org-dev: 依赖关系问题 - 仍未被配置
E: openoffice.org-evolution: 依赖关系问题 - 仍未被配置
E: openoffice.org-gtk: 依赖关系问题 - 仍未被配置
E: openoffice.org-gnome: 依赖关系问题 - 仍未被配置

在网上搜得答案如下 :

可以用在终端输入如下命令:
程序代码 程序代码
sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d":" | xargs -i sudo touch {} && sudo fc-cache -fv

出现如下结果 :
de@de-laptop:~$ sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d":" | xargs -i sudo touch {} && sudo fc-cache -fv
/usr/share/fonts: caching, 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, 0 fonts, 14 dirs
/usr/share/fonts/truetype/arphic: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, 27 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, 6 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gentium: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-mgopen: caching, 16 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, 0 fonts, 0 dirs
/home/de/.fonts: skipping, no such directory
/var/lib/defoma/fontconfig.d: caching, 0 fonts, 22 dirs
/var/lib/defoma/fontconfig.d/A: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/B: caching, 12 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/C: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/E: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/F: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/G: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/H: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/J: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/K: caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/L: caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/M: caching, 21 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: caching, 25 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/O: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/P: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/R: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/T: caching, 14 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/V: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/m: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/u: caching, 1 fonts, 0 dirs
/var/cache/fontconfig: cleaning cache directory
/home/de/.fontconfig: cleaning cache directory
fc-cache: succeeded
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值