It seems that the "<urlopen error [Errno -2] Name or service not known>" is given when the Internet connection is down. In my opinion the message is very unclear. In addition, I feel it would be better for add-apt-repository to not add the repository in the event that the corresponding key cannot be retrieved.
-- 'urlopen error' using add-apt-repository https://bugs.launchpad.net/bugs/502698 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs