vikiboy@BatCave:~$ Sudo apt-get install ros-Indigo-openni-launch
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-Indigo-openni-launch is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libopenni-sensor-primesense-dev : Depends: libopenni-sensor-primesense0 (= 5.1.0.41-3+trusty1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
On running Sudo apt-get -f install
vikiboy@BatCave:~$ Sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
at dctrl-tools devscripts distro-info-data dput libaudclient2 libaudcore1
libdistro-info-Perl libexporter-lite-Perl libio-stringy-Perl libmowgli2
libparse-debcontrol-Perl python3-magic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libopenni-sensor-primesense0
The following NEW packages will be installed:
libopenni-sensor-primesense0
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
3 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 ... 343931 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)
S'il vous plaît aider
Deux paquets veulent écrire dans /etc/openni/GlobalDefaults.ini
, le paquet libopenni-sensor-pointclouds0
et le paquet libopenni-sensor-primesense0
. Cela ne devrait pas arriver, et c'est une erreur dans les paquets. En tant que solution un peu furtive, j'essaierais de faire une sauvegarde de ce fichier, par exemple, comme ceci:
Sudo mv /etc/openni/GlobalDefaults.ini /etc/openni/GlobalDefaults.ini.back
puis, faites le Sudo apt-get -f install
. Avec un peu de chance, ça ira. Vous devriez alors faire un
diff /etc/openni/GlobalDefaults.ini /etc/openni/GlobalDefaults.ini.back
pour vérifier s’il existe des différences majeures dans la configuration dont vous devez vous occuper.