16.04 中的 libqt5core5a 依赖项/版本冲突

16.04 中的 libqt5core5a 依赖项/版本冲突

我得到了同样的libqt5core5a 依赖问题尝试安装两者洋葱分享(版本 0.9.1-1 来自德布http://ppa.launchpad.net/micahflee/ppa/ubuntu主页面) 和口径在 Ubuntu-MATE 16.04 中:

--> sudo aptitude install onionshare
The following NEW packages will be installed:
  libqt5designer5{ab} onionshare python3-pyqt5{ab} python3-sip{a} 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,961 kB of archives. After unpacking 20.5 MB will be used.
The following packages have unmet dependencies:
 python3-pyqt5 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:   
              - libqt5core5a, but 5.6.1+dfsg-2~xenial+build2 is installed. 
libqt5designer5 : Depends: qtbase-abi-5-5-1 which is a virtual package, provided by:   
              - libqt5core5a, but 5.6.1+dfsg-2~xenial+build2 is installed. 
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libqt5designer5 [Not Installed]                    
2)     onionshare [Not Installed]                         
3)     python3-pyqt5 [Not Installed]                      

Accept this solution? [Y/n/q/?] 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

(当我尝试安装 Calibre 时,我收到与上述相同的消息。)

--> apt-cache policy libqt5core5a  
libqt5core5a:
  Installed: 5.6.1+dfsg-2~xenial+build2
  Candidate: 5.6.1+dfsg-2~xenial+build2
  Version table:
*** 5.6.1+dfsg-2~xenial+build2 100
       100 /var/lib/dpkg/status
    5.5.1+dfsg-16ubuntu7.1 500
       500 http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive xenial-updates/main amd64 Packages
    5.5.1+dfsg-16ubuntu7 500
       500 http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive xenial/main amd64 Packages

还:

--> sudo aptitude -f install libqt5core5a
libqt5core5a is already installed at the requested version(5.6.1+dfsg-2~xenial+build2)

另外两个(可能相关的)库(libqt5gui5libqt5opengl5) 除了安装libqt5core5a. 他们三人都是版本5.6.1+dfsg-2~xenial+build2

但以下(也可能相关)库是不是安装,并且所有这些出现在 Synaptic 版本中5.5.1+dfsg-16ubuntu6

libqt5gui5-gles
libqt5opengl5-gles
libqt5opengl5-gles-dev
libqt5opengl5-dev
libqt5network5

当然,我不愿意做任何事情libqt5core5a直到我知道我在做什么,因为,正如名字这表明,这个库影响了大量其他软件包。

我应该尝试找到5.5.1+dfsg-16ubuntu7.1 版本,安装它然后删除 5.6.1?

(不过我不确定在哪里能找到它,因为版本5.5.1+dfsg-16ubuntu6不在 Synaptic 中,我已经拥有(在 /etc/apt/sources.list 中)以下列出的“500”个存储库

apt-cache policy libqt5core5a  

上面的命令(或者至少我认为我这样做了):

deb http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive/ xenial-updates restricted main

deb http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive/ xenial restricted main 

洋葱分享顺便说一句,在 MATE-14.04 中安装没有问题。开发人员说它应该适用于任何版本的 Qt5。)

基本上,我想问的是: 应该如何解决这一冲突?

答案1

我不知道我是否做得对,但这对我来说似乎有效:

sudo apt install libqt5core5a:i386

相关内容