неправильный класс ELF для Python 2.7 (32-разрядная версия Ubuntu 14.04)

Я установил 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: error: not read the archive» {} ": такого файла или каталога нет.


очевидно, что-то я не понимаю. Я переместил каталог .python-eggs, как вы сказали. Переустановил acestream. 32-битные библиотеки находятся в каталог acestream / usr / share / acestream / lib /, такая же ошибка при попытке запустить acestreamengine ..

1
задан 11 May 2015 в 17:01

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*
<час>

В пакетах DEB acestream*:i386 для Надежного человека являются 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
0
ответ дан 12 May 2015 в 03:01
  • 1
    Извлеченный из Kemin' s отвечают ниже: можно использовать, например, systemctl edit postgresql@9.6-main для создания файла переопределения с systemd директивами, такими как: [Сервис] Nice=15 IOSchedulingClass=2 IOSchedulingPriority=7 – GreenReaper 8 October 2018 в 15:36

Другие вопросы по тегам:

Похожие вопросы: