GNU/Linux >> Tutoriels Linux >  >> Ubuntu

Problème de dépendance après la mise à niveau vers Xenial ?

J'ai récemment mis à niveau vers xenial, j'obtiens l'erreur suivante. Comment puis-je résoudre les problèmes de dépendance lors de l'utilisation de dpkg ?

sudo dpkg --configure -a

Setting up libopenni0 (1.5.4.0-14) ...
mv: cannot stat '/var/lib/ni/licenses.xml.dpkg-old': No such file or directory
dpkg: error processing package libopenni0 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libpcl-io1.7:amd64:
 libpcl-io1.7:amd64 depends on libopenni0; however:
  Package libopenni0 is not configured yet.

dpkg: error processing package libpcl-io1.7:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpcl-visualization1.7:amd64:
 libpcl-visualization1.7:amd64 depends on libpcl-io1.7; however:
  Package libpcl-io1.7:amd64 is not configured yet.

dpkg: error processing package libpcl-visualization1.7:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpcl1.7:
 libpcl1.7 depends on libpcl-io1.7; however:
  Package libpcl-io1.7:amd64 is not configured yet.
 libpcl1.7 depends on libpcl-visualization1.7; however:
  Package libpcl-visualization1.7:amd64 is not configured yet.

dpkg: error processing package libpcl1.7 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libopenni-sensor-pointclouds0:
 libopenni-sensor-pointclouds0 depends on libopenni0; however:
  Package libopenni0 is not configured yet.

dpkg: error processing package libopenni-sensor-pointclouds0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-kinetic-pcl-conversions:
 ros-kinetic-pcl-conversions depends on libpcl1.7; however:
  Package libpcl1.7 is not configured yet.

dpkg: error processing package ros-kinetic-pcl-conversions (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-kinetic-pcl-ros:
 ros-kinetic-pcl-ros depends on libpcl-io1.7; however:
  Package libpcl-io1.7:amd64 is not configured yet.
 ros-kinetic-pcl-ros depends on ros-kinetic-pcl-conversions; however:
  Package ros-kinetic-pcl-conversions is not configured yet.

dpkg: error processing package ros-kinetic-pcl-ros (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-kinetic-perception-pcl:
 ros-kinetic-perception-pcl depends on ros-kinetic-pcl-conversions; however:
  Package ros-kinetic-pcl-conversions is not configured yet.
 ros-kinetic-perception-pcl depends on ros-kinetic-pcl-ros; however:
  Package ros-kinetic-pcl-ros is not configured yet.

dpkg: error processing package ros-kinetic-perception-pcl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openni-utils:
 openni-utils depends on libopenni0; however:
  Package libopenni0 is not configured yet.

dpkg: error processing package openni-utils (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libopenni-dev:
 libopenni-dev depends on libopenni0 (= 1.5.4.0-14); however:
  Package libopenni0 is not configured yet.

dpkg: error processing package libopenni-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpcl-dev:
 libpcl-dev depends on libopenni-dev; however:
  Package libopenni-dev is not configured yet.
 libpcl-dev depends on libpcl1.7 (= 1.7.2-14build1); however:
  Package libpcl1.7 is not configured yet.

dpkg: error processing package libpcl-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-kinetic-perception:
 ros-kinetic-perception depends on ros-kinetic-perception-pcl; however:
  Package ros-kinetic-perception-pcl is not configured yet.

dpkg: error processing package ros-kinetic-perception (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ros-kinetic-desktop-full:
 ros-kinetic-desktop-full depends on ros-kinetic-perception; however:
  Package ros-kinetic-perception is not configured yet.

dpkg: error processing package ros-kinetic-desktop-full (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 libopenni0
 libpcl-io1.7:amd64
 libpcl-visualization1.7:amd64
 libpcl1.7
 libopenni-sensor-pointclouds0
 ros-kinetic-pcl-conversions
 ros-kinetic-pcl-ros
 ros-kinetic-perception-pcl
 openni-utils
 libopenni-dev
 libpcl-dev
 ros-kinetic-perception
 ros-kinetic-desktop-full

Réponse acceptée :

apt-get supprime et purge tous vos packages libopenni, vous devrez peut-être sudo rm -rf /var/lib/ni, puis dpkg -l | grep openni doit être vide, puis réinstallez libopenni0, puis les autres packages devraient fonctionner correctement.

En relation :Authentification proxy avec terminal Ubuntu 14.04 ?
Ubuntu
  1. Comment installer un fichier Deb, par Dpkg -i ou par Apt ?

  2. Le terminal ne s'ouvre pas après la mise à niveau de Python vers 3.7 ?

  3. Comment activer les menus globaux et réparer Hud (après la mise à niveau vers 12.04 à partir de 10.04) ?

  4. Qualité sonore extrêmement médiocre après la mise à niveau de 15.10 à 16.04 ?

  5. Installation d'Odbcins1debian2, dépendance brisée sur Ubuntu 20.04 Lts ?

Commande dpkg sous Linux avec exemples

Correction "Le sous-processus /usr/bin/dpkg a renvoyé un code d'erreur (1)" dans Ubuntu

Problème de dépendance après la mise à niveau vers Xenial ?

Problème d'installation de Kvm\qemu (18.10) ?

20 choses sympas à faire après l'installation de Kubuntu 14.04 Trusty Tahr

dpkg peut-il vérifier les fichiers d'un paquet installé ?