Mail-in-a-Box Version: v68 - Not Installing because of repositery error

Public IP Address: 129.154.224.128
Mail-in-a-Box Version: v68

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/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 472, in init
self._wadl = self._browser.get_wadl_application(self._root_uri)
File “/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py”, line 447, in get_wadl_application
response, content = self._request(url, media_type=wadl_type)
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 1363, in _conn_request
conn.connect()
File “/usr/lib/python3/dist-packages/httplib2/init.py”, line 1153, in connect
sock.connect((self.host, self.port))
TimeoutError: [Errno 110] Connection timed out

I have a few questions for clarification.
Who is your provider?
What type of architecture are you installing on?
Is this a greenfield install, or an upgrade?

It is a greenfield installation on the FRESH server.

  • Machine ID: 89dc2ab9ae0f417cb4ca45b7dbd7bbff
  • Boot ID: 455821d4b89f48d8b8e128c8cd42ae61
  • Operating System: Ubuntu 22.04.4 LTS
  • Kernel: Linux 6.5.0-1025-oracle
  • Architecture: x86-64
  • Hardware Vendor: QEMU
  • Hardware Model: Standard PC _i440FX + PIIX, 1996

Okay. I asked because there are known issues with duplicity on Arm64 architecture where the solution is to use an Ubuntu snap instead of the package. Obviously not the issue here, but I see you’re running the Oracle Linux kernel, so something about your setup seems to be non-standard.

Maybe you could try running the command by hand (with sudo) to see if you can get better error output.

It is the same. And Oracle Cloud services has always Oracle Linux Karnel.
My all other applications always runs smoothly

I seem to remember others having problems with Oracle as a provider, but I’m having a hard time finding that post right now. Do you have an option to use a custom image with Oracle and then point it to the official Ubuntu
22.04 LTS ? Seem to remember this being the fix, but maybe it wasn’t with your provider.

Sorry! I use only Oracle Cloud

Install duplicity via snap. This hack was originally meant for arm64 as it is not supported via ppa but it should work on x86-64.

Read here: Using MIAB On ARM - #2 by vele

This is more detailed: [SOLVED] The latest release of duplicity is missing the duplicity binary - #25 by mokiejovis

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