In that bug, I've attached a Python script that reproduces the problem. So this is not unique to duplicity or deja-dup.
However, we might reasonably work around it in duplicity by remounting or similar when such an error occurs. Maybe in _retry_cleanup as Andrew suggests.
I moved the above bug to GVFS: https:/ /gitlab. gnome.org/ GNOME/gvfs/ issues/ 360
In that bug, I've attached a Python script that reproduces the problem. So this is not unique to duplicity or deja-dup.
However, we might reasonably work around it in duplicity by remounting or similar when such an error occurs. Maybe in _retry_cleanup as Andrew suggests.