Deepin Music Player無法安裝? [論壇 - Ubuntu基本設定]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



Deepin Music Player無法安裝?
會員一級
註冊日期:
2014/10/1 14:56
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 49
MP : 6 / 727
EXP: 97
離線
Deepin Music Player不能安裝 不知為何...
已經下載Deepin-music-player deepin-ui deepin-gsettings3個deb包了
終端運行如下:

rogerwu0321@rogerwu0321-ThinkPad-6:~$ sudo dpkg -i *.deb
[sudo] password for rogerwu0321:
選取了原先未選的套件 deepin-music-player。
(讀取資料庫 ... 目前共安裝了 191074 個檔案和目錄。)
準備解開 deepin-music-player_1.1+20150413165956~fa225d345b_all.deb ...
解開 deepin-music-player (1.1+20150413165956~fa225d345b) 中...
選取了原先未選的套件 deepin-ui。
準備解開 deepin-ui_1+git20130618094833~90b6485f6cprecise2_all.deb ...
解開 deepin-ui (1+git20130618094833~90b6485f6cprecise2) 中...
準備解開 python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb ...
Unpacking python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) over (0.0.2+20140703165416~8aaf2a6f00) ...
dpkg: 因相依問題,無法設定 deepin-ui:
deepin-ui 相依於 deepin-gsettings﹔然而:
套件 deepin-gsettings 未安裝。

dpkg: error processing package deepin-ui (--install):
相依問題 - 保留未設定
設定 python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) ...
dpkg: 因相依問題,無法設定 deepin-music-player:
deepin-music-player 相依於 deepin-ui﹔然而:
deepin-ui 套件尚未設定。

dpkg: error processing package deepin-music-player (--install):
相依問題 - 保留未設定
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
處理時發生錯誤:
deepin-ui
deepin-music-player
rogerwu0321@rogerwu0321-ThinkPad-6:~$ sudo apt-get -f install
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
正在修正相依關係... 完成
以下套件為自動安裝,並且已經無用:
libblas-common libblas3 libgfortran3 libkeybinder0 liblapack3 python-cddb
python-cssselect python-decorator python-gst0.10 python-keybinder
python-libxml2 python-mutagen python-numpy python-pycurl python-pyquery
python-scipy python-webob
Use 'apt-get autoremove' to remove them.
下列套件將會被【移除】:
deepin-music-player deepin-ui
升級 0 個,新安裝 0 個,移除 2 個,有 8 個未被升級。
2 個沒有完整得安裝或移除。
此操作完成之後,會空出 46.4 MB 的磁碟空間。
Do you want to continue? [Y/n] y
(讀取資料庫 ... 目前共安裝了 201496 個檔案和目錄。)
移除 deepin-music-player (1.1+20150413165956~fa225d345b) 中...
移除 deepin-ui (1+git20130618094833~90b6485f6cprecise2) 中...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
rogerwu0321@rogerwu0321-ThinkPad-6:~$

2015/5/1 17:41
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18520
EXP: 89
離線
從你安裝的方式「sudo dpkg -i *.deb」來看,

我猜,應該是安裝順序的問題,應該要一個一個裝吧!<-- 這個我不確定

另外順序對了,也不見得能安裝,因為不知道還有沒有其他的相依。

你可以執行「dpkg -I some.deb | grep Depends:」來查看相依訊息。

所以建議加入 deepin 的 repository 到 source list。然後用 「sudo apt-get install」會比較好一點。

http://www.coctec.com/subject/about/64860.html
http://www.noobslab.com/2014/05/deepin-software-center-v32v3021.html
https://launchpad.net/~linux-deepin/+archive/ubuntu/ppa
http://planet.linuxdeepin.com/how-to-remove-a-ppa-repository-completely/
http://www.deepin.org/mirror.html
http://planet.linuxdeepin.com/linux-deepin-adds-mirror-support-from-ncnu/
http://planet.linuxdeepin.com/linux-deepin-adds-mirror-support-from-nchc/
http://wiki.deepin.org/?title=%E8%BD%AF%E4%BB%B6%E6%BA%90
http://linoxide.com/ubuntu-how-to/install-deepin-desktop-environment-derivatives-ubuntu/
http://www.maketecheasier.com/install-linux-deepin-desktop-on-ubuntu/

以下這一段,是我以前嘗試的經驗,就單純參考,因為我也沒再去確認目前的狀況了。


另外 deepin 的 ui 套件,好像是會取代python的某一個模組套件,

所以有可能發生一種狀況,

未來升級的時候,某個套件如果有相依到哪個被取代的套件,有可能就無法升級或是安裝。




ReliveChιcΣ 寫到:
Deepin Music Player不能安裝 不知為何...
已經下載Deepin-music-player deepin-ui deepin-gsettings3個deb包了
終端運行如下:

rogerwu0321@rogerwu0321-ThinkPad-6:~$ sudo dpkg -i *.deb
[sudo] password for rogerwu0321:
選取了原先未選的套件 deepin-music-player。
(讀取資料庫 ... 目前共安裝了 191074 個檔案和目錄。)
準備解開 deepin-music-player_1.1+20150413165956~fa225d345b_all.deb ...
解開 deepin-music-player (1.1+20150413165956~fa225d345b) 中...
選取了原先未選的套件 deepin-ui。
準備解開 deepin-ui_1+git20130618094833~90b6485f6cprecise2_all.deb ...
解開 deepin-ui (1+git20130618094833~90b6485f6cprecise2) 中...
準備解開 python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb ...
Unpacking python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) over (0.0.2+20140703165416~8aaf2a6f00) ...
dpkg: 因相依問題,無法設定 deepin-ui:
deepin-ui 相依於 deepin-gsettings﹔然而:
套件 deepin-gsettings 未安裝。

dpkg: error processing package deepin-ui (--install):
相依問題 - 保留未設定
設定 python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) ...
dpkg: 因相依問題,無法設定 deepin-music-player:
deepin-music-player 相依於 deepin-ui﹔然而:
deepin-ui 套件尚未設定。

