Ejecutar # apt-get upgrade Me dicen que ejecute sudo apt-get -f install
. Hago eso y veo:
The following extra packages will be installed:
linux-generic-pae linux-headers-generic-pae linux-image-generic-pae
The following packages will be upgraded:
linux-generic-pae linux-headers-generic-pae linux-image-generic-pae
3 upgraded, 0 newly installed, 0 to remove and 138 not upgraded.
3 not fully installed or removed.
Need to get 0 B/6,460 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
linux-image-generic-pae depends on linux-image-3.2.0-48-generic-pae; however:
Package linux-image-3.2.0-48-generic-pae is not installed.
dpkg: error processing linux-image-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-headers-generic-pae:
linux-headers-generic-pae depends on linux-headers-3.2.0-48-generic-pae; however:
Package linux-headers-3.2.0-48-generic-pae is not installed.
dpkg: error processing linux-headers-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.48.58); however:
Package linux-image-generic-pae is not configured yet.
linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.48.58); however:
Package linux-headers-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-generic-pae
linux-headers-generic-pae
linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
Aquí hay una lista de mi /usr/src
:
/usr/src:
total used in directory 88 available 19619852
drwxr-xr-x 22 root root 4096 Feb 1 23:21 .
drwxr-xr-x 10 root root 4096 Aug 31 2012 ..
drwxr-xr-x 24 root root 4096 Jan 18 2013 linux-headers-3.2.0-36
drwxr-xr-x 7 root root 4096 Jan 18 2013 linux-headers-3.2.0-36-generic-pae
drwxr-xr-x 24 root root 4096 Feb 1 2013 linux-headers-3.2.0-37
drwxr-xr-x 7 root root 4096 Feb 1 2013 linux-headers-3.2.0-37-generic-pae
drwxr-xr-x 24 root root 4096 Feb 22 2013 linux-headers-3.2.0-38
drwxr-xr-x 7 root root 4096 Feb 22 2013 linux-headers-3.2.0-38-generic-pae
drwxr-xr-x 24 root root 4096 Mar 19 2013 linux-headers-3.2.0-39
drwxr-xr-x 7 root root 4096 Mar 19 2013 linux-headers-3.2.0-39-generic-pae
drwxr-xr-x 24 root root 4096 Apr 9 2013 linux-headers-3.2.0-40
drwxr-xr-x 7 root root 4096 Apr 9 2013 linux-headers-3.2.0-40-generic-pae
drwxr-xr-x 24 root root 4096 May 2 2013 linux-headers-3.2.0-41
drwxr-xr-x 7 root root 4096 May 2 2013 linux-headers-3.2.0-41-generic-pae
drwxr-xr-x 24 root root 4096 May 16 2013 linux-headers-3.2.0-43
drwxr-xr-x 7 root root 4096 May 16 2013 linux-headers-3.2.0-43-generic-pae
drwxr-xr-x 24 root root 4096 May 24 2013 linux-headers-3.2.0-44
drwxr-xr-x 7 root root 4096 May 24 2013 linux-headers-3.2.0-44-generic-pae
drwxr-xr-x 24 root root 4096 May 31 2013 linux-headers-3.2.0-45
drwxr-xr-x 7 root root 4096 May 31 2013 linux-headers-3.2.0-45-generic-pae
drwxr-xr-x 24 root root 4096 Feb 1 23:21 linux-headers-3.2.0-58
drwxr-xr-x 7 root root 4096 Feb 1 23:21 linux-headers-3.2.0-58-generic-pae
La mayoría de mis otras máquinas también tienen todos los números entre 45 y 58. No creo que necesite esta versión 48, ¿verdad?
uname -r
... también visite este enlace para obtener más información sobre cómo eliminar kernels más antiguos: ¿Cómo elimino u oculto las versiones antiguas del kernel para limpiar el menú de arranque?Respuestas:
Eliminar o eliminar el paquete correspondiente para el siguiente tipo de error resolverá el problema,
En esta pregunta
leaving unconfigured
se produce un error para estos tres paquetes,Entonces tenemos que eliminar los paquetes ejecutando,
Si hubo algún problema de dependencia al eliminar lo anterior, vaya a la
force
opción como se muestra a continuación, de lo contrario, omítala.Nota: elija la opción forzar solo cuando todos los demás métodos no funcionen.
Elimine a la fuerza los tres paquetes anteriores ejecutando los siguientes comandos,
Ahora puede ejecutar una actualización,
Si desea volver a instalar los paquetes, ejecute lo siguiente
fuente