[Bug 926548] Re: add-apt-repository fails with gnutls_handshake error
gberche
guillaume_berche at yahoo.fr
Fri Jun 20 11:36:36 UTC 2014
Manual patch of /usr/lib/python2.7/dist-
packages/softwareproperties/ppa.py mentionned by Guy Kloss in comment
#24 worked for me on precise:
curl.setopt(pycurl.SSLVERSION, pycurl.SSLVERSION_SSLv3)
Thanks Guy!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pycurl in Ubuntu.
https://bugs.launchpad.net/bugs/926548
Title:
add-apt-repository fails with gnutls_handshake error
Status in “pycurl” package in Ubuntu:
Won't Fix
Status in “pycurl” package in Debian:
New
Bug description:
Updated an 11.04 installation to 11.10 and then went to install the
Cinnamon desktop environment using:
sudo add-apt-repository ppa:merlwiz79/cinnamon-ppa
The result was this:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 88, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
It does not appear to be linked to the particular repository, rather
it appears to be a bug in the add-apt-repository command or the pycurl
library. I found one reference to a similar issue here:
http://code.google.com/p/wfuzz/wiki/PyCurlSSLBug
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/926548/+subscriptions
More information about the foundations-bugs
mailing list