分页: 1 / 2

[求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 19:01
Manju丶saka
官网下载的ubuntu16.04(64位)版本的网易云音乐

代码: 全选

sudo dpkg --install netease-cloud-music_0.9.0-2_amd64.deb 
Selecting previously unselected package netease-cloud-music.
(Reading database ... 219710 files and directories currently installed.)
Preparing to unpack netease-cloud-music_0.9.0-2_amd64.deb ...
Unpacking netease-cloud-music (0.9.0-1) ...
dpkg: dependency problems prevent configuration of netease-cloud-music:
 netease-cloud-music depends on libqt5multimedia5-plugins; however:
  Package libqt5multimedia5-plugins is not installed.
 netease-cloud-music depends on libqt5libqgtk2; however:
  Package libqt5libqgtk2 is not installed.

dpkg: error processing package netease-cloud-music (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 netease-cloud-music
按照提示安装 libqt5multimedia5-plugins,然后:

代码: 全选

 
sudo apt-get install  libqt5multimedia5-plugins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libqt5multimedia5-plugins : Depends: libqt5multimedia5 (= 5.4.2-1ubuntu3) but 5.5.1-4ubuntu2 is to be installed
                             Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.32) but it is not going to be installed
                             Depends: libgstreamer0.10-0 (>= 0.10.33) but it is not going to be installed
                             Depends: libqgsttools-p1 (>= 5.4.0) but it is not going to be installed
 netease-cloud-music : Depends: libqt5libqgtk2 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
一直在Linux上找不到好用的听歌软件,现在有了却装不上,好郁闷.
跪求大牛指导....

[已解决] 问题出在源上,一开是用的是cn99(网易)的源,后来改成aliyun(阿里)就直接安装成功了.

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 19:12
steley

代码: 全选

apt-get -f instal

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 19:44
Manju丶saka
steley 写了:

代码: 全选

apt-get -f instal
试过了,结果就是把相关的配置文件全部删掉了.然后重装依然是这样. :Cry

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 19:51
Manju丶saka

代码: 全选

sudo apt-get -f install 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  netease-cloud-music
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 112 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 219781 files and directories currently installed.)
Removing netease-cloud-music (0.9.0-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 19:51
qy117121
二楼命令少了一位

代码: 全选

apt-get -f install 
dpkg -i 命令安装deb包不会自动安装依赖,所以要用上面的命令修复依赖

我更推荐用gdebi 安装deb包,会自动安装依赖的软件包

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 22:06
Manju丶saka
qy117121 写了:二楼命令少了一位

代码: 全选

apt-get -f install 
dpkg -i 命令安装deb包不会自动安装依赖,所以要用上面的命令修复依赖

我更推荐用gdebi 安装deb包,会自动安装依赖的软件包
使用gdebi得到的也是一样的结果.

代码: 全选

sudo gdebi netease-cloud-music_0.9.0-2_amd64.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done

netease cloud music player.
 netease cloud music player.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package netease-cloud-music.
(Reading database ... 220641 files and directories currently installed.)
Preparing to unpack netease-cloud-music_0.9.0-2_amd64.deb ...
Unpacking netease-cloud-music (0.9.0-1) ...
dpkg: dependency problems prevent configuration of netease-cloud-music:
 netease-cloud-music depends on libqt5multimedia5-plugins; however:
  Package libqt5multimedia5-plugins is not installed.
 netease-cloud-music depends on libqt5libqgtk2; however:
  Package libqt5libqgtk2 is not installed.

dpkg: error processing package netease-cloud-music (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 netease-cloud-music

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 23:12
steley
用apt把

代码: 全选

libqt5libqgtk2

代码: 全选

libqt5multimedia5-plugins
安装之后再安装呢

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-25 23:45
Manju丶saka
steley 写了:用apt把

代码: 全选

libqt5libqgtk2

代码: 全选

libqt5multimedia5-plugins
安装之后再安装呢
在1楼已经贴出过了,安装不了.
其实一开始是显示了好多依赖需要安装的,我一个个都安装了,只剩下这两个没法安装的.

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 9:13
qy117121
建议楼主先执行下sudo apt update 再安装

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 9:15
qy117121
我特地卸载了一个依赖,再重装云音乐

代码: 全选

sudo gdebi netease-cloud-music_0.9.0-2_amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
需要安装以下软件包: libcue1 libqgsttools-p1 libqt5multimedia5-plugins 

netease cloud music player.
 netease cloud music player.
您是否想安装这个软件包?[y/N]:y
0% [正在连接 cn.archive.ubuntu.com]                                             0% [正在连接 cn.archive.ubuntu.com (112.124.140.210)]                           0% [正在等待报头]                                                               Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libcue1 amd64 1.4.0-1 [25.2 kB]
9% [正在等待报头]                                                               Get:2 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libqgsttools-p1 amd64 5.5.1-4ubuntu2 [65.4 kB]
34% [正在等待报头]                                                              Get:3 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libqt5multimedia5-plugins amd64 5.5.1-4ubuntu2 [175 kB]
Fetched 266 kB in 0s (0 B/s)                                                   
正在选中未选择的软件包 libcue1。
(正在读取数据库 ... 系统当前共安装有 245461 个文件和目录。)
正准备解包 .../libcue1_1.4.0-1_amd64.deb  ...
正在解包 libcue1 (1.4.0-1) ...
正在选中未选择的软件包 libqgsttools-p1:amd64。
正准备解包 .../libqgsttools-p1_5.5.1-4ubuntu2_amd64.deb  ...
正在解包 libqgsttools-p1:amd64 (5.5.1-4ubuntu2) ...
正在选中未选择的软件包 libqt5multimedia5-plugins:amd64。
正准备解包 .../libqt5multimedia5-plugins_5.5.1-4ubuntu2_amd64.deb  ...
正在解包 libqt5multimedia5-plugins:amd64 (5.5.1-4ubuntu2) ...
正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...
正在设置 libcue1 (1.4.0-1) ...
正在设置 libqgsttools-p1:amd64 (5.5.1-4ubuntu2) ...
正在设置 libqt5multimedia5-plugins:amd64 (5.5.1-4ubuntu2) ...
正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...
正在选中未选择的软件包 netease-cloud-music。
(正在读取数据库 ... 系统当前共安装有 245488 个文件和目录。)
正准备解包 netease-cloud-music_0.9.0-2_amd64.deb  ...
正在解包 netease-cloud-music (0.9.0-1) ...
正在设置 netease-cloud-music (0.9.0-1) ...
正在处理用于 bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 desktop-file-utils (0.22-1ubuntu5) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-6ubuntu3) 的触发器 ...
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.15-0ubuntu1) 的触发器 ...

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 9:33
chole
我也是这个问题

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 12:25
Manju丶saka
qy117121 写了:我特地卸载了一个依赖,再重装云音乐

