$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
ufraw-batch
The following packages will be upgraded:
ufraw-batch
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/391 kB of archives.
After this operation, 110 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 341565 files and directories currently installed.)
Preparing to unpack .../ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb ...
Unpacking ufraw-batch (0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1) over (0.22-2dhor~xenial) ...
dpkg: error processing archive /var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/applications/ufraw.desktop', which is also in package ufraw 0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
then I tried it with 'remove' and got an error too:
$ sudo apt-get --fix-broken remove
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
ufraw-batch
The following packages will be upgraded:
ufraw-batch
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0 B/391 kB of archives.
After this operation, 110 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 341565 files and directories currently installed.)
Preparing to unpack .../ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb ...
Unpacking ufraw-batch (0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1) over (0.22-2dhor~xenial) ...
dpkg: error processing archive /var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/applications/ufraw.desktop', which is also in package ufraw 0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ufraw-batch_0.22+cvs20170121+r2272~rdeb7~0~crass~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)