【问题标题】:cannot install qtbase-abi-5-5-1 on ubuntu 17.10无法在 ubuntu 17.10 上安装 qtbase-abi-5-5-1
【发布时间】: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 你好,不是我无法安装fcitx self 的问题,我是指无法安装与fcitx 相关的包。如果我的陈述不清楚,我很抱歉。

标签: qt ubuntu ubuntu-17.10 fcitx


【解决方案1】:

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

【讨论】:

  • 感谢您的建议和命令,这正是我无法理解的部分。以为我知道我应该安装libqt5core5a,但我尝试了很多次,但始终没有成功。
  • 我已根据您提供的命令的结果更新了我的问题。再次感谢。
  • @王世祥润sudo apt dist-upgrade
  • @WangShixiang 软件包 fcitx-frontend-qt5 可以从 Ubuntu 存储库 packages.ubuntu.com/artful/fcitx-frontend-qt5 获得,为什么要使用 .deb 软件包呢?
  • 不是fcitx-fronted-qt5包,是fcitx-frontend-qt5-rstudio。我已经在我的机器上安装了fcitx-fronted-qt5 包。我想安装这个包来解决我在Rstudio软件中输入中文的问题。
猜你喜欢
  • 1970-01-01
  • 2018-06-10
  • 1970-01-01
  • 1970-01-01
  • 2019-04-01
  • 1970-01-01
  • 1970-01-01
  • 2018-09-16
  • 2018-10-07
相关资源
最近更新 更多