Ubuntu-media-tree-kernel-builder icon indicating copy to clipboard operation
Ubuntu-media-tree-kernel-builder copied to clipboard

Unable to add PPA in Ubuntu 22.04.2

Open lazypc opened this issue 1 year ago • 1 comments

Attempting to add the PPA in Ubuntu produces the following output:

Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-75-generic x86_64)

lazypc@ubuntu-hppd:~$ sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge [sudo] password for lazypc: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1363, in _conn_request conn.connect() File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1139, in connect address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM) File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 364, in sys.exit(0 if addaptrepo.main() else 1) File "/usr/bin/add-apt-repository", line 347, in main shortcut = handler(source, **shortcut_params) File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler return handler(shortcut, **kwargs) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 82, in init if self.lpppa.publish_debug_symbols: File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in lpppa self._lpppa = self.lpteam.getPPAByName(name=self.ppaname) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 107, in lpteam self._lpteam = self.lp.people(self.teamname) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 98, in lp self._lp = login_func("%s.%s" % (self.module, self.class.name), File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 494, in login_anonymously return cls( File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 230, in init super(Launchpad, self).init( File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 477, in init self._browser.get(root_resource), 'application/json') File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 439, in get response, content = self._request(url, extra_headers=headers) File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 389, in _request response, content = self._request_and_retry( File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 359, in _request_and_retry response, content = self._connection.request( File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1725, in request (response, content) = self._request( File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 144, in _request response, content = super(LaunchpadOAuthAwareHttp, self)._request( File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 184, in _request return super(RestfulHttp, self)._request( File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1441, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1370, in _conn_request raise ServerNotFoundError("Unable to find the server at %s" % conn.host) httplib2.error.ServerNotFoundError: Unable to find the server at api.launchpad.test

lazypc avatar Jun 27 '23 13:06 lazypc

Have you tried removing the cache: https://askubuntu.com/a/1474362

charrus avatar Nov 03 '23 21:11 charrus