
我嘗試在 16.04 中安裝 mscorefonts,但失敗了,現在每次系統啟動時都會彈出一個窗口,說如果失敗並想再做一次,我會再次嘗試,但它不會安裝,所以下次彈出此窗口時出現,所以...我可以做什麼來停用它?謝謝
答案1
你所看到的可能是下載安裝程式的一部分,它將無限期地繼續嘗試。這是因為 Sourceforge 上字型檔案的位置已更改,但安裝程式本身的硬程式碼位置並未更改。此問題有一個啟動板錯誤,位於https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783。錯誤報告中的評論 #45https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45解釋發生了什麼事。
對我有用的解決方案(在乾淨的16.04 安裝),導致安裝的字型是:
# Due to a bug in ttf-mscorefonts-installer, this package must be downloaded from Debian at a later version and installed before the rest of the packages:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
如果您已經嘗試安裝ttf-mscorefonts-安裝程序,那麼應該先卸載它。
答案2
全新安裝 Ubuntu 16.04 然後安裝 Battle.net 後,我遇到了同樣的問題。啟動它給了相同的錯誤訊息+崩潰。使用
sudo apt-get install --reinstall ttf-mscorefonts-installer
……沒有工作,但我終於設法使用這種方法修復它:
首先刪除:
sudo apt-get remove ttf-mscorefonts-installer
然後從新位置重新安裝:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
問題似乎是 Sourceforge 上字體檔案的位置已更改,並且安裝程式的位置尚未更新(聽說過使用持久性 URI:s 嗎??)。這裡已經解釋過了:
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1371783/comments/45
答案3
sourceforge 的 msfonts 伺服器昨天宕機了,現在又恢復了,在 Ubuntu 和 Arch 中安裝它時都遇到問題,但幸運的是它已修復。
答案4
對我來說,以下方法就像一個魅力:
sudo apt-get remove ttf-mscorefonts-installer
然後重新安裝:
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb