Mail-in-a-Box Installation error

Hi, today 08th Nov. 25, I tried to install Mail-in-a-Box on fresh ubuntu 22.04 server using the installation command from the home page. But installation stuck showing error,
Failed: add-apt-repository -y ppa:duplicity-team/duplicity-release-git
There are traceback for the error and the final one shows like below.

File “/usr/lib/python3/dist-packages/httplib2/_ init _.py”, line 1153, in connect sock.connect((self.host, self.port))
TimeoutError: [error 110] connection timed out

This error even comes if run sudo mailinabox command from the terminal

Is this error just for me or is it something globally??
is there a soultion for me to run the installation from the begining or from the command??

Thank you in advance

Check if dns is functioning sudo systemctl status named

Yes, it’s status is active running. There is no internet connectivity issue.Just to check i have tried downloading iredmail using below link.

wget https://github.com/iredmail/iRedMail/archive/refs/tags/1.6.3.tar.gz

that also worked.

Maybe it’s bad luck with the specific server. Does
add-apt-repository -y ppa:duplicity-team/duplicity-release-git work?

Could be something to do with duplicity breaking MIAB

You could try downloading and installing a working duplicity, before the MIAB install. I’d try:

wget https://launchpad.net/~duplicity-team/+archive/ubuntu/duplicity-release-git/+build/30958892/+files/duplicity_3.0.5.1-ppa202506251611~ubuntu22.04.1_amd64.deb
apt install ./duplicity_3.0.5.1-ppa202506251611~ubuntu22.04.1_amd64.deb
apt-get hold duplicity

keep an eye on https://discourse.mailinabox.email/t/duplicity-oops-they-did-it-again/16051 … something will appear when a working duplicity update is available.