Linux PPA issues

Trying to add KiCad PPA and I’m getting this output:

linux:~$ sudo add-apt-repository ppa:kicad/kicad-7.0-releases
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 364, in <module>
    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/lazr/restfulclient/resource.py", line 592, in __call__
    response, content = self.root._browser._request(
  File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 429, in _request
    raise error
lazr.restfulclient.errors.ServerError: HTTP Error 503: Service Unavailable
Response headers:
---
-content-encoding: gzip
connection: close
content-length: 2155
content-type: text/html
date: Mon, 05 Feb 2024 18:19:08 GMT
server: Apache/2.4.41 (Ubuntu)
status: 503
vary: Accept-Encoding
---

Response body:
---
b'<!DOCTYPE html>\n<html\n  xmlns="http://www.w3.org/1999/xhtml"\n  xml:lang="en"\n  lang="en"\n>\n<head>\n  <title>Launchpad is temporarily unavailable</title>\n  <link\n    type="text/css" rel="stylesheet" media="screen, print"\n    href="https://launchpad.net/+icing/basic-error.css" />\n</head>\n<body>\n  <div class="page-center-wrap">\n    <div class="page-center">\n      <div class="page-center-content">\n        <div id="header">\n          <div class="graphic">\n            :(\n          </div>\n          <div class="content">\n            <!-- Before editing, please see\n                https://bugs.launchpad.net/bugs/475371, especially comment #2,\n                for details on this file. In particular, please maintain the\n                \\r\\n line endings, at least for the HTTP header lines. -->\n            <h1>Uh oh!</h1>\n            <h2>Something has gone wrong. We\'re sorry!</h2>\n            <p>\n              If we are in the middle of an update, Launchpad will be\n              back in a couple of minutes.  Otherwise, we are working to\n              fix the unexpected problems. Check\n              <a href="https://twitter.com/launchpadstatus">@launchpadstatus</a>\n              on Twitter or\n              <a href="https://ubuntu.social/@launchpadstatus">@launchpadstatus@ubuntu.social</a>\n              on Mastodon for updates.\n            </p>\n            <p>\n              If the problem persists, let us know in\n              <a href="irc://irc.libera.chat/#launchpad"\n              >the #launchpad IRC channel on libera.chat</a>.\n            </p>\n            <p class="sub">\n              Technically, the load balancer took too long to connect to\n              an application server.\n            </p>\n            <p><a href="javascript:window.location.reload()">Reload</a>\n              this page or try again in a few minutes</p>\n          </div>\n        </div>\n        <div id="footer">\n          <a href="https://launchpad.net/">\n            <img src="https://launchpad.net/@@/launchpad-logo-and-name.png"\n            width="100"\n            alt="Launchpad" />\n          </a>\n        </div>\n      </div>\n    </div>\n  </div>\n</body>\n</html>\n'
---

Anyone have any ideas what’s going on?

Jacob

It looks like launchpad has a major outage (Ubuntu’s platform for this) so that is why you get that error.

1 Like

Thanks, must be resolved because it’s working now.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.