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

来源:互联网 发布:linux ping带源地址 编辑:程序博客网 时间:2024/05/26 15:57
官网下载好对应的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
解决!