I am getting a backup error with duplicity. I have rerun mailinabox and it does not fix it. It is a fresh install and backup never worked.
I get the error:
[Errno 2] No such file or directory: ‘/usr/bin/duplicity’
With any backup I try, local and backblaze B2. I can’t backup becuase of this. I tried running the script directly cd maininabox managment/backup.py and get the same error.
How do I fix this? Reruning sudo mailinabox does not work.
Looks like yesterday’s release on the duplicity gitlab PPA is missing the binary. I started another thread just a couple of minutes behind you. I’ve opened an issue on the duplicity gitlab page.
In another thread@asm0dey mentioned where apt kept cache of the installed packages.
Here’s how rolled back to previous version.
cd /var/cache/apt/archives
ls -1 duplicity*
duplicity_2.1.5-ppa202312281721~ubuntu22.04.1_amd64.deb
duplicity_2.2.0-ppa202401271616~ubuntu22.04.1_amd64.deb
sudo apt remove duplicity
sudo apt-get install $PWD/duplicity_2.1.5-ppa202312281721~ubuntu22.04.1_amd64.deb
sudo apt-mark hold duplicity
IMHO more stable version of duplicity would be better option than Personal Package Archives, but quick look at Duplicity website suggests that the one of the “stable” methods might be more stable, than the PPA.
I think I’ll keep the duplicity package on hold for a while.