dpkg: error processing package deepin-music-player (--install):
相依問題 - 保留未設定
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
處理時發生錯誤:
deepin-ui
deepin-music-player
rogerwu0321@rogerwu0321-ThinkPad-6:~$ sudo apt-get -f install
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
正在修正相依關係... 完成
以下套件為自動安裝,並且已經無用:
libblas-common libblas3 libgfortran3 libkeybinder0 liblapack3 python-cddb
python-cssselect python-decorator python-gst0.10 python-keybinder
python-libxml2 python-mutagen python-numpy python-pycurl python-pyquery
python-scipy python-webob
Use 'apt-get autoremove' to remove them.
下列套件將會被【移除】:
deepin-music-player deepin-ui
升級 0 個,新安裝 0 個,移除 2 個,有 8 個未被升級。
2 個沒有完整得安裝或移除。
此操作完成之後,會空出 46.4 MB 的磁碟空間。
Do you want to continue? [Y/n] y
(讀取資料庫 ... 目前共安裝了 201496 個檔案和目錄。)
移除 deepin-music-player (1.1+20150413165956~fa225d345b) 中...
移除 deepin-ui (1+git20130618094833~90b6485f6cprecise2) 中...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
rogerwu0321@rogerwu0321-ThinkPad-6:~$

2015/5/1 18:02
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員一級
註冊日期:
2014/10/1 14:56
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 49
MP : 6 / 727
EXP: 97
離線
直接打sudo apt-get install deepin-music-player的話會找不到套件
所以才用deb包去安裝...
我去Google看看順序是怎樣好了

2015/5/2 14:45
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18520
EXP: 89
離線
ReliveChιcΣ 寫到:
直接打sudo apt-get install deepin-music-player的話會找不到套件
所以才用deb包去安裝...
我去Google看看順序是怎樣好了


我上面的回覆有提到

samwhelp 寫到:

所以建議加入 deepin 的 repository 到 source list。然後用 「sudo apt-get install」會比較好一點。




然後我有提供相關的連結。

samwhelp 寫到:

http://www.coctec.com/subject/about/64860.html
http://www.noobslab.com/2014/05/deepin-software-center-v32v3021.html
https://launchpad.net/~linux-deepin/+archive/ubuntu/ppa
http://planet.linuxdeepin.com/how-to-remove-a-ppa-repository-completely/
http://www.deepin.org/mirror.html
http://planet.linuxdeepin.com/linux-deepin-adds-mirror-support-from-ncnu/
http://planet.linuxdeepin.com/linux-deepin-adds-mirror-support-from-nchc/
http://wiki.deepin.org/?title=%E8%BD%AF%E4%BB%B6%E6%BA%90
http://linoxide.com/ubuntu-how-to/install-deepin-desktop-environment-derivatives-ubuntu/
http://www.maketecheasier.com/install-linux-deepin-desktop-on-ubuntu/




第一篇」就有提到



sudo add-apt-repository ppa:noobslab/deepin-sc
sudo apt-get update
sudo apt-get install deepin-music-player






## 額外解說

可以從下面的指令查詢「add-apt-repository」這個指令是屬於哪個套件


$ dpkg -S add-apt-repository



顯示


software-properties-common: /usr/bin/add-apt-repository
software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz



就可以知道「add-apt-repository」這個指令是屬於「software-properties-common」這個套件。

執行下面的指令,檢查「software-properties-common」這個套件,有沒有安裝


$ dpkg -l software-properties-common



若沒有安裝,執行下面的指令安裝


$ sudo apt-get install software-properties-common



這時候就可以執行下面的指令,將「noobslab/deepin-sc」這個PPA加入。


$ sudo add-apt-repository ppa:noobslab/deepin-sc



上面的指令執行成功後,會產生「/etc/apt/sources.list.d/noobslab-deepin-sc-trusty.list 」這個檔。


$ cat /etc/apt/sources.list.d/noobslab-deepin-sc-trusty.list



會顯示


deb http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu trusty main
# deb-src http://ppa.launchpad.net/noobslab/deepin-sc/ubuntu trusty main



這時候就執行下面的指令,更新套件資訊


$ sudo apt-get update



更新完後,就可以執行下面的指令安裝「deepin-music-player 」


$ sudo apt-get install deepin-music-player



安裝完後可以執行下面的指令查看


$ dpkg -l deepin-music-player



會顯示



Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================================-===============================
ii deepin-music-player 2.0+20141029122843~trusty~Noobs all Awesome music player with brilliant and tweakful UI


2015/5/2 15:05
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18520
EXP: 89
離線
剛剛回覆的方式,是加入PPA的方式。

下面另一個方式,就是我上面回覆說的

samwhelp 寫到:

所以建議加入 deepin 的 repository 到 source list。然後用 「sudo apt-get install」會比較好一點。




可以參考「這篇」。


$ sudo vi /etc/apt/sources.list



或是


$ sudo vi /etc/apt/sources.list.d/deepin.list



上面擇一即可。

加入下面這一行。(以下是針對14.04的環境,所以使用trusty)


deb http://packages.linuxdeepin.com/deepin trusty main universe non-free



存檔後,執行下面的指令,更新套件資訊


$ sudo apt-get update



就會出現下面的訊息



...略...

W: GPG error: http://packages.linuxdeepin.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0A40427E209088E7




然後參考「這篇」,「這篇」,「這篇


$ wget -O - http://packages.linuxdeepin.com/deepin/project/deepin-keyring.gpg | sudo apt-key add -



會顯示下面的訊息


--2015-05-02 18:20:47-- http://packages.linuxdeepin.com/deepin/project/deepin-keyring.gpg
Resolving packages.linuxdeepin.com (packages.linuxdeepin.com)... 202.141.160.114, 2001:da8:d800:95::114
Connecting to packages.linuxdeepin.com (packages.linuxdeepin.com)|202.141.160.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1191 (1.2K) [application/octet-stream]
Saving to: ‘STDOUT’

100%[===============================================>] 1,191 --.-K/s in 0s

2015-05-02 18:20:48 (104 MB/s) - written to stdout [1191/1191]

OK



然後執行下面的指令觀看


$ apt-key list



則會顯示


/etc/apt/trusted.gpg
--------------------

...略...

pub 2048R/209088E7 2010-10-06
uid Leng Ganghua (Hiweed) <hiweed@gmail.com>
sub 2048R/4B46F33F 2010-10-06




這時候再次執行下面的指令,更新套件資訊,


$ sudo apt-get update



更新完後,就可以執行下面的指令安裝「deepin-music-player 」


$ sudo apt-get install deepin-music-player



這時候就可以執行下面的指令啟動「deepin-music-player 」,看看是否能正常啟動。


$ deepin-music-player



這時候會出現下面的訊息


INFO Loading settings...
INFO Loading application theme...
INFO Loading MediaDB...
ERROR Faild load user db, will to load default db
None
INFO Initialize Gui...
<class 'Xlib.protocol.request.QueryExtension'>
----------Please Install Deepin GSettings Python Binding----------
sudo apt-get install python-deepin-gsettings
------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/deepin-music-player", line 270, in <module>
DeepinMusicApp()
File "/usr/bin/deepin-music-player", line 68, in __init__
self.__init()
File "/usr/bin/deepin-music-player", line 219, in __init
from widget.instance import DeepinMusic
File "/usr/share/deepin-music/src/widget/instance.py", line 26, in <module>
from dtk.ui.application import Application
File "/usr/lib/python2.7/dist-packages/dtk/ui/application.py", line 25, in <module>
from skin import SkinWindow
File "/usr/lib/python2.7/dist-packages/dtk/ui/skin.py", line 27, in <module>
from dialog import ConfirmDialog, OpenFileDialog, SaveFileDialog
File "/usr/lib/python2.7/dist-packages/dtk/ui/dialog.py", line 27, in <module>
from entry import InputEntry
File "/usr/lib/python2.7/dist-packages/dtk/ui/entry.py", line 38, in <module>
from gsettings import DESKTOP_SETTINGS, DEFAULT_CURSOR_BLINK_TIME
ImportError: cannot import name DESKTOP_SETTINGS



注意上面其中有一段


----------Please Install Deepin GSettings Python Binding----------
sudo apt-get install python-deepin-gsettings
------------------------------------------------------------------



這時候執行下面的指令安裝「python-deepin-gsettings」


sudo apt-get install python-deepin-gsettings



再次執行「deepin-music-player」。


$ deepin-music-player



就可以正常啟動了,會出現下面的訊息。


INFO Loading settings...
INFO Loading application theme...
INFO Loading MediaDB...
ERROR Faild load user db, will to load default db
None
INFO Initialize Gui...
<class 'Xlib.protocol.request.QueryExtension'>
INFO MMKeys mode: None





=================================================================

但因為有可能連線速度太慢,所以可以根據下面幾篇,尋找其他的套件庫。

http://www.deepin.org/mirror.html
http://planet.linuxdeepin.com/linux-deepin-adds-mirror-support-from-ncnu/
http://planet.linuxdeepin.com/linux-deepin-adds-mirror-support-from-nchc/

=================================================================

上面加入「source list」的方式,也可以用一行指令搞定


sudo sh -c 'echo "deb http://packages.linuxdeepin.com/deepin trusty main universe non-free" > /etc/apt/sources.list.d/deepin.list'



或是


sudo sh -c 'echo "deb http://packages.linuxdeepin.com/deepin trusty main universe non-free" >> /etc/apt/sources.list'



一樣擇一執行即可


=================================================================

若希望可以執行「sudo apt-get source」來下載「Source Package」。

以hello套件為例


$ sudo apt-get source hello



還要在「source list」加入下面這行


deb-src http://packages.linuxdeepin.com/deepin trusty main universe non-free



或是一行指令搞定


sudo sh -c 'echo "deb-src http://packages.linuxdeepin.com/deepin trusty main universe non-free" >> /etc/apt/sources.list'



=================================================================

## 更多參考

* Debian Reference / Chapter 2. Debian package management / 2.1.4. Debian archive basics
* Ubuntu Community Help Wiki / SoftwareManagement
* Ubuntu Community Help Wiki / Repositories / CommandLine
* Ubuntu Community Help Wiki / Repositories / Ubuntu
* Debian Wiki / SecureApt
* 一樣將此篇收入在這個「索引

2015/5/2 16:32
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18520
EXP: 89
離線
剛測試,發現會有無法播放的情形,

執行下面的指令


$ apt-cache show deepin-music-player | grep Suggests:



或是執行


$ dpkg -s deepin-music-player | grep Suggests:



會顯示


Suggests: python-mmkeys, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad-multiverse



安裝「gstreamer0.10-plugins-ugly」


$ sudo apt-get install gstreamer0.10-plugins-ugly



就可以正常播放了


2015/5/2 21:54
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18520
EXP: 89
離線
## 前提

以下測試,是在剛裝好的「Xubuntu 14.04 32位元」,沒有設定上面回覆的套件庫。

直接下載deb檔來安裝。

雖然不建議這樣安裝方式,但剛好可以藉由這個例子來解釋「apt-get install -f」的用法。

## 探索步驟

下載「deepin-music-player」這個套件


$ wget -c http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-music-player/deepin-music-player_1.1%2b20150204093722~081154cf7b_all.deb



觀看「deepin-music-player_1.1+20150204093722~081154cf7b_all.deb」的相依套件


$ dpkg -I deepin-music-player_1.1+20150204093722~081154cf7b_all.deb | grep Depends:



顯示


Depends: deepin-ui, python-mutagen, python-gst0.10, python-pyquery, python-cddb, python-pycurl, python-chardet, python-keybinder, gstreamer0.10-plugins-good



只找跟「deepin」相關的字眼,找到「deepin-ui」。

下載「deepin-ui」這個套件。


$ wget -c http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-ui/deepin-ui_1.1%2b20141229194712~5a86faec50_all.deb




觀看「deepin-ui_1.1%2b20141229194712~5a86faec50_all.deb」的相依套件


$ dpkg -I deepin-ui_1.1%2b20141229194712~5a86faec50_all.deb | grep Depends:



顯示


Depends: python:any (>= 2.7.5-5~), python:any (<< 2.8), libgtk2.0-0, libcairo2, python-gtk2, python-imaging, gettext, python-deepin-utils, python-xlib, python-webkit, python-scipy



只找跟「deepin」相關的字眼,找到「python-deepin-utils」。


下載「python-deepin-utils」這個套件


$ wget -c http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-utils/python-deepin-utils_0.0.2%2b20140703165416~8aaf2a6f00_i386.deb




觀看「python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb」的相依套件


$ dpkg -I python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb | grep Depends:



顯示


Depends: libc6 (>= 2.3.6-6~), libcairo2 (>= 1.2.4), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.24.0), libsoup2.4-1 (>= 2.26.1), libwebkitgtk-1.0-0 (>= 1.3.10), python (>= 2.7), libgtk2.0-0, python-gtk2, python-webkit, python-xlib




只找跟「deepin」相關的字眼,沒有看到什麼特別相關的。所以暫停找尋。

所以剛剛我們找到三個檔案,依序是

* deepin-music-player_1.1%2b20150204093722~081154cf7b_all.deb
* deepin-ui_1.1%2b20141229194712~5a86faec50_all.deb
* python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb

所以安裝時,順序顛倒,我們先從「python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb」安裝起

安裝「python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb」


$ sudo dpkg -i python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb



會顯示下面的訊息


