Nano instala paquetes rotos con problemas de error de archivo melódico ROS
Directorio de artículos
Link de referencia
Intenté instalar ros melodic muchas veces, pero seguí informando errores, corrupción de archivos o problemas de dependencia de la instalación.
Vaya directamente a la etapa de instalación, consulte otras publicaciones detalladas al frente.
sudo apt-get install ros-melodic-desktop-full
Después de ingresar el comando anterior, habrá un problema de que ha retenido paquetes rotos.
El caso es el siguiente:
sudo apt-get install ros-melodic-desktop-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ros-melodic-desktop-full : Depends: ros-melodic-desktop but it is not going to be installed
Depends: ros-melodic-perception but it is not going to be installed
Depends: ros-melodic-simulators but it is not going to be installed
Depends: ros-melodic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Siga las indicaciones de otros blogueros para ingresar lo siguiente,
sudo aptitude install ros-kinetic-desktop-full
Si aptitude no es compatible, puede instalarlo
sudo apt-get install aptitude
Luego estará la siguiente parte del texto:
Accept this solution? [Y/n/q/?]
Elegí Y por primera vez, y el proceso de instalación apareció:
Accept this solution? [Y/n/q/?] Y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Parece estar hecho, pero el sistema no ha hecho nada, así que continúe usando aptitude para hacerlo nuevamente.
La primera vez que seleccione n, aparecerán algunas bibliotecas dependientes de la instalación y, después de seleccionar Y, se mostrará el proceso de instalación.
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Downgrade the following packages:
1) libgpgme11 [1.10.0-1ubuntu2.1 (now) -> 1.10.0-1ubuntu1 (bionic)]
2) libqt5qml5 [5.9.5-0ubuntu1.1 (now) -> 5.9.5-0ubuntu1 (bionic)]
3) libqt5quick5 [5.9.5-0ubuntu1.1 (now) -> 5.9.5-0ubuntu1 (bionic)]
4) libqt5quickwidgets5 [5.9.5-0ubuntu1.1 (now) -> 5.9.5-0ubuntu1 (bionic)]
5) libuuid1 [2.31.1-0.4ubuntu3.6 (now) -> 2.31.1-0.4ubuntu3 (bionic)]
Accept this solution? [Y/n/q/?] Y
The following packages will be DOWNGRADED:
libgpgme11 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libuuid1
The following NEW packages will be installed:
cython{a} fltk1.3-doc{a} fluid{a} fonts-lato{a} gazebo9{a}
gazebo9-common{a} gazebo9-plugin-base{a} google-mock{a} hddtemp{a}
Finalmente, la instalación se completó con éxito.Solo se puede decir que hay demasiados proyectos dependientes para la instalación de ROS, y entrará en conflicto con él si no sabe qué archivo está instalado.
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
root@yuezh-ThinkStation-P320:/# sudo apt-get install ros-melodic-desktop-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-melodic-desktop-full is already the newest version (1.4.1-0bionic.20200604.134848).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Sobre el fracaso de Rosdep
No puedo encontrar Rosdep
sudo apt-get install python-rosdep