SyntaxHighlighter

2008-03-08

The ttf-opensymbol Error in Ubuntu

今天嘗試在我的新X61上面裝Ubuntu 7.10
沒想到一開機更新就給我出問題
仔細看了一下,是一個叫做ttf-opensymbol的套件更新出問題
導致後面的一連套件一起出問題
問題長得像這樣
[code]
Updating fontconfig cache...
/usr/share/fonts/truetype/arphic: failed to write cache
dpkg:處理 ttf-opensymbol (--remove)時出錯:
子程序·post-removal script·返回了錯誤號·1
[/code]
解決方法是
打入下面這一行command
[code]
sudo fc-cache -fv 2>&1 | grep failed | cut -f1 -d":" | xargs -i sudo touch {} && sudo fc-cache -fv
[/code]
把fontconfig cache整個重新更新過一遍就好

人気の投稿