[Bug 926548] Re: add-apt-repository fails with gnutls_handshake error
Glenn Dixon
dixonge at gmail.com
Wed Oct 9 14:39:46 UTC 2013
MacPaul - your instructions seem to have resolved the issues for me,
with one change...
You stated:
"# remove the HAVE_CURL_GNUTLS=1 in the following file
sudo vim setup.py"
I found one section referring to GNUTLS and OPENSSL - they are if
statements defining macros.
I had to remove two lines referring to GNUTLS here. Until I did that I
got build errors.
--
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