解決ubuntu 9.10 ttf-mscorefonts-inst … - Linux

Table of Contents

※ 引述《Adama (So Say We All.)》之銘言:
: Frak! 我就是遇到這個問題 #^%$!*@ 感謝你。
: 不過為什麼我aptitute purge ttf-mscorefonts-installer
: 並且把source.list裡的站台全部mark掉只留下twaren.net
: 這樣還是無法避免這個錯誤?
嗯...
基本上這個patch需要 *未正確安裝* 的ttf-mscorefonts-installer,
也就是你 *不能purge* 他.

也就是需要下面這個檔案存在:
/var/lib/dpkg/info/ttf-mscorefonts-installer.postinst

然後patch完之後再用sudo apt-get -f install來修復安裝即可.

你也可手動編輯:
$ sudo vim /var/lib/dpkg/info/ttf-mscorefonts-installer.postinst
找到唯一有wget的那一行,

wget ... $URLROOT$ff ; then
改成
wget ... $URLROOT$ff?use_mirror=nchc ; then

然後存檔退出, 執行:
$ sudo apt-get -f install

基本上這個patch沒做什麼,
我只是強制sf.net用nchc當作mirror site這樣...

以上,
感謝您的收看!


ps.
有試著安裝wine1.2的人應該都會踩到這個地雷吧?
不知道ncu的mirror怎麼了?


--

All Comments

Necoo avatarNecoo2009-11-14
Thanks!
Odelette avatarOdelette2009-11-17
感謝