OpenSSL in Python3.3 on 13.04 broken

Crispin Wellington crispinw at signiq.com
Tue Mar 11 03:57:18 UTC 2014


Hi there,

Had a problem arise on an Ubuntu 13.04 box this morning running
apt-add-repository:

-------------------
# apt-add-repository ppa:zfs-native/stable
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 98,
in get_ppa_info_from_lp
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.3/urllib/request.py", line 142, in urlopen
    raise ValueError('SSL support not available')
ValueError: SSL support not available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 54,
in body_callback
    self.contents = self.contents + buf
TypeError: Can't convert 'bytes' object to str implicitly
Cannot access PPA (https://launchpad.net/api/1.0/~zfs-native/+archive/stable)
to get PPA information, please check your internet connection.
------------------

Digging into the problem it seems that Python 3.3 packages are built
against OpenSSL 1.0.1 but only 1.0.0 is available,

---------------
# python3.3
Python 3.3.1 (default, Sep 25 2013, 19:29:01)
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.3/ssl.py", line 60, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: /usr/lib/python3.3/lib-dynload/_
ssl.cpython-33m-x86_64-linux-gnu.so: symbol SSL_get0_next_proto_negotiated,
version OPENSSL_1.0.1 not defined in file libssl.so.1.0.0 with link time
reference
---------------

Broken python3.3/OpenSSL packages? Anyone have a fix for this?

Kind Regards

Crispin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140311/ec998ea1/attachment.html>


More information about the ubuntu-users mailing list