重新安装7.04并升级后出现错误,提示failedtowritecache,然后有一堆关于openoffice和python的包安装不上,系统也变得奇慢无比。
在Google上费劲巴力的找了半天,在两个人的BLOG上找到了同一解决办法,一试还真灵。
#!/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
以上代码写成脚本后执行。或全部复制后直接粘到终端里面执行一下就可以了。
chmod755a.sh
修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)修复“ubuntu升级错误(failed to write cache)
阅读(894) | 评论(0) | 转发(0) |