Pregunta: Estaba instalando algunos paquetes de OpenStack en Ubuntu 14.04.4 LTS y aterricé con un error No se pueden corregir los problemas, ha retenido paquetes rotos . Sin embargo, este error parece ocurrir para cualquier instalación de paquete. A continuación se muestra el mensaje de error detallado.
# apt-get install python-sqlalchemy python-nova 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 packages have unmet dependencies: python-nova : Depends: python-sqlalchemy (< 0.9) but 0.9.8+dfsg-0.1~cloud0 is to be installed E: Unable to correct problems, you have held broken packages.
¿Cómo solucionar este error?
Este error ocurre si algunos paquetes instalados en el sistema están rotos o incompletos. Por lo tanto, siempre se recomienda actualizar el sistema antes de instalar nuevos paquetes.
# sudo apt-get update
Una vez completada la actualización, puede utilizar –fix-missing opción como se muestra a continuación:
# sudo apt-get install --fix-missing
Nota :Alternativamente, también puede ejecutar el siguiente comando.
# apt-get update --fix-missing