I have the same problem too. It seems that using apt-add-repository with -y option could avoid the error. Thus I guess it's related to keyboard input disturbing pycurl.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/926548 Title: add-apt-repository fails with gnutls_handshake error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/926548/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs