Error installing duplicati in Linux Mint

Hi,

I tried to install Duplicati on Linux Mint 22.2 but am hitting a wall.
I inadvertently installed Duplicati Agent instead of Duplicati GUI but don’t see any Agent icon to uninstall. So with help of internet I deleted all Duplicati folders and files I could find and tried to install Duplicati GUI after that.
Unfortunately it ends in the same error no matter what I try.
The error is:

dpkg: error processing archive /home/jan/Downloads/duplicati-2.2.0.0_stable_2025-10-23-linux-x64-gui.deb (–install):
trying to overwrite ‘/usr/lib/duplicati/AWSSDK.Core.dll’, which is also in package duplicati-agent 2.2.0.0
dpkg-deb (subprocess): decompressing archive ‘/home/jan/Downloads/duplicati-2.2.0.0_stable_2025-10-23-linux-x64-gui.deb’ (size=81633518) member ‘data.tar’: internal gzip write error: Broken pipe
dpkg-deb: error: subprocess returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from ‘/home/jan/Downloads/duplicati-2.2.0.0_stable_2025-10-23-linux-x64-gui.deb’ to decompressor pipe: failed to write (Broken pipe)

I have searched for folder ‘/usr/lib/duplicati’ but it is not there, also a search for file ‘AWSSDK.Core.dll’ give zero results.
How can I solve this issue and install Dulpicati GUI without errors?

Okay, I found it.
I uninstalled the agent package via sudo commands and was able to install GUI successfully.
Quite an adventure for a relatively new Linux user, but you learn every day. :wink: