Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1399929
  • 博文数量: 828
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5030
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-29 13:29
文章分类

全部博文(828)

文章存档

2011年(1)

2008年(827)

我的朋友

分类: LINUX

2008-08-29 13:37:59

 
当ubuntu7.10的软件未更新完全,以后再次安装新软件就会出现failedtowritecache的错误。

这里给出2种解决方法,都是将代码复制到终端中运行:

1、这段脚本代码测试可行。

sudofc-cache-fv2>&1|grepfailed|cut-f1-d":"|xargs-isudotouch{}&&sudofc-cache-fv

2、这段脚本代码未亲自测试,不过Ubuntu中文论坛有人用过有效。

#!/bin/bash
#
#修正Ubuntu7.04fc-cachefailedtowritecache错误
#

sudotouch/usr/share/fonts
sudotouch/usr/share/fonts/X11
sudotouch/usr/share/fonts/X11/100dpi
sudotouch/usr/share/fonts/X11/75dpi
sudotouch/usr/share/fonts/X11/Type1
sudotouch/usr/share/fonts/X11/encodings
sudotouch/usr/share/fonts/X11/encodings/large
sudotouch/usr/share/fonts/X11/misc
sudotouch/usr/share/fonts/X11/util
sudotouch/usr/share/fonts/truetype
sudotouch/usr/share/fonts/truetype/arphic
sudotouch/usr/share/fonts/truetype/baekmuk
sudotouch/usr/share/fonts/truetype/freefont
sudotouch/usr/share/fonts/truetype/kochi
sudotouch/usr/share/fonts/truetype/openoffice
sudotouch/usr/share/fonts/truetype/thai
sudotouch/usr/share/fonts/truetype/ttf-arabeyes
sudotouch/usr/share/fonts/truetype/ttf-bengali-fonts
sudotouch/usr/share/fonts/truetype/ttf-bitstream-vera
sudotouch/usr/share/fonts/truetype/ttf-dejavu
sudotouch/usr/share/fonts/truetype/ttf-devanagari-fonts
sudotouch/usr/share/fonts/truetype/ttf-gentium
sudotouch/usr/share/fonts/truetype/ttf-gujarati-fonts
sudotouch/usr/share/fonts/truetype/ttf-kannada-fonts
sudotouch/usr/share/fonts/truetype/ttf-lao
sudotouch/usr/share/fonts/truetype/ttf-malayalam-fonts
sudotouch/usr/share/fonts/truetype/ttf-mgopen
sudotouch/usr/share/fonts/truetype/ttf-oriya-fonts
sudotouch/usr/share/fonts/truetype/ttf-punjabi-fonts
sudotouch/usr/share/fonts/truetype/ttf-tamil-fonts
sudotouch/usr/share/fonts/truetype/ttf-telugu-fonts
sudotouch/usr/share/fonts/type1
sudotouch/usr/share/fonts/type1/gsfonts
sudotouch/usr/share/X11/fonts
sudotouch/usr/share/X11/fonts/100dpi
sudotouch/usr/share/X11/fonts/75dpi
sudotouch/usr/share/X11/fonts/Type1
sudotouch/usr/share/X11/fonts/encodings
sudotouch/usr/share/X11/fonts/encodings/large
sudotouch/usr/share/X11/fonts/misc
sudotouch/usr/share/X11/fonts/util
sudotouch/usr/local/share/fonts
sudotouch/var/lib/defoma/fontconfig.d
sudotouch/var/lib/defoma/fontconfig.d/A
sudotouch/var/lib/defoma/fontconfig.d/B
sudotouch/var/lib/defoma/fontconfig.d/C
sudotouch/var/lib/defoma/fontconfig.d/D
sudotouch/var/lib/defoma/fontconfig.d/E
sudotouch/var/lib/defoma/fontconfig.d/F
sudotouch/var/lib/defoma/fontconfig.d/G
sudotouch/var/lib/defoma/fontconfig.d/H
sudotouch/var/lib/defoma/fontconfig.d/J
sudotouch/var/lib/defoma/fontconfig.d/K
sudotouch/var/lib/defoma/fontconfig.d/L
sudotouch/var/lib/defoma/fontconfig.d/M
sudotouch/var/lib/defoma/fontconfig.d/N
sudotouch/var/lib/defoma/fontconfig.d/O
sudotouch/var/lib/defoma/fontconfig.d/P
sudotouch/var/lib/defoma/fontconfig.d/R
sudotouch/var/lib/defoma/fontconfig.d/S
sudotouch/var/lib/defoma/fontconfig.d/T
sudotouch/var/lib/defoma/fontconfig.d/U
sudotouch/var/lib/defoma/fontconfig.d/V
sudotouch/var/lib/defoma/fontconfig.d/a
sudotouch/var/lib/defoma/fontconfig.d/j
sudotouch/var/lib/defoma/fontconfig.d/m
sudotouch/var/lib/defoma/fontconfig.d/u

解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法解决failed to write cache错误的方法
阅读(4151) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~