我安装了 Acestream 但发现 acestreamengine 无法运行。
尝试启动 acestreamengine,我得到以下输出:
2015-05-10 12:19:52,008|MainThread|acestream|error during startup
Traceback (most recent call last):
File "core.c", line 1107, in
File "core.c", line 48, in
File "core.c", line 25, in
File "/usr/share/acestream/lib/psutil-1.2.1-py2.7-linux-x86_64.egg/psutil/__init__.py", line 88, in <module>
File "/usr/share/acestream/lib/psutil-1.2.1-py2.7-linux-x86_64.egg/psutil/_pslinux.py", line 20, in <module>
File "/usr/share/acestream/lib/psutil-1.2.1-py2.7-linux-x86_64.egg/_psutil_linux.py", line 7, in <module>
File "/usr/share/acestream/lib/psutil-1.2.1-py2.7-linux-x86_64.egg/_psutil_linux.py", line 6, in __bootstrap__
ImportError: /home/marius/.python-eggs/psutil-1.2.1-py2.7-linux-x86_64.egg-tmp/_psutil_linux.so: wrong ELF class: ELFCLASS64
root@Mariubuntu:/# find -type f -name "ace*.deb"
./var/cache/apt/archives/acestream-engine_3.0.3-1trusty1_i386.deb
./var/cache/apt/archives/acestream-full_3.0.2-1trusty1_i386.deb
./var/cache/apt/archives/acestream-player_3.0.2-1trusty1_i386.deb
./var/cache/apt/archives/acestream-player-data_3.0.2-1trusty2_i386.deb
./var/cache/apt/archives/acestream-mozilla-plugin_3.0.2-1trusty1_i386.deb
root@Mariubuntu:/# find -type f -name "ace*.deb" -print0 | xargs -0 -I {} dpkg -x {} acestream
dpkg-deb: feil: klarte ikke lese arkivet «{}»: Ingen slik fil eller filkatalog
dpkg-deb: feil: klarte ikke lese arkivet «{}»: Ingen slik fil eller filkatalog
dpkg-deb: feil: klarte ikke lese arkivet «{}»: Ingen slik fil eller filkatalog
dpkg-deb: feil: klarte ikke lese arkivet «{}»: Ingen slik fil eller filkatalog
dpkg-deb: feil: klarte ikke lese arkivet «{}»: Ingen slik fil eller filkatalog
抱歉,它是挪威语,但上面显示“dpkg-deb:错误:无法读取档案“{}”:没有这样的文件或目录。
显然有些事情我不明白。我按照你说的移动了 .python-eggs 目录。重新安装了 acestream。32 位库位于 acestream/usr/share/acestream/lib/ 目录中,尝试运行 acestreamengine 时仍然出现同样的错误。
答案1
移动文件/home/marius/.python-eggs/
夹
mv /home/marius/.python-eggs /home/marius/.python-eggs.bak
并从该存储库再次安装 acestream:
sudo apt-add-repository "deb http://repo.acestream.org/ubuntu/ trusty main"
sudo wget -O - http://repo.acestream.org/keys/acestream.public.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install --reinstall acestream*
Trusty 的 acestream*:i386 的 DEB 包中是 32 位库(i686)。
我检查了:
我已经下载了所有 deb 包:
$ find -type f -name "ace*.deb"
./acestream-player-data_3.0.2-1trusty2_i386.deb
./acestream-player_3.0.2-1trusty1_i386.deb
./acestream-full_3.0.2-1trusty1_i386.deb
./acestream-player/usr/share/acestreamplayer/acestream-player-data_3.0.2-1trusty2_i386.deb
./acestream-engine_3.0.3-1trusty1_i386.deb
并提取:
find -type f -name "ace*.deb" -print0 | xargs -0 -I {} dpkg -x {} acestream
$ ls -go acestream/usr/share/acestream/lib/
insgesamt 1500
drwxr-xr-x 2 4096 Okt 31 2014 acestreamengine
-rw-r--r-- 1 96943 Okt 31 2014 bitarray-0.8.1-py2.7-linux-i686.egg
-rw-r--r-- 1 129811 Okt 31 2014 blist-1.3.4-py2.7-linux-i686.egg
-rw-r--r-- 1 32506 Okt 31 2014 GeoIP-1.3.2-py2.7-linux-i686.egg
-rw-r--r-- 1 29233 Okt 31 2014 miniupnpc-1.9-py2.7-linux-i686.egg
-rw-r--r-- 1 146129 Okt 31 2014 psutil-1.2.1-py2.7-linux-i686.egg
-rw-r--r-- 1 1086544 Okt 31 2014 pycompat27.so