As I’ve posted in these threads over the years, snap is one of the primary recommended methods for installing duplicity on the project site. I switched to snap years ago and my problems with duplicity vanished.
I understand that people really hate snap, but this just works.
$ sudo apt remove duplicity
$ sudo rm -rf /etc/apt/sources.list.d/duplicity-team-ubuntu-duplicity-release-git-jammy.list
$ sudo apt update
$ sudo snap install duplicity --classic
$ sudo ln -s /snap/bin/duplicity /usr/bin/duplicity
$ duplicity --version
duplicity 3.0.7 December 31, 2025
An update of MiaB will likely reinstall duplicity on top of the snap symlink. So you’ll also want to block duplicity from being installed via apt. Do this by creating an apt preference file:
$ sudo echo -e "# Duplicity is installed via snap\nPackage: duplicity\nPin: release *\nPin-Priority: -1" > /etc/apt/preferences.d/duplicity