Error during installation on Linux when previous version of BricsCAD is detected

Symptoms

Trying to install newer version of BricsCAD, when the old version is present, may fail if the new version come with changes (updates) under /var/bricsys.

Cause

By default, conflicting files cannot be overwritten without removing the old version of BricsCAD package.

Solution

On Ubuntu
First, check if conflicting files are under /var/bricsys/ directory.

Overwrite conflicting files with the following command:

sudo dpkg -i overwrite BricsCAD-*.deb
On Fedora/OpenSUSE
Check if conflicting files are under /var/bricsys/ directory.

Launch the command:

sudo rpm -ivh --replacefiles BricsCAD-*.rpm