GNU/Linux >> Tutoriales Linux >  >> Ubuntu

¿Problema de dependencia después de actualizar a Xenial?

Recientemente actualicé a xenial y recibo el siguiente error. ¿Cómo puedo resolver los problemas de dependencia mientras uso 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

Respuesta aceptada:

apt-get remove y purgue todos sus paquetes libopenni, puede que tenga que sudo rm -rf /var/lib/ni, y luego dpkg -l | grep openni debería estar en blanco, luego reinstalar libopenni0, luego los otros paquetes deberían funcionar bien.

Relacionado:¿Autenticación de proxy con terminal Ubuntu 14.04?
Ubuntu
  1. ¿Cómo instalar un archivo Deb, por Dpkg -i o por Apt?

  2. ¿Cómo verificar la lista de dependencias para un paquete Deb?

  3. ¿Cómo agregar dependencia después de enviar una aplicación patentada a Usc?

  4. ¿Retraso del mouse después de actualizar a Ubuntu 14.04?

  5. ¿Con qué paquete se incluye la cola?

Comando dpkg en Linux con ejemplos

Arreglar "Subproceso /usr/bin/dpkg devolvió un código de error (1)" en Ubuntu

Dpkg:error al procesar el paquete Ubuntu-make (–configure):?

Después de la actualización de Ubuntu del 15 al 16.04, ¿Error en el paquete de configuración del teclado?

20 cosas geniales para hacer después de instalar Kubuntu 14.04 Trusty Tahr

¿Puede dpkg verificar archivos de un paquete instalado?