Selecting previously unselected package python-deepin-utils.
(Reading database ... 143354 files and directories currently installed.)
Preparing to unpack python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb ...
Unpacking python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) ...
dpkg: dependency problems prevent configuration of python-deepin-utils:
python-deepin-utils depends on python-webkit; however:
Package python-webkit is not installed.
python-deepin-utils depends on python-xlib; however:
Package python-xlib is not installed.
dpkg: error processing package python-deepin-utils (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-deepin-utils



這時候「apt-get install -f」就派上場了,可以將相依的套件安裝補足,完成上面的安裝。


$ sudo apt-get install -f



會顯示下面的訊息


sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
python-webkit python-xlib
The following NEW packages will be installed:
python-webkit python-xlib
0 upgraded, 2 newly installed, 0 to remove and 429 not upgraded.
1 not fully installed or removed.
Need to get 188 kB of archives.
After this operation, 879 kB of additional disk space will be used.
Do you want to continue? [Y/n]



按下「Enter」後,會顯示下面的訊息


Get:1 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-webkit i386 1.1.8-3ubuntu2 [24.2 kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-xlib all 0.14+20091101-1ubuntu2 [163 kB]
Fetched 188 kB in 0s (204 kB/s)
Selecting previously unselected package python-webkit.
(Reading database ... 143381 files and directories currently installed.)
Preparing to unpack .../python-webkit_1.1.8-3ubuntu2_i386.deb ...
Unpacking python-webkit (1.1.8-3ubuntu2) ...
Selecting previously unselected package python-xlib.
Preparing to unpack .../python-xlib_0.14+20091101-1ubuntu2_all.deb ...
Unpacking python-xlib (0.14+20091101-1ubuntu2) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up python-webkit (1.1.8-3ubuntu2) ...
Setting up python-xlib (0.14+20091101-1ubuntu2) ...
Setting up python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) ...




安裝「deepin-ui_1.1+20141229194712~5a86faec50_all.deb」


$ sudo dpkg -i deepin-ui_1.1+20141229194712~5a86faec50_all.deb




會顯示下面的訊息



Selecting previously unselected package deepin-ui.
(Reading database ... 143565 files and directories currently installed.)
Preparing to unpack deepin-ui_1.1+20141229194712~5a86faec50_all.deb ...
Unpacking deepin-ui (1.1+20141229194712~5a86faec50) ...
dpkg: dependency problems prevent configuration of deepin-ui:
deepin-ui depends on python-scipy; however:
Package python-scipy is not installed.
dpkg: error processing package deepin-ui (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
deepin-ui




這時候「apt-get install -f」就派上場了,可以將相依的套件安裝補足,完成上面的安裝。


$ sudo apt-get install -f



會顯示下面的訊息


Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
g++ g++-4.8 libexpat1-dev libpython-dev libpython2.7-dev libstdc++-4.8-dev
python-decorator python-dev python-numpy python-scipy python2.7-dev
Suggested packages:
g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg libstdc++-4.8-doc
gfortran python-nose python-numpy-dbg python-numpy-doc
The following NEW packages will be installed:
g++ g++-4.8 libexpat1-dev libpython-dev libpython2.7-dev libstdc++-4.8-dev
python-decorator python-dev python-numpy python-scipy python2.7-dev
0 upgraded, 11 newly installed, 0 to remove and 429 not upgraded.
1 not fully installed or removed.
Need to get 39.2 MB of archives.
After this operation, 99.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]



按下「Enter」後,會顯示下面的訊息


Get:1 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-decorator all 3.4.0-2build1 [19.2 kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu/ trusty-updates/main python-numpy i386 1:1.8.2-0ubuntu0.1 [1,586 kB]
Get:3 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-scipy i386 0.13.3-1build1 [7,278 kB]
Get:4 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libexpat1-dev i386 2.1.0-4ubuntu1 [112 kB]
Get:5 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libpython2.7-dev i386 2.7.6-8 [21.8 MB]
Get:6 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev i386 4.8.2-19ubuntu1 [1,058 kB]
Get:7 http://tw.archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 i386 4.8.2-19ubuntu1 [7,023 kB]
Get:8 http://tw.archive.ubuntu.com/ubuntu/ trusty/main g++ i386 4:4.8.2-1ubuntu6 [1,500 B]
Get:9 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libpython-dev i386 2.7.5-5ubuntu3 [7,090 B]
Get:10 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python2.7-dev i386 2.7.6-8 [269 kB]
Get:11 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-dev i386 2.7.5-5ubuntu3 [1,176 B]
Fetched 39.2 MB in 50s (772 kB/s)
Selecting previously unselected package python-decorator.
(Reading database ... 147136 files and directories currently installed.)
Preparing to unpack .../python-decorator_3.4.0-2build1_all.deb ...
Unpacking python-decorator (3.4.0-2build1) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../python-numpy_1%3a1.8.2-0ubuntu0.1_i386.deb ...
Unpacking python-numpy (1:1.8.2-0ubuntu0.1) ...
Selecting previously unselected package python-scipy.
Preparing to unpack .../python-scipy_0.13.3-1build1_i386.deb ...
Unpacking python-scipy (0.13.3-1build1) ...
Selecting previously unselected package libexpat1-dev:i386.
Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1_i386.deb ...
Unpacking libexpat1-dev:i386 (2.1.0-4ubuntu1) ...
Selecting previously unselected package libpython2.7-dev:i386.
Preparing to unpack .../libpython2.7-dev_2.7.6-8_i386.deb ...
Unpacking libpython2.7-dev:i386 (2.7.6-8) ...
Selecting previously unselected package libstdc++-4.8-dev:i386.
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_i386.deb ...
Unpacking libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.2-19ubuntu1_i386.deb ...
Unpacking g++-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_i386.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libpython-dev:i386.
Preparing to unpack .../libpython-dev_2.7.5-5ubuntu3_i386.deb ...
Unpacking libpython-dev:i386 (2.7.5-5ubuntu3) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.6-8_i386.deb ...
Unpacking python2.7-dev (2.7.6-8) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.5-5ubuntu3_i386.deb ...
Unpacking python-dev (2.7.5-5ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Setting up python-decorator (3.4.0-2build1) ...
Setting up python-numpy (1:1.8.2-0ubuntu0.1) ...
Setting up python-scipy (0.13.3-1build1) ...
Setting up deepin-ui (1.1+20141229194712~5a86faec50) ...
Setting up libexpat1-dev:i386 (2.1.0-4ubuntu1) ...
Setting up libpython2.7-dev:i386 (2.7.6-8) ...
Setting up libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Setting up g++-4.8 (4.8.2-19ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up libpython-dev:i386 (2.7.5-5ubuntu3) ...
Setting up python2.7-dev (2.7.6-8) ...
Setting up python-dev (2.7.5-5ubuntu3) ...



安裝「deepin-music-player_1.1+20150204093722~081154cf7b_all.deb 」


$ sudo dpkg -i deepin-music-player_1.1+20150204093722~081154cf7b_all.deb



會顯示下面的訊息


Selecting previously unselected package deepin-music-player.
(Reading database ... 149565 files and directories currently installed.)
Preparing to unpack deepin-music-player_1.1+20150204093722~081154cf7b_all.deb ...
Unpacking deepin-music-player (1.1+20150204093722~081154cf7b) ...
dpkg: dependency problems prevent configuration of deepin-music-player:
deepin-music-player depends on python-mutagen; however:
Package python-mutagen is not installed.
deepin-music-player depends on python-gst0.10; however:
Package python-gst0.10 is not installed.
deepin-music-player depends on python-pyquery; however:
Package python-pyquery is not installed.
deepin-music-player depends on python-cddb; however:
Package python-cddb is not installed.
deepin-music-player depends on python-keybinder; however:
Package python-keybinder is not installed.
dpkg: error processing package deepin-music-player (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
deepin-music-player



這時候「apt-get install -f」就派上場了,可以將相依的套件安裝補足,完成上面的安裝。


$ sudo apt-get install -f



會顯示下面的訊息


Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
python-cddb python-cssselect python-gst0.10 python-keybinder python-mutagen
python-pyquery python-webob
Suggested packages:
python-gst0.10-dev python-gst0.10-dbg python-mutagen-doc python-webob-doc
The following NEW packages will be installed:
python-cddb python-cssselect python-gst0.10 python-keybinder python-mutagen
python-pyquery python-webob
0 upgraded, 7 newly installed, 0 to remove and 429 not upgraded.
1 not fully installed or removed.
Need to get 394 kB of archives.
After this operation, 2,222 kB of additional disk space will be used.
Do you want to continue? [Y/n]




按下「Enter」後,會顯示下面的訊息


Get:1 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-mutagen all 1.22-1ubuntu2 [76.6 kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-gst0.10 i386 0.10.22-3ubuntu2 [185 kB]
Get:3 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-webob all 1.3.1-1 [57.9 kB]
Get:4 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-cssselect all 0.9.1-1 [27.5 kB]
Get:5 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-pyquery all 1.2.4-1 [24.7 kB]
Get:6 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-cddb i386 1.4-5.1ubuntu2 [14.4 kB]
Get:7 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-keybinder i386 0.3.0-2 [7,462 B]
Fetched 394 kB in 0s (434 kB/s)
Selecting previously unselected package python-mutagen.
(Reading database ... 156384 files and directories currently installed.)
Preparing to unpack .../python-mutagen_1.22-1ubuntu2_all.deb ...
Unpacking python-mutagen (1.22-1ubuntu2) ...
Selecting previously unselected package python-gst0.10.
Preparing to unpack .../python-gst0.10_0.10.22-3ubuntu2_i386.deb ...
Unpacking python-gst0.10 (0.10.22-3ubuntu2) ...
Selecting previously unselected package python-webob.
Preparing to unpack .../python-webob_1.3.1-1_all.deb ...
Unpacking python-webob (1.3.1-1) ...
Selecting previously unselected package python-cssselect.
Preparing to unpack .../python-cssselect_0.9.1-1_all.deb ...
Unpacking python-cssselect (0.9.1-1) ...
Selecting previously unselected package python-pyquery.
Preparing to unpack .../python-pyquery_1.2.4-1_all.deb ...
Unpacking python-pyquery (1.2.4-1) ...
Selecting previously unselected package python-cddb.
Preparing to unpack .../python-cddb_1.4-5.1ubuntu2_i386.deb ...
Unpacking python-cddb (1.4-5.1ubuntu2) ...
Selecting previously unselected package python-keybinder.
Preparing to unpack .../python-keybinder_0.3.0-2_i386.deb ...
Unpacking python-keybinder (0.3.0-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up python-mutagen (1.22-1ubuntu2) ...
Setting up python-gst0.10 (0.10.22-3ubuntu2) ...
Setting up python-webob (1.3.1-1) ...
Setting up python-cssselect (0.9.1-1) ...
Setting up python-pyquery (1.2.4-1) ...
Setting up python-cddb (1.4-5.1ubuntu2) ...
Setting up python-keybinder (0.3.0-2) ...
Setting up deepin-music-player (1.1+20150204093722~081154cf7b) ...





這時候就可以執行「deepin-music-player」


$ deepin-music-player



會顯示下面的訊息



INFO Loading settings...
INFO Loading application theme...
INFO Loading MediaDB...
ERROR Faild load user db, will to load default db
None
INFO Initialize Gui...
<class 'Xlib.protocol.request.QueryExtension'>
----------Please Install Deepin GSettings Python Binding----------
sudo apt-get install python-deepin-gsettings
------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/deepin-music-player", line 270, in <module>
DeepinMusicApp()
File "/usr/bin/deepin-music-player", line 68, in __init__
self.__init()
File "/usr/bin/deepin-music-player", line 219, in __init
from widget.instance import DeepinMusic
File "/usr/share/deepin-music/src/widget/instance.py", line 26, in <module>
from dtk.ui.application import Application
File "/usr/lib/python2.7/dist-packages/dtk/ui/application.py", line 25, in <module>
from skin import SkinWindow
File "/usr/lib/python2.7/dist-packages/dtk/ui/skin.py", line 27, in <module>
from dialog import ConfirmDialog, OpenFileDialog, SaveFileDialog
File "/usr/lib/python2.7/dist-packages/dtk/ui/dialog.py", line 27, in <module>
from entry import InputEntry
File "/usr/lib/python2.7/dist-packages/dtk/ui/entry.py", line 38, in <module>
from gsettings import DESKTOP_SETTINGS, DEFAULT_CURSOR_BLINK_TIME
ImportError: cannot import name DESKTOP_SETTINGS




注意有一段提示


----------Please Install Deepin GSettings Python Binding----------
sudo apt-get install python-deepin-gsettings
------------------------------------------------------------------




下載「python-deepin-gsettings」這個套件


$ wget -c http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-gsettings/python-deepin-gsettings_0.1%2bgit20131206094009~a64de3ac19_i386.deb




安裝「python-deepin-gsettings_0.1+git20131206094009~a64de3ac19_i386.deb」


$sudo dpkg -i python-deepin-gsettings_0.1+git20131206094009~a64de3ac19_i386.deb



會顯示下面的訊息



Selecting previously unselected package python-deepin-gsettings.
(Reading database ... 156580 files and directories currently installed.)
Preparing to unpack python-deepin-gsettings_0.1+git20131206094009~a64de3ac19_i386.deb ...
Unpacking python-deepin-gsettings (0.1+git20131206094009~a64de3ac19) ...
Setting up python-deepin-gsettings (0.1+git20131206094009~a64de3ac19) ...



再次執行「deepin-music-player」


$ deepin-music-player



顯示下面的訊息,並且成功開啟應用程式


INFO Loading settings...
INFO Loading application theme...
INFO Loading MediaDB...
ERROR Faild load user db, will to load default db
None
INFO Initialize Gui...
<class 'Xlib.protocol.request.QueryExtension'>
INFO MMKeys mode: None



因為播放會有問題,所以查尋「deepin-music-player_1.1+20150204093722~081154cf7b_all.deb」的「Suggests」套件。


$ dpkg -I deepin-music-player_1.1+20150204093722~081154cf7b_all.deb | grep Suggests:



就會顯示下面的訊息


Suggests: python-mmkeys, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad-multiverse




安裝「gstreamer0.10-plugins-ugly」


sudo apt-get install gstreamer0.10-plugins-ugly



會顯示下面的訊息


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
liba52-0.7.4 libdvdnav4 libdvdread4 libmad0 libmpeg2-4 libopencore-amrnb0
libopencore-amrwb0 libsidplay1 libtwolame0
Suggested packages:
libdvdcss2 build-essential debhelper fakeroot sidplay-base xsidplay
The following NEW packages will be installed:
gstreamer0.10-plugins-ugly liba52-0.7.4 libdvdnav4 libdvdread4 libmad0 libmpeg2-4
libopencore-amrnb0 libopencore-amrwb0 libsidplay1 libtwolame0
0 upgraded, 10 newly installed, 0 to remove and 429 not upgraded.
Need to get 766 kB of archives.
After this operation, 2,916 kB of additional disk space will be used.
Do you want to continue? [Y/n]



按下「Enter」後,會顯示下面的訊息


Get:1 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libdvdread4 i386 4.2.1-2ubuntu1 [49.2 kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libdvdnav4 i386 4.2.1-3 [42.5 kB]
Get:3 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libmad0 i386 0.15.1b-8ubuntu1 [72.7 kB]
Get:4 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libmpeg2-4 i386 0.5.1-5ubuntu1 [55.1 kB]
Get:5 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libopencore-amrnb0 i386 0.1.3-2ubuntu1 [90.2 kB]
Get:6 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libopencore-amrwb0 i386 0.1.3-2ubuntu1 [45.7 kB]
Get:7 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe liba52-0.7.4 i386 0.7.4-17 [27.7 kB]
Get:8 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libsidplay1 i386 1.36.59-5ubuntu1 [73.6 kB]
Get:9 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe libtwolame0 i386 0.3.13-1ubuntu1 [45.8 kB]
Get:10 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe gstreamer0.10-plugins-ugly i386 0.10.19-2ubuntu5 [263 kB]
Fetched 766 kB in 2s (309 kB/s)
Selecting previously unselected package libdvdread4:i386.
(Reading database ... 156590 files and directories currently installed.)
Preparing to unpack .../libdvdread4_4.2.1-2ubuntu1_i386.deb ...
Unpacking libdvdread4:i386 (4.2.1-2ubuntu1) ...
Selecting previously unselected package libdvdnav4:i386.
Preparing to unpack .../libdvdnav4_4.2.1-3_i386.deb ...
Unpacking libdvdnav4:i386 (4.2.1-3) ...
Selecting previously unselected package libmad0:i386.
Preparing to unpack .../libmad0_0.15.1b-8ubuntu1_i386.deb ...
Unpacking libmad0:i386 (0.15.1b-8ubuntu1) ...
Selecting previously unselected package libmpeg2-4:i386.
Preparing to unpack .../libmpeg2-4_0.5.1-5ubuntu1_i386.deb ...
Unpacking libmpeg2-4:i386 (0.5.1-5ubuntu1) ...
Selecting previously unselected package libopencore-amrnb0:i386.
Preparing to unpack .../libopencore-amrnb0_0.1.3-2ubuntu1_i386.deb ...
Unpacking libopencore-amrnb0:i386 (0.1.3-2ubuntu1) ...
Selecting previously unselected package libopencore-amrwb0:i386.
Preparing to unpack .../libopencore-amrwb0_0.1.3-2ubuntu1_i386.deb ...
Unpacking libopencore-amrwb0:i386 (0.1.3-2ubuntu1) ...
Selecting previously unselected package liba52-0.7.4.
Preparing to unpack .../liba52-0.7.4_0.7.4-17_i386.deb ...
Unpacking liba52-0.7.4 (0.7.4-17) ...
Selecting previously unselected package libsidplay1.
Preparing to unpack .../libsidplay1_1.36.59-5ubuntu1_i386.deb ...
Unpacking libsidplay1 (1.36.59-5ubuntu1) ...
Selecting previously unselected package libtwolame0.
Preparing to unpack .../libtwolame0_0.3.13-1ubuntu1_i386.deb ...
Unpacking libtwolame0 (0.3.13-1ubuntu1) ...
Selecting previously unselected package gstreamer0.10-plugins-ugly:i386.
Preparing to unpack .../gstreamer0.10-plugins-ugly_0.10.19-2ubuntu5_i386.deb ...
Unpacking gstreamer0.10-plugins-ugly:i386 (0.10.19-2ubuntu5) ...
Setting up libdvdread4:i386 (4.2.1-2ubuntu1) ...
Setting up libdvdnav4:i386 (4.2.1-3) ...
Setting up libmad0:i386 (0.15.1b-8ubuntu1) ...
Setting up libmpeg2-4:i386 (0.5.1-5ubuntu1) ...
Setting up libopencore-amrnb0:i386 (0.1.3-2ubuntu1) ...
Setting up libopencore-amrwb0:i386 (0.1.3-2ubuntu1) ...
Setting up liba52-0.7.4 (0.7.4-17) ...
Setting up libsidplay1 (1.36.59-5ubuntu1) ...
Setting up libtwolame0 (0.3.13-1ubuntu1) ...
Setting up gstreamer0.10-plugins-ugly:i386 (0.10.19-2ubuntu5) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...




這時候重新執行「deepin-music-player」


$ deepin-music-player



就可以正常播放了


另外也可以安裝「python-mmkeys」這個套件


$ sudo apt-get install python-mmkeys



會顯示下面的訊息



Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-mmkeys
0 upgraded, 1 newly installed, 0 to remove and 429 not upgraded.
Need to get 8,224 B of archives.
After this operation, 53.2 kB of additional disk space will be used.
Get:1 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-mmkeys i386 1.6.2.1-5.1 [8,224 B]
Fetched 8,224 B in 0s (21.3 kB/s)
Selecting previously unselected package python-mmkeys.
(Reading database ... 156733 files and directories currently installed.)
Preparing to unpack .../python-mmkeys_1.6.2.1-5.1_i386.deb ...
Unpacking python-mmkeys (1.6.2.1-5.1) ...
Setting up python-mmkeys (1.6.2.1-5.1) ...



再次重新執行「deepin-music-player」


$ deepin-music-player



會顯示下面的訊息



INFO Loading settings...
INFO Loading application theme...
INFO Loading MediaDB...
ERROR Faild load user db, will to load default db
None
INFO Initialize Gui...
<class 'Xlib.protocol.request.QueryExtension'>
INFO MMKeys mode: mmkeys




注意上面其中的一行


INFO MMKeys mode: mmkeys



還沒裝「python-mmkeys」這個套件前,是顯示下面這一行


INFO MMKeys mode: None




以上測試,報告完畢


2015/5/3 3:42
應用擴展 工具箱
回覆: Deepin Music Player無法安裝?
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 34
HP : 169 / 847
MP : 574 / 18520
EXP: 89
離線
歸納上面的探索,可以簡化下面的流程安裝,就是一開始樓主問的。

## 執行步驟


http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-music-player/deepin-music-player_1.1%2b20150204093722~081154cf7b_all.deb
http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-ui/deepin-ui_1.1%2b20141229194712~5a86faec50_all.deb
http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-utils/python-deepin-utils_0.0.2%2b20140703165416~8aaf2a6f00_i386.deb
http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-gsettings/python-deepin-gsettings_0.1%2bgit20131206094009~a64de3ac19_i386.deb



將上面的內容,貼到一個檔,叫「list.txt」。


$ vi list.txt



存檔後,執行下面的指令,將上面四個檔下載下來。


$ wget -c -i list.txt



下載下來後,應該可以看到四個檔,執行下面的指令觀看


$ ls *.deb -1



顯示如下


deepin-music-player_1.1+20150204093722~081154cf7b_all.deb
deepin-ui_1.1+20141229194712~5a86faec50_all.deb
python-deepin-gsettings_0.1+git20131206094009~a64de3ac19_i386.deb
python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb




執行下面的指令安裝


$ sudo dpkg -i *.deb



會顯示下面的訊息


Selecting previously unselected package deepin-music-player.
(Reading database ... 143354 files and directories currently installed.)
Preparing to unpack deepin-music-player_1.1+20150204093722~081154cf7b_all.deb ...
Unpacking deepin-music-player (1.1+20150204093722~081154cf7b) ...
Selecting previously unselected package deepin-ui.
Preparing to unpack deepin-ui_1.1+20141229194712~5a86faec50_all.deb ...
Unpacking deepin-ui (1.1+20141229194712~5a86faec50) ...
Selecting previously unselected package python-deepin-gsettings.
Preparing to unpack python-deepin-gsettings_0.1+git20131206094009~a64de3ac19_i386.deb ...
Unpacking python-deepin-gsettings (0.1+git20131206094009~a64de3ac19) ...
Selecting previously unselected package python-deepin-utils.
Preparing to unpack python-deepin-utils_0.0.2+20140703165416~8aaf2a6f00_i386.deb ...
Unpacking python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) ...
dpkg: dependency problems prevent configuration of deepin-music-player:
deepin-music-player depends on python-mutagen; however:
Package python-mutagen is not installed.
deepin-music-player depends on python-gst0.10; however:
Package python-gst0.10 is not installed.
deepin-music-player depends on python-pyquery; however:
Package python-pyquery is not installed.
deepin-music-player depends on python-cddb; however:
Package python-cddb is not installed.
deepin-music-player depends on python-keybinder; however:
Package python-keybinder is not installed.

dpkg: error processing package deepin-music-player (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of deepin-ui:
deepin-ui depends on python-xlib; however:
Package python-xlib is not installed.
deepin-ui depends on python-webkit; however:
Package python-webkit is not installed.
deepin-ui depends on python-scipy; however:
Package python-scipy is not installed.

dpkg: error processing package deepin-ui (--install):
dependency problems - leaving unconfigured
Setting up python-deepin-gsettings (0.1+git20131206094009~a64de3ac19) ...
dpkg: dependency problems prevent configuration of python-deepin-utils:
python-deepin-utils depends on python-webkit; however:
Package python-webkit is not installed.
python-deepin-utils depends on python-xlib; however:
Package python-xlib is not installed.

dpkg: error processing package python-deepin-utils (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
deepin-music-player
deepin-ui
python-deepin-utils





這時候「apt-get install -f」就派上場了,可以將相依的套件安裝補足,完成上面的安裝。


$ sudo apt-get install -f




就會顯示下面的訊息


Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
g++ g++-4.8 libexpat1-dev libpython-dev libpython2.7-dev libstdc++-4.8-dev
python-cddb python-cssselect python-decorator python-dev python-gst0.10
python-keybinder python-mutagen python-numpy python-pyquery python-scipy
python-webkit python-webob python-xlib python2.7-dev
Suggested packages:
g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
libstdc++-4.8-doc python-gst0.10-dev python-gst0.10-dbg python-mutagen-doc
gfortran python-nose python-numpy-dbg python-numpy-doc python-webob-doc
The following NEW packages will be installed:
g++ g++-4.8 libexpat1-dev libpython-dev libpython2.7-dev libstdc++-4.8-dev
python-cddb python-cssselect python-decorator python-dev python-gst0.10
python-keybinder python-mutagen python-numpy python-pyquery python-scipy
python-webkit python-webob python-xlib python2.7-dev
0 upgraded, 20 newly installed, 0 to remove and 429 not upgraded.
3 not fully installed or removed.
Need to get 39.7 MB of archives.
After this operation, 103 MB of additional disk space will be used.
Do you want to continue? [Y/n]



按下「Enter」後,就會顯示下面的訊息


Get:1 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-webkit i386 1.1.8-3ubuntu2 [24.2 kB]
Get:2 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-xlib all 0.14+20091101-1ubuntu2 [163 kB]
Get:3 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-decorator all 3.4.0-2build1 [19.2 kB]
Get:4 http://tw.archive.ubuntu.com/ubuntu/ trusty-updates/main python-numpy i386 1:1.8.2-0ubuntu0.1 [1,586 kB]
Get:5 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-scipy i386 0.13.3-1build1 [7,278 kB]
Get:6 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-mutagen all 1.22-1ubuntu2 [76.6 kB]
Get:7 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-gst0.10 i386 0.10.22-3ubuntu2 [185 kB]
Get:8 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-webob all 1.3.1-1 [57.9 kB]
Get:9 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-cssselect all 0.9.1-1 [27.5 kB]
Get:10 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-pyquery all 1.2.4-1 [24.7 kB]
Get:11 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-cddb i386 1.4-5.1ubuntu2 [14.4 kB]
Get:12 http://tw.archive.ubuntu.com/ubuntu/ trusty/universe python-keybinder i386 0.3.0-2 [7,462 B]
Get:13 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libexpat1-dev i386 2.1.0-4ubuntu1 [112 kB]
Get:14 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libpython2.7-dev i386 2.7.6-8 [21.8 MB]
Get:15 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev i386 4.8.2-19ubuntu1 [1,058 kB]
Get:16 http://tw.archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 i386 4.8.2-19ubuntu1 [7,023 kB]
Get:17 http://tw.archive.ubuntu.com/ubuntu/ trusty/main g++ i386 4:4.8.2-1ubuntu6 [1,500 B]
Get:18 http://tw.archive.ubuntu.com/ubuntu/ trusty/main libpython-dev i386 2.7.5-5ubuntu3 [7,090 B]
Get:19 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python2.7-dev i386 2.7.6-8 [269 kB]
Get:20 http://tw.archive.ubuntu.com/ubuntu/ trusty/main python-dev i386 2.7.5-5ubuntu3 [1,176 B]
Fetched 39.7 MB in 52s (756 kB/s)
Selecting previously unselected package python-webkit.
(Reading database ... 153781 files and directories currently installed.)
Preparing to unpack .../python-webkit_1.1.8-3ubuntu2_i386.deb ...
Unpacking python-webkit (1.1.8-3ubuntu2) ...
Selecting previously unselected package python-xlib.
Preparing to unpack .../python-xlib_0.14+20091101-1ubuntu2_all.deb ...
Unpacking python-xlib (0.14+20091101-1ubuntu2) ...
Selecting previously unselected package python-decorator.
Preparing to unpack .../python-decorator_3.4.0-2build1_all.deb ...
Unpacking python-decorator (3.4.0-2build1) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../python-numpy_1%3a1.8.2-0ubuntu0.1_i386.deb ...
Unpacking python-numpy (1:1.8.2-0ubuntu0.1) ...
Selecting previously unselected package python-scipy.
Preparing to unpack .../python-scipy_0.13.3-1build1_i386.deb ...
Unpacking python-scipy (0.13.3-1build1) ...
Selecting previously unselected package python-mutagen.
Preparing to unpack .../python-mutagen_1.22-1ubuntu2_all.deb ...
Unpacking python-mutagen (1.22-1ubuntu2) ...
Selecting previously unselected package python-gst0.10.
Preparing to unpack .../python-gst0.10_0.10.22-3ubuntu2_i386.deb ...
Unpacking python-gst0.10 (0.10.22-3ubuntu2) ...
Selecting previously unselected package python-webob.
Preparing to unpack .../python-webob_1.3.1-1_all.deb ...
Unpacking python-webob (1.3.1-1) ...
Selecting previously unselected package python-cssselect.
Preparing to unpack .../python-cssselect_0.9.1-1_all.deb ...
Unpacking python-cssselect (0.9.1-1) ...
Selecting previously unselected package python-pyquery.
Preparing to unpack .../python-pyquery_1.2.4-1_all.deb ...
Unpacking python-pyquery (1.2.4-1) ...
Selecting previously unselected package python-cddb.
Preparing to unpack .../python-cddb_1.4-5.1ubuntu2_i386.deb ...
Unpacking python-cddb (1.4-5.1ubuntu2) ...
Selecting previously unselected package python-keybinder.
Preparing to unpack .../python-keybinder_0.3.0-2_i386.deb ...
Unpacking python-keybinder (0.3.0-2) ...
Selecting previously unselected package libexpat1-dev:i386.
Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1_i386.deb ...
Unpacking libexpat1-dev:i386 (2.1.0-4ubuntu1) ...
Selecting previously unselected package libpython2.7-dev:i386.
Preparing to unpack .../libpython2.7-dev_2.7.6-8_i386.deb ...
Unpacking libpython2.7-dev:i386 (2.7.6-8) ...
Selecting previously unselected package libstdc++-4.8-dev:i386.
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_i386.deb ...
Unpacking libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.2-19ubuntu1_i386.deb ...
Unpacking g++-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_i386.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libpython-dev:i386.
Preparing to unpack .../libpython-dev_2.7.5-5ubuntu3_i386.deb ...
Unpacking libpython-dev:i386 (2.7.5-5ubuntu3) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.6-8_i386.deb ...
Unpacking python2.7-dev (2.7.6-8) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.5-5ubuntu3_i386.deb ...
Unpacking python-dev (2.7.5-5ubuntu3) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Setting up python-webkit (1.1.8-3ubuntu2) ...
Setting up python-xlib (0.14+20091101-1ubuntu2) ...
Setting up python-deepin-utils (0.0.2+20140703165416~8aaf2a6f00) ...
Setting up python-decorator (3.4.0-2build1) ...
Setting up python-numpy (1:1.8.2-0ubuntu0.1) ...
Setting up python-scipy (0.13.3-1build1) ...
Setting up deepin-ui (1.1+20141229194712~5a86faec50) ...
Setting up python-mutagen (1.22-1ubuntu2) ...
Setting up python-gst0.10 (0.10.22-3ubuntu2) ...
Setting up python-webob (1.3.1-1) ...
Setting up python-cssselect (0.9.1-1) ...
Setting up python-pyquery (1.2.4-1) ...
Setting up python-cddb (1.4-5.1ubuntu2) ...
Setting up python-keybinder (0.3.0-2) ...
Setting up deepin-music-player (1.1+20150204093722~081154cf7b) ...
Setting up libexpat1-dev:i386 (2.1.0-4ubuntu1) ...
Setting up libpython2.7-dev:i386 (2.7.6-8) ...
Setting up libstdc++-4.8-dev:i386 (4.8.2-19ubuntu1) ...
Setting up g++-4.8 (4.8.2-19ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up libpython-dev:i386 (2.7.5-5ubuntu3) ...
Setting up python2.7-dev (2.7.6-8) ...
Setting up python-dev (2.7.5-5ubuntu3) ...




上面的步驟完成後,這時候就可以執行「deepin-music-player」,是可以啟動應用程式的


$ deepin-music-player



但因為無法播放,所以要額外安裝「gstreamer0.10-plugins-ugly」這個套件


$ sudo apt-get install gstreamer0.10-plugins-ugly



以上直接下載套件安裝步驟,報告完畢



另外有寫了一篇「如何安裝套件」的文章,額外參考摟。

2015/5/3 4:15
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.