ubuntu18.10安裝網易雲音樂


1.到網易雲官網下載安裝包(在18.10雙擊安裝包沒能安裝成功,於是使用命令行)

2.執行安裝命令 sudo dpkg -i 名稱,這時會提示缺少依賴gconf-service等,提示執行命令,照做就好
liangjiongyao@liangjiongyao-desktop:~$ sudo dpkg -i netease-cloud-music_1.1.0_amd64_ubuntu.deb
Selecting previously unselected package netease-cloud-music.
(Reading database ... 174307 files and directories currently installed.)
Preparing to unpack netease-cloud-music_1.1.0_amd64_ubuntu.deb ...
Unpacking netease-cloud-music (1.1.0) ...
dpkg: dependency problems prevent configuration of netease-cloud-music:
netease-cloud-music depends on gconf-service; however:
Package gconf-service is not installed.
netease-cloud-music depends on libgconf-2-4 (>= 3.2.5); however:
Package libgconf-2-4 is not installed.

dpkg: error processing package netease-cloud-music (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-3ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
netease-cloud-music

liangjiongyao@liangjiongyao-desktop:~$ sudo apt-get install gconf-service
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gconf-service : Depends: gconf-service-backend (= 3.2.6-4.1ubuntu2) but it is not going to be installed
netease-cloud-music : Depends: libgconf-2-4 (>= 3.2.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

3.執行 sudo apt --fix-broken install,會詢問Y/N, 選擇Y,回車。完成后,再安裝 安裝包
liangjiongyao@liangjiongyao-desktop:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
fonts-liberation2 fonts-opensymbol gir1.2-geocodeglib-1.0
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0
gir1.2-udisks-2.0 grilo-plugins-0.3-base guile-2.2-libs
libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0
libboost-locale1.67.0 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5
libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libeot0
libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14
libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2
libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common
liblangtag1 liblua5.3-0 libmediaart-2.0-0 libminiupnpc17 libmspub-0.1-1
libncursesw5 libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0
libsgutils2-2 libssh-4 libsuitesparseconfig5 libtinfo5 libvncclient1
libwinpr2-2 libxapian30 libxmlsec1 libxmlsec1-nss lp-solve media-player-info
python3-mako python3-markupsafe syslinux syslinux-common syslinux-legacy
usb-creator-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gconf-service gconf-service-backend gconf2-common libgconf-2-4
The following NEW packages will be installed:
gconf-service gconf-service-backend gconf2-common libgconf-2-4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 859 kB of archives.
After this operation, 8,075 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 gconf2-common all 3.2.6-4.1ubuntu2 [699 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 libgconf-2-4 amd64 3.2.6-4.1ubuntu2 [84.8 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 gconf-service-backend amd64 3.2.6-4.1ubuntu2 [58.1 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu cosmic/universe amd64 gconf-service amd64 3.2.6-4.1ubuntu2 [17.6 kB]
Fetched 859 kB in 10s (89.3 kB/s)
Selecting previously unselected package gconf2-common.
(Reading database ... 174531 files and directories currently installed.)
Preparing to unpack .../gconf2-common_3.2.6-4.1ubuntu2_all.deb ...
Unpacking gconf2-common (3.2.6-4.1ubuntu2) ...
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../libgconf-2-4_3.2.6-4.1ubuntu2_amd64.deb ...
Unpacking libgconf-2-4:amd64 (3.2.6-4.1ubuntu2) ...
Selecting previously unselected package gconf-service-backend.
Preparing to unpack .../gconf-service-backend_3.2.6-4.1ubuntu2_amd64.deb ...
Unpacking gconf-service-backend (3.2.6-4.1ubuntu2) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-service_3.2.6-4.1ubuntu2_amd64.deb ...
Unpacking gconf-service (3.2.6-4.1ubuntu2) ...
Setting up gconf2-common (3.2.6-4.1ubuntu2) ...

Creating config file /etc/gconf/2/path with new version
Setting up libgconf-2-4:amd64 (3.2.6-4.1ubuntu2) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Setting up gconf-service-backend (3.2.6-4.1ubuntu2) ...
Setting up gconf-service (3.2.6-4.1ubuntu2) ...
Setting up netease-cloud-music (1.1.0) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...

liangjiongyao@liangjiongyao-desktop:~$ sudo apt-get install gconf-service
Reading package lists... Done
Building dependency tree
Reading state information... Done
gconf-service is already the newest version (3.2.6-4.1ubuntu2).
gconf-service set to manually installed.
The following packages were automatically installed and are no longer required:
fonts-liberation2 fonts-opensymbol gir1.2-geocodeglib-1.0
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0
gir1.2-udisks-2.0 grilo-plugins-0.3-base guile-2.2-libs
libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0
libboost-locale1.67.0 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5
libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libeot0
libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14
libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2
libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common
liblangtag1 liblua5.3-0 libmediaart-2.0-0 libminiupnpc17 libmspub-0.1-1
libncursesw5 libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0
libsgutils2-2 libssh-4 libsuitesparseconfig5 libtinfo5 libvncclient1
libwinpr2-2 libxapian30 libxmlsec1 libxmlsec1-nss lp-solve media-player-info
python3-mako python3-markupsafe syslinux syslinux-common syslinux-legacy
usb-creator-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

4.安裝完成。
liangjiongyao@liangjiongyao-desktop:~$ sudo dpkg -i netease-cloud-music_1.1.0_amd64_ubuntu.deb
(Reading database ... 174681 files and directories currently installed.)
Preparing to unpack netease-cloud-music_1.1.0_amd64_ubuntu.deb ...
Unpacking netease-cloud-music (1.1.0) over (1.1.0) ...
Setting up netease-cloud-music (1.1.0) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-3ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

安裝完成后,無法啟動解決辦法
liangjiongyao@liangjiongyao-desktop:~$ /usr/bin/netease-cloud-music
Local file: "" ("/usr/bin/netease-cloud-music")

步驟一:修改網易雲音樂的運行用戶
a.找到網易雲音樂的桌面圖標
/usr/share/applications/netease-cloud-music.desktop

b.右擊,“屬性”--->“command”

c.再次運行

步驟二:重啟操作系統


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM