Trouble install fenics on ubuntu

Hello dear all…

I would like to install old fenics version 2019.1.0, on ubuntu. I am running 22.04.3 lts. I have tried following commands

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
sudo apt-get install fenics

but when I am trying to execute ‘sudo add-apt-repository ppa:fenics-packages/fenics’ I get very long error message in console…

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 15:38:16 GMT
server: Apache/2.4.41 (Ubuntu)
status: 503
transfer-encoding: chunked
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'

after this i try updating system with

sudo apt-get update
sudo apt-get upgrade

but after this I try again and same error… can anyone helping me?

The error message has the following text

Launchpad is temporarily unavailable

Hopefully it is just a temporary problem, try again in a few hours.

1 Like