Unpacking duplicati (2.1.0.3) over (2.1.0.2) …
dpkg: error processing archive duplicati-2.1.0.3_beta_2025-01-22-linux-x64-gui.deb (–install):
trying to overwrite ‘/usr/lib/duplicati/BouncyCastle.Cryptography.dll’, which is also in package duplicati-agent (2.1.0.101)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
duplicati-2.1.0.3_beta_2025-01-22-linux-x64-gui.deb
It looks like you also have Duplicati agent installed? The two packages cannot currently be installed at the same time because they both install into /usr/lib/duplicati.
I have not considered a case where it makes sense to have both the agent and another version installed at the same time. Do you have a case where it is beneficial to have both editions?
Thank you for the quick reply. I think I must have installed agent when Duplicati started needing a password to interact with it.
I just issued this command and received this message:
~$ sudo duplicati-agent clear
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly ‘Duplicati.Library.Crashlog, Version=2.1.0.101, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
File name: ‘Duplicati.Library.Crashlog, Version=2.1.0.101, Culture=neutral, PublicKeyToken=null’
at Duplicati.Agent.Net8.Program.Main(String args)
at Duplicati.Agent.Net8.Program.(String args)
Aborted
So, i must not have registered it
I saw in https://docs.duplicati.com/duplicati-programs/agent how to uninstall agent in windows. It was unclear how to remove it in Linux, but I issued the command sudo dpkg -r duplicati-agent, and was successful in removing agent and in allowing me to upgrade to the lastest beta
Yes, that is exactly the way, just remove the previous .deb installed.
This indicates somehow that the file Duplicati.Library.Crashlog.dll is missing from the system. It may be a case of mixed versions being installed. But if you have it fixed, there is no need to dig deeper I think.