Closed ghost closed 7 years ago
Version that works: deluged: 1.3.10 libtorrent: 0.16.18.0
Tried upgrading multiple times, even totally uninstalling. No effect.
If I run apt-get upgrade (or use Xbian's own upgrade): Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files bind9-host debconf debconf-i18n debian-archive-keyring deluge-common deluge-console deluge-web deluged exim4-base exim4-config exim4-daemon-light irssi libasn1-8-heimdal libbind9-90 libc-bin libc-dev-bin libc6 libc6-dbg libc6-dev libdns100 libexpat1 libffi6 libgcrypt20 libgnutls-deb0-28 libgnutls-openssl27 libgraphite2-3 libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal libhx509-5-heimdal libisc95 libisccc90 libisccfg90 libkrb5-26-heimdal libldap-2.4-2 liblwres90 libpam-modules libpam-modules-bin libpam0g libperl5.20 libroken18-heimdal librtmp1 libsmbclient libtasn1-6 libtiff5 libtirpc1 libwbclient0 libwind0-heimdal libzzip-0-13 locales login multiarch-support passwd perl perl-base perl-modules python-cryptography python-samba rpcbind samba samba-common samba-common-bin samba-dsdb-modules samba-libs sudo 66 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 39.6 MB of archives. After this operation, 441 kB disk space will be freed.
I suspect it's python-cryptography. Either way, if I do the upgrade, see above for crash (not instantaneous) but it will always crash & burn.
@delugeduser What kind of hardware do you have? I suppose Cubox-i/Humminboard (i.MX6)
Yes, Cubox i4
There is a pin setting in file /etc/apt/preferences.d/xbian
(Please don't ask why its there for Cubox/Hummingboard only)
Please modify this file to something like this
....
Package: xopenssl xlibssl1.0.0 irqbalance-imx
Pin: release o=XBian
Pin-Priority: 1001
( add x
to openssl and libssl1.0.0 )
and run sudo apt-get update; sudo apt-get upgrade
again
Performed an apt-get update; apt-get upgrade as you instructed after the edit. Allowed it to upgrade all the packages.
After this successfully completed:
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Worked like a charm. Very obscure. Thank you very much for solving this conundrum.
As a postscript, I need to add that xbian-package-repo resets the /etc/apt/preferences.d/xbian file, so the edit is required again.
As a postscript, I need to add that xbian-package-repo resets the /etc/apt/preferences.d/xbian file, so the edit is required again.
That's right, you have to use your own file to overwrite settings in xbian , in forum are some samples how to do that
For example :
cat /etc/apt/preferences.d/zz-user
Package: openssl libssl1.0.0
Pin: release o=XBian
Pin-Priority: -1
Package: openssl libssl1.0.0
Pin: release o=Debian
Pin-Priority: 1001
Has basically been unusable for 3 or 4 months. Crashes with log:
[INFO ] 14:15:00 configmanager:70 Setting config directory to: /var/lib/deluged/config [ERROR ] 14:15:04 main:237 importing '/usr/lib/python2.7/dist-packages/cryptography/_Cryptography_cffi_813c10e0x7adb75f8.arm-linux-gnueabihf.so': /usr/lib/python2.7/dist-packages/cryptography/_Cryptography_cffi_813c10e0x7adb75f8.arm-linux-gnueabihf.so: symbol SSLv2_client_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 229, in start_daemon from deluge.core.daemon import Daemon File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 39, in
from twisted.internet import reactor
File "/usr/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 38, in
from twisted.internet import default
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 56, in
install = _getInstallFunction(platform)
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 44, in _getInstallFunction
from twisted.internet.epollreactor import install
File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 24, in
from twisted.internet import posixbase
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 24, in
from twisted.internet import error, udp, tcp
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 29, in
from twisted.internet._newtls import (
File "/usr/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21, in
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
File "/usr/lib/python2.7/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in
from OpenSSL._util import (
File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 4, in
binding = Binding()
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in init
self._ensure_ffi_initialized()
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 113, in _ensure_ffi_initialized
libraries=libraries,
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 80, in build_ffi
extra_link_args=extra_link_args,
File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 340, in verify
lib = self.verifier.load_library()
File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 75, in load_library
return self._load_library()
File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 151, in _load_library
return self._vengine.load_library()
File "/usr/lib/python2.7/dist-packages/cffi/vengine_cpy.py", line 149, in load_library
raise ffiplatform.VerificationError(error)
VerificationError: importing '/usr/lib/python2.7/dist-packages/cryptography/_Cryptography_cffi_813c10e0x7adb75f8.arm-linux-gnueabihf.so': /usr/lib/python2.7/dist-packages/cryptography/_Cryptography_cffi_813c10e0x7adb75f8.arm-linux-gnueabihf.so: symbol SSLv2_client_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference