Update 70 -> 71 script fails on duplicity - stock install

Hello, My upgrade fails on adding the PPA. I tried to add it manually but it fails that way as well. I have a stock install running on DO with no unsupported mods.

Does anyone have any ideas?

Randy

error below

Mail-in-a-Box Version: v71

FAILED: add-apt-repository -y ppa:duplicity-team/duplicity-release-git

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/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, 06 Jan 2025 02:56:37 GMT
server: Apache/2.4.41 (Ubuntu)
status: 503
vary: Accept-Encoding

Response body:

b’\n<html\n xmlns=“XHTML namespace”\n xml:lang=“en”\n lang=“en”\n>\n\n Launchpad is temporarily unavailable\n <link\n type=“text/css” rel=“stylesheet” media=“screen, print”\n href=“https://launchpad.net/+icing/basic-error.css” />\n\n\n
\n
\n
\n
\n
\n :(\n
\n
\n \n

Uh oh!

\n

Something has gone wrong. We're sorry!

\n

I have a similar error, both on attempting an upgrade, and when attempting to create a new box to replace the one that no longer is working:
FAILED: add-apt-repository -y ppa:duplicity-team/duplicity-release-git

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/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, 06 Jan 2025 03:21:41 GMT
server: Apache/2.4.41 (Ubuntu)
status: 503
vary: Accept-Encoding

Response body:

b’\n<html\n xmlns=“XHTML namespace”\n xml:lang="en "\n lang=“en”\n>\n\n Launchpad is temporarily unavailable \n <link\n type=“text/css” rel=“stylesheet” media=“screen, print”\n href= “https://launchpad.net/+icing/basic-error.css” />\n\n\n
\n
\n
\n
\n
\n :(\n
\n
\n \n

Uh oh!

\n

Something has gone wrong. We're sorry!

\n

\n If we are in the middle of an update, Launchpad will be\n back in a couple of minut es. Otherwise, we are working to\n fix the unexpected problems. Ch eck\n @launchpadstatu s\n on Twitter or\n @launchpadstatus@ubuntu.social\n on Mastodon for updates.\n

\n

\n If the problem p ersists, let us know in\n <a href="irc://irc.libera.chat/#launchpad "\n >the #launchpad IRC channel on libera.chat.\n </ p>\n

\n Technically, the load balancer to ok too long to connect to\n an application server.\n

\n

Reload\n this page or try again in a few minutes

\n
\n
\n
\n \ n <img src=“https://launchpad.net/@@/launchpad-logo-and-name.png”\n width=“100”\n alt=“Launchpad” />\n \n < /div>\n
\n
\n
\n\n\n’

Found a fix here

Run the following after the error:

sudo apt-get remove --purge duplicity
sudo snap install duplicity --classic --edge
sudo ln -s /snap/bin/duplicity /bin/duplicity
sudo mailinabox

That got my box running with v71.

worked!! Thank you!

Do you have v71 in status page?

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