I am unable to install anything at the moment because of dependency issue.
When I try to run apt-get -f install
, the following happens;
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libopenni-sensor-primesense0
The following NEW packages will be installed:
libopenni-sensor-primesense0
0 to upgrade, 1 to newly install, 0 to remove and 306 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/300 kB of archives.
After this operation, 1,354 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 228186 files and directories currently installed.)
Preparing to unpack .../libopenni-sensor-primesense0_5.1.0.41-3+trusty1_amd64.deb ...
Unpacking libopenni-sensor-primesense0 (5.1.0.41-3+trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/libopenni-sensor-primesense0_5.1.0.41-3+trusty1_amd64.deb (--unpack):
trying to overwrite '/etc/openni/GlobalDefaults.ini', which is also in package libopenni-sensor-pointclouds0 5.1.0.41.1-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libopenni-sensor-primesense0_5.1.0.41-3+trusty1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If need be I am willing to wipe the slate clean and start again but I hope it doesn't come to that. Would appreciate any advice here please
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libopenni-sensor-primesense0_5.1.0.41-3+trusty1_amd64.deb