【发布时间】:2018-02-03 07:50:21
【问题描述】:
当我安装一个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 包,但它不起作用,页面显示这个.deb 包提供qtbase-abi-5 包。有趣的是,我可以通过谷歌找到关于这个错误的一些信息。来自Ask ubuntu 论坛的一些信息说qtbase-abi-5 似乎不包含在libqt5core5a 中。
我不知道如何解决它。你能给我一些建议或一些可以下载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
【问题讨论】:
-
试试
sudo apt-get install fcitx,成功安装在我的ubuntu 17.10 -
@dwij 你好,不是我无法安装
fcitxself 的问题,我是指无法安装与fcitx相关的包。如果我的陈述不清楚,我很抱歉。
标签: qt ubuntu ubuntu-17.10 fcitx