SliTaz SliTaz Forum

You are not logged in.

#1 2019-03-19 07:20:08

Xavier
Member
Registered: 2019-03-17
Posts: 5

OpenSSL fail starting Deluge package

Good morning,

I have been using Slitaz 3.0 for 8 years on my home server. I'm very happy with version 3.0, but I think it's time to update the system. I can not understand why since 2014 (stable version 4.0) it has not been possible to fix a stable version 5.0.

The problem is that, I am updating to the rolling version, when I want to start Delugue I get the following error, see atached image.

The error seems to be from the OpenSSL package. I have not found any package in the distribution that contains the 'packages' 'cryptography'.

Can a moderator confirm that OppenSSL is broken?

Thank you,

[attachment=47356,2795]

Offline

#2 2019-03-20 06:13:58

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: OpenSSL fail starting Deluge package

Pyopenssl depends on a python module called cryptography and it's depends that has to be installed using pip.

Name: cryptography

Version: 2.6.1

Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Home-page: https://github.com/pyca/cryptography

Author: The cryptography developers

Author-email: cryptography-dev@python.org

License: BSD or Apache License, Version 2.0

Location: /usr/lib/python2.7/site-packages

Requires: enum34, cffi, six, asn1crypto, ipaddress

Required-by: pyOpenSSL

To install pip download in web browser https://bootstrap.pypa.io/get-pip.py

Type commands in bold text and hit enter:

root@slitaz:/home/tux# python get-pip.py

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Collecting pip

  Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)

    100% |████████████████████████████████| 1.4MB 2.8MB/s

Collecting wheel

  Downloading https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl

Installing collected packages: pip, wheel

Successfully installed pip-19.0.3 wheel-0.33.1

root@slitaz:/home/tux# pip install cryptography

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Collecting cryptography

  Downloading https://files.pythonhosted.org/packages/9b/29/8d15d37fe6df320622a763f7b87ecbf565de2a0c0fbf2b747856c42a92e0/cryptography-2.6.1-cp27-cp27m-manylinux1_i686.whl (2.1MB)

    100% |████████████████████████████████| 2.1MB 2.2MB/s

Collecting enum34; python_version < "3" (from cryptography)

  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl

Collecting cffi!=1.11.3,>=1.8 (from cryptography)

  Downloading https://files.pythonhosted.org/packages/26/54/ef379168124aa4e111f96ffc7dd5a67b0968afdf175c3222612a0f75203b/cffi-1.12.2-cp27-cp27m-manylinux1_i686.whl (391kB)

    100% |████████████████████████████████| 399kB 4.2MB/s

Requirement already satisfied: six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography) (1.10.0)

Collecting asn1crypto>=0.21.0 (from cryptography)

  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)

    100% |████████████████████████████████| 102kB 5.2MB/s

Collecting ipaddress; python_version < "3" (from cryptography)

  Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl

Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography)

  Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)

    100% |████████████████████████████████| 163kB 4.0MB/s

Building wheels for collected packages: pycparser

  Building wheel for pycparser (setup.py) ... done

  Stored in directory: /root/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511

Successfully built pycparser

Installing collected packages: enum34, pycparser, cffi, asn1crypto, ipaddress, cryptography

Successfully installed asn1crypto-0.24.0 cffi-1.12.2 cryptography-2.6.1 enum34-1.1.6 ipaddress-1.0.22 pycparser-2.19

Type deluge in terminal as a regular user,hit enter,it should start.

Offline

#3 2019-03-20 08:18:52

Xavier
Member
Registered: 2019-03-17
Posts: 5

Re: OpenSSL fail starting Deluge package

Hi mojo,

It worked for me, thanks a lot. It would be a good idea to make a package named 'python-cryptography' that install this obtained packages "enum34, pycparser, cffi, asn1crypto, ipaddress, cryptography".

Thanks again.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]