作者共发了3篇帖子。 内容转换:不转换▼
 
点击 回复
635 2
【解决方案】Fedora24安装VirtualBox时提示libQt5X11Extras出错的解决办法
一派护法 十九级
1楼 发表于:2017-1-29 16:58
$ sudo rpm -ivh VirtualBox-5.1-5.1.14_112924_fedora24-1.x86_64.rpm
warning: VirtualBox-5.1-5.1.14_112924_fedora24-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
error: Failed dependencies:
    libQt5X11Extras.so.5()(64bit) is needed by VirtualBox-5.1-5.1.14_112924_fedora24-1.x86_64
    libQt5X11Extras.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.14_112924_fedora24-1.x86_64

一派护法 十九级
2楼 发表于:2017-1-29 17:00

【解决办法】

手动安装依赖项qt5-qtx11extras:

$ sudo dnf install qt5-qtx11extras
Last metadata expiration check: 0:01:22 ago on Sun Jan 29 13:08:42 2017.
Dependencies resolved.
================================================================================
 Package                Arch          Version              Repository      Size
================================================================================
Installing:
 qt5-qtx11extras        x86_64        5.6.2-1.fc24         updates         28 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 28 k
Installed size: 51 k
Is this ok [y/N]: y
Downloading Packages:
qt5-qtx11extras-5.6.2-1.fc24.x86_64.rpm          60 kB/s |  28 kB     00:00   
--------------------------------------------------------------------------------
Total                                            13 kB/s |  28 kB     00:02    
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : qt5-qtx11extras-5.6.2-1.fc24.x86_64                         1/1
  Verifying   : qt5-qtx11extras-5.6.2-1.fc24.x86_64                         1/1

Installed:
  qt5-qtx11extras.x86_64 5.6.2-1.fc24                                           

Complete!

不要直接安装提示中所说的libQt5X11Extras软件包,因为软件源里没有:

$ sudo dnf install libQt5X11Extras
Fedora 24 - x86_64 - Updates                    1.1 MB/s |  21 MB     00:19   
Last metadata expiration check: 0:00:22 ago on Sun Jan 29 13:08:42 2017.
No package libQt5X11Extras available.
Error: Unable to find a match.

一派护法 十九级
3楼 发表于:2017-1-29 17:00

然后就可以安装VirtualBox了:

$ sudo rpm -ivh VirtualBox-5.1-5.1.14_112924_fedora24-1.x86_64.rpm
warning: VirtualBox-5.1-5.1.14_112924_fedora24-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:VirtualBox-5.1-5.1.14_112924_fedo################################# [100%]

Creating group 'vboxusers'. VM users must be member of that group!

回复帖子

内容:
用户名: 您目前是匿名发表
验证码:
(快捷键:Ctrl+Enter)
 

本帖信息

点击数:635 回复数:2
评论数: ?
作者:巨大八爪鱼
最后回复:巨大八爪鱼
最后回复时间:2017-1-29 17:00
 
©2010-2024 Arslanbar Ver2.0
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。