I'm stuck in a loop,repair failed,purge failed,need help

So it’s a Docker, and probably not a Duplicati made one either. Probably from LinuxServer…
You can docker exec into it and look around. /usr/bin/duplicati might identify the install path.

EDIT 1:

For a non-Docker install, it traces like:

$ cat /usr/bin/duplicati
#!/bin/bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}

EXE_FILE=${INSTALLDIR}/Duplicati.GUI.TrayIcon.exe
APP_NAME=Duplicati

exec -a "$APP_NAME" mono "$EXE_FILE" "$@"

If that way doesn’t work, you can perhaps find it with the ps command. Duplicati is somewhere.

EDIT 2:

For a blind search, you can try under /usr for likely locations for them to have installed Duplicati.