代码: 全选

sudo gdebi netease-cloud-music_0.9.0-2_amd64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
需要安装以下软件包: libcue1 libqgsttools-p1 libqt5multimedia5-plugins 

netease cloud music player.
 netease cloud music player.
您是否想安装这个软件包?[y/N]:y
0% [正在连接 cn.archive.ubuntu.com]                                             0% [正在连接 cn.archive.ubuntu.com (112.124.140.210)]                           0% [正在等待报头]                                                               Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 libcue1 amd64 1.4.0-1 [25.2 kB]
9% [正在等待报头]                                                               Get:2 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libqgsttools-p1 amd64 5.5.1-4ubuntu2 [65.4 kB]
34% [正在等待报头]                                                              Get:3 http://cn.archive.ubuntu.com/ubuntu xenial/main amd64 libqt5multimedia5-plugins amd64 5.5.1-4ubuntu2 [175 kB]
Fetched 266 kB in 0s (0 B/s)                                                   
正在选中未选择的软件包 libcue1。
(正在读取数据库 ... 系统当前共安装有 245461 个文件和目录。)
正准备解包 .../libcue1_1.4.0-1_amd64.deb  ...
正在解包 libcue1 (1.4.0-1) ...
正在选中未选择的软件包 libqgsttools-p1:amd64。
正准备解包 .../libqgsttools-p1_5.5.1-4ubuntu2_amd64.deb  ...
正在解包 libqgsttools-p1:amd64 (5.5.1-4ubuntu2) ...
正在选中未选择的软件包 libqt5multimedia5-plugins:amd64。
正准备解包 .../libqt5multimedia5-plugins_5.5.1-4ubuntu2_amd64.deb  ...
正在解包 libqt5multimedia5-plugins:amd64 (5.5.1-4ubuntu2) ...
正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...
正在设置 libcue1 (1.4.0-1) ...
正在设置 libqgsttools-p1:amd64 (5.5.1-4ubuntu2) ...
正在设置 libqt5multimedia5-plugins:amd64 (5.5.1-4ubuntu2) ...
正在处理用于 libc-bin (2.23-0ubuntu3) 的触发器 ...
正在选中未选择的软件包 netease-cloud-music。
(正在读取数据库 ... 系统当前共安装有 245488 个文件和目录。)
正准备解包 netease-cloud-music_0.9.0-2_amd64.deb  ...
正在解包 netease-cloud-music (0.9.0-1) ...
正在设置 netease-cloud-music (0.9.0-1) ...
正在处理用于 bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 desktop-file-utils (0.22-1ubuntu5) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-6ubuntu3) 的触发器 ...
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
正在处理用于 hicolor-icon-theme (0.15-0ubuntu1) 的触发器 ...
之前就执行过 sudo apt-get update了,但是仍然装不上.问题就在于 libqt5multimedia5-plugins 和 libqt5libqgtk2 装不上.

代码: 全选

sudo apt-get install libqt5multimedia5-plugins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libqt5multimedia5-plugins : Depends: libqt5multimedia5 (= 5.4.2-1ubuntu3) but 5.5.1-4ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.


sudo apt-get install libqt5libqgtk2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libqt5libqgtk2 : Depends: libqt5gui5 (= 5.4.2+dfsg-2ubuntu9) but 5.5.1+dfsg-16ubuntu7 is to be installed
                  Depends: qtbase-abi-5-4-2
E: Unable to correct problems, you have held broken packages.
看上面的提示好像是因为libqt5gui5的问题,它需要5.4.2+dfsg-2ubuntu9版本的,但是电脑中已经装了的是5.5.1+dfsg-16ubuntu7版本的.我倒是想把后者卸载了,装前者.但是一来不知道它的作用,担心系统出问题,二来,也不知道怎么安转5.4.2+dfsg-2ubuntu9版本.

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 12:42
qy117121
把 /etc/apt/sources.list 内容贴上来看下

Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 14:03
Manju丶saka
qy117121 写了:把 /etc/apt/sources.list 内容贴上来看下

代码: 全选

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.cn99.com/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.cn99.com/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ubuntu.cn99.com/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://ubuntu.cn99.com/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.cn99.com/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://ubuntu.cn99.com/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ubuntu.cn99.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://ubuntu.cn99.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://ubuntu.cn99.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://ubuntu.cn99.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse


Re: [求指导]ubuntu16.04安装网易云音乐失败

发表于 : 2016-05-26 15:06
qy117121
http://packages.ubuntu.com/xenial/libqt5libqgtk2
16.04 的libqt5libqgtk2 依赖 libqt5gui5 (= 5.5.1+dfsg-16ubuntu7)
所以你系统已经安装的是正确的版本
不知道为什么你apt安装的依赖的版本不对,源列表没发现有什么不对,或者可以换个源看看

还有 http://packages.ubuntu.com/xenial/libqt ... a5-plugins
依赖也有问题