0

当我安装fcitx相关软件包时,会显示qtbase-abi-5-5-1需要但未安装的错误。

wsx@wsx:~/Downloads$ sudo apt install ./fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb ./libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'fcitx-frontend-qt5-rstudio' instead of './fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb'
Note, selecting 'libfcitx-qt5-1-rstudio' instead of './libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb'
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:
 fcitx-frontend-qt5-rstudio : Depends: qtbase-abi-5-5-1 but it is not installable
E: Unable to correct problems, you have held broken packages.

我尝试使用命令sodu apt install qtbase-abi-5查找包,但失败了。然后我从https://ubuntu.pkgs.org/16.04/ubuntu-updates-main-amd64/libqt5core5a_5.5.1+dfsg-16ubuntu7.5_amd64.deb.html下载.deb包但它不起作用,页面显示这个包 提供包。有趣的是,我可以通过谷歌找到关于这个错误的一些信息。来自论坛的一些信息说它似乎不包含在..debqtbase-abi-5Ask ubuntuqtbase-abi-5libqt5core5a

我不知道如何解决它。你能给我一些建议或一些可以下载的链接qtbase-abi-5吗?


感谢@GAD3R 的回答,很抱歉它失败了。

wsx@wsx:~$ sudo apt-cache search qtbase-abi
libqt5core5a - Qt 5 core module
wsx@wsx:~$ sudo apt install libqt5core5a
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libqt5core5a is already the newest version (5.9.1+dfsg-10ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
wsx@wsx:~$ sudo apt install ./Downloads/fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb ./Downloads/libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'fcitx-frontend-qt5-rstudio' instead of './Downloads/fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb'
Note, selecting 'libfcitx-qt5-1-rstudio' instead of './Downloads/libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb'
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:
 fcitx-frontend-qt5-rstudio : Depends: qtbase-abi-5-5-1 but it is not installable
E: Unable to correct problems, you have held broken packages.

任何人都可以成功运行以下命令吗?

$ wget http://ikuya.info/tmp/fcitx-qt5-rstudio-qt542.tar.gz $ tar xf fcitx-qt5-rstudio-qt542.tar.gz $ sudo apt install ./fcitx-frontend-qt5-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb ./libfcitx-qt5-1-rstudio_1.0.5-1ubuntu1~qt542_amd64.deb

4

1 回答 1

0

该软件包libqt5core5a提供qtbase-abi-5-5-1.

apt-cache search qtbase-abi
libqt5core5a - Qt 5 core module

要安装qtbase-abi-5-5-1,请运行以下命令:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install libqt5core5a
于 2018-02-03T12:58:27.653 回答