安装 Miktex 时保留的损坏软件包

安装 Miktex 时保留的损坏软件包

我尝试通过安装 miktex 在 Ubuntu 22.04 上安装 latex。按照网站上概述的步骤操作后,我遇到了以下错误消息:

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: libboost-locale1.65.1 but it is not installable
          Depends: libhunspell-1.6-0 but it is not installable
          Depends: libicu60 (>= 60.1-1~) but it is not installable
          Depends: liblog4cxx10v5 (>= 0.10.0) but it is not installable
          Depends: libssl1.1 (>= 1.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

我搜索了一下,并尝试手动安装 openssl 1.1.1。但是,错误消息似乎仍然存在。有什么建议可以解决此问题吗?

dpkg --get-selections | grep hold

没有输出

sudo aptitude install miktex

产量

sudo aptitude install miktex       
The following NEW packages will be installed:
  libqt5concurrent5{a} libqt5qml5{a} libqt5script5{a} libqt5scripttools5{a} libqt5xml5{a} 
  liburiparser1{a} libzzip-0-13{a} miktex{b} 
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.0 MB of archives. After unpacking 121 MB will be used.
The following packages have unmet dependencies:
 miktex : Depends: libboost-locale1.65.1 which is a virtual package and is not provided by any available package

          Depends: libhunspell-1.6-0 which is a virtual package and is not provided by any available package

          Depends: libicu60 (>= 60.1-1~) which is a virtual package and is not provided by any available package

          Depends: liblog4cxx10v5 (>= 0.10.0) which is a virtual package and is not provided by any available package

          Depends: libssl1.1 (>= 1.1.0) which is a virtual package and is not provided by any available package

相关内容