[Bug 926548] Re: add-apt-repository fails with gnutls_handshake error

Brian Zirkle 926548 at bugs.launchpad.net
Fri Feb 10 16:47:40 UTC 2012


I've had the same issue for about a week and was just today getting an
opportunity to look for a fix.

sudo add-apt-repository ppa:freefilesync/ffs
[sudo] password for bzirkle:
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.')

In the interest of narrowing down a timeframe for this feature
"breaking", I first saw this 02 Feb - don't recall the last time I added
a ppa source before that, but it couldn't have been longer than a month
or so ago.  I get the same error no matter what ppa I try to add.

64bit Ubuntu 11.10 running on Acer Aspire 5732Z for what it's worth.  If
I can give up any other information that would be helpful, I'm willing -
give me shout.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/926548

Title:
  add-apt-repository fails with gnutls_handshake error

Status in “software-properties” package in Ubuntu:
  Confirmed

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/software-properties/+bug/926548/+subscriptions




More information about the foundations-bugs mailing list