ubuntu16.04 安装网易云音乐问题解决

官网下载好对应的deb包后,执行命令 
sudo dpkg -i netease-cloud-music_1.0.0_amd64_ubuntu16.04.

但发现无法解决依赖问题

sudo apt-get -f install

只会卸载未完全安装的软件

解决方法:

备份原软件源,并替换为清华的软件源。
sudo vi /etc/apt/sources.list
########################################################以下内容复制到此文件中。
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse
########################################################
 最后, 
 
sudo dpkg -i netease-cloud-music_1.0.0_amd64_ubuntu16.04
sudo apt-get -f install
 解决! 
 
 
 

 
 
 
 
 

猜你喜欢

转载自blog.csdn.net/qq_22551385/article/details/78171760