Ubuntu 18にmiktexをインストールできない

Ubuntu 18にmiktexをインストールできない

最終的な最終目標は、HTMLをPDFに変換することです。私はこの解決策を見ました:

https://github.com/SebastiaanKlippert/go-wkhtmltopdf

しかし、上記の解決策が機能するには、ヘッドレスクロムが必要なようです。だから試してみましょう。読書これは順番に使用され混合生地HTMLからTeXを生成しますか?

しかし、miktexをインストールすると、次の結果が表示されます。

$  sudo apt-get install miktex
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 miktex : Depends: libcurl3 (>= 7.16.2) but it is not installable
          Depends: libhunspell-1.4-0 but it is not installable
          Depends: libicu57 (>= 57.1-1~) but it is not installable
          Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
          Depends: libmpfr4 (>= 3.1.3) but it is not installable
E: Unable to correct problems, you have held broken packages.

依存関係の問題を解決する方法を知っている人はいますか?

ベストアンサー1

universeリポジトリを有効にする必要があります。

sudo add-apt-repository universe
sudo apt install miktex

おすすめ記事