16.04の新しい最小インストールでは、GoogleのRobotoフォントがChromeに表示されません。
フォントをインストールしようとすると、conflicts
...メッセージが表示されます。修正方法はありますか?
one@laptop:~$ Sudo apt-get install fonts-roboto*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'fonts-roboto-fontface' for glob 'fonts-roboto*'
Note, selecting 'fonts-roboto-hinted' for glob 'fonts-roboto*'
Note, selecting 'fonts-roboto' for glob 'fonts-roboto*'
Note, selecting 'fonts-roboto-unhinted' for glob 'fonts-roboto*'
fonts-roboto is already the newest version (2:0~20160106-1).
fonts-roboto-hinted is already the newest version (2:0~20160106-1).
fonts-roboto-hinted set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fonts-roboto-hinted : Conflicts: fonts-roboto-unhinted but 2:0~20160106-1 is to be installed
fonts-roboto-unhinted : Conflicts: fonts-roboto-hinted but 2:0~20160106-1 is to be installed
Conflicts: fonts-roboto-hinted:i386
E: Unable to correct problems, you have held broken packages.
one@laptop:~$
これは、17.10には存在しない16.04のバグです。 バグレポート を提出して修正をアップロードしたところ、数週間かそこらで問題ないはずです。
編集:
修正済み:
https://launchpad.net/ubuntu/+source/fonts-roboto/2:0~20160106-1ubuntu0.1
Apt-getが私たちに伝えていることを分析しましょう:
私の研究で、Debianのfonts-robotoのバグレポートを見つけました(Ubuntuのディストリビューションのベース):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838199
バグレポートは、fonts-roboto-hintedとfonts-roboto-unhintedの間のパッケージの競合に関するものです。レポートでは、開発者はパッケージバージョンfonts-roboto 2:0〜20160106-2の問題を修正したと述べています。
両方のパッケージを手動でインストールすると、apt-getが競合について不満を言い、満足しないと思うため、この 'false'競合を処理する良い方法がわかりません。また、アップグレードが失敗する可能性があります。おそらく、より多くの知識を持っている人が、その状況を解決する方法について話し合うことができます。
あなたが実行することがあります:
Sudo apt-get install fonts-roboto-fontface
私はそれがインストールされたとは思わないし、競合するとも思わないからです。
他の回答が役に立たない場合は、手動でインストールして動作することが保証されている方法を以下に示します。
/home/$USER/.local/share/fonts
にコピーします