Kernel update error [SOLVED] :)

Post your update and upgrade related errors here
Forum rules
Before you post please read this

Kernel update error [SOLVED] :)

Postby salsalha on Thu Oct 06, 2011 1:20 pm

I'm in the 3.6 kernel version.

both the terminal, as with the update manager, this error message appears.


Code: Select all
Se configurarán los siguientes paquetes que están ahora parcialmente instalados:
  initramfs-tools linux-image-2.6-amd64 linux-image-2.6.39-2-amd64
  linux-image-3.0.0-1-amd64 linux-image-amd64
No se instalará, actualizará o eliminará ningún paquete.
0 paquetes actualizados, 0 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 0 B de ficheros. Después de desempaquetar se usarán 0 B.
Configurando initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Configurando linux-image-3.0.0-1-amd64 (3.0.0-3) ...
Running depmod.
The link /initrd.img is a dangling linkto /boot/initrd.img-2.6.39-2-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
update-initramfs: Generating /boot/initrd.img-3.0.0-1-amd64
cp: no se puede efectuar `stat' sobre «/lib/libacl*»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.0.0-1-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-1-amd64.postinst line 774.
dpkg: error al procesar linux-image-3.0.0-1-amd64 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
configured to not write apport reports
                                      Configurando linux-image-2.6.39-2-amd64 (2.6.39-3) ...
Running depmod.
The link /initrd.img is a dangling linkto /boot/initrd.img-3.0.0-1-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
update-initramfs: Generating /boot/initrd.img-2.6.39-2-amd64
cp: no se puede efectuar `stat' sobre «/lib/libacl*»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.39-2-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.39-2-amd64.postinst line 771.
dpkg: error al procesar linux-image-2.6.39-2-amd64 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
configured to not write apport reports
                                      dpkg: problemas de dependencias impiden la configuración de linux-image-amd64:
 linux-image-amd64 depende de linux-image-3.0.0-1-amd64; sin embargo:
 El paquete `linux-image-3.0.0-1-amd64' no está configurado todavía.
dpkg: error al procesar linux-image-amd64 (--configure):
 problemas de dependencias - se deja sin configurar
dpkg: problemas de dependencias impiden la configuración de linux-image-2.6-amd64:
 linux-image-2.6-amd64 depende de linux-image-amd64; sin embargo:
 El paquete `linux-image-amd64' no está configurado todavía.
dpkg: error al procesar linux-image-2.6-amd64 (--configure):
 problemas de dependencias - se deja sin configurar
configured to not write apport reports
                                      configured to not write apport reports
                                                                            Procesando disparadores para initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-2-amd64
cp: no se puede efectuar `stat' sobre «/lib/libacl*»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.38-2-amd64 with 1.
dpkg: error al procesar initramfs-tools (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
configured to not write apport reports
                                      Se encontraron errores al procesar:
 linux-image-3.0.0-1-amd64
 linux-image-2.6.39-2-amd64
 linux-image-amd64
 linux-image-2.6-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Un paquete no se pudo instalar. Intentado recuperarse:
Configurando initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Configurando linux-image-3.0.0-1-amd64 (3.0.0-3) ...
Running depmod.
The link /initrd.img is a dangling linkto /boot/initrd.img-2.6.39-2-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
update-initramfs: Generating /boot/initrd.img-3.0.0-1-amd64
cp: no se puede efectuar `stat' sobre «/lib/libacl*»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.0.0-1-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-1-amd64.postinst line 774.
dpkg: error al procesar linux-image-3.0.0-1-amd64 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Configurando linux-image-2.6.39-2-amd64 (2.6.39-3) ...
Running depmod.
The link /initrd.img is a dangling linkto /boot/initrd.img-3.0.0-1-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
update-initramfs: Generating /boot/initrd.img-2.6.39-2-amd64
cp: no se puede efectuar `stat' sobre «/lib/libacl*»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.39-2-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.39-2-amd64.postinst line 771.
dpkg: error al procesar linux-image-2.6.39-2-amd64 (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
dpkg: problemas de dependencias impiden la configuración de linux-image-amd64:
 linux-image-amd64 depende de linux-image-3.0.0-1-amd64; sin embargo:
 El paquete `linux-image-3.0.0-1-amd64' no está configurado todavía.
dpkg: error al procesar linux-image-amd64 (--configure):
 problemas de dependencias - se deja sin configurar
dpkg: problemas de dependencias impiden la configuración de linux-image-2.6-amd64:
 linux-image-2.6-amd64 depende de linux-image-amd64; sin embargo:
 El paquete `linux-image-amd64' no está configurado todavía.
dpkg: error al procesar linux-image-2.6-amd64 (--configure):
 problemas de dependencias - se deja sin configurar
Procesando disparadores para initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-2-amd64
cp: no se puede efectuar `stat' sobre «/lib/libacl*»: No existe el fichero o el directorio
E: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.38-2-amd64 with 1.
dpkg: error al procesar initramfs-tools (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Se encontraron errores al procesar:
 linux-image-3.0.0-1-amd64
 linux-image-2.6.39-2-amd64
 linux-image-amd64
 linux-image-2.6-amd64
 initramfs-tools 


Currently I have the update package 3.


So. what can i do?

Greetings.

:)
Last edited by salsalha on Wed Oct 12, 2011 3:23 pm, edited 1 time in total.
User avatar
salsalha
Level 2
Level 2
 
Posts: 59
Joined: Tue Dec 28, 2010 10:34 am

Linux Mint is funded by ads and donations.
 

Re: Kernel update error

Postby Gerd50 on Thu Oct 06, 2011 4:28 pm

I think it's a Nvidia problem. Are the headers for the kernels installed? If they are boot a new kernel and in the terminal run:

Code: Select all
sudo apt-get remove nvidia-kernel-dkms nvidia-glx

then
Code: Select all
sudo apt-get install nvidia-kernel-dkms nvidia-glx

and reboot.

Edit: Forget it, i now think zerozero is right with his diagnosis :)
Last edited by Gerd50 on Thu Oct 06, 2011 5:31 pm, edited 1 time in total.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 720
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: Kernel update error

Postby zerozero on Thu Oct 06, 2011 4:38 pm

salsalha try
Code: Select all
sudo apt-get remove live-initramfs
and try again
explanation here
User avatar
zerozero
Level 16
Level 16
 
Posts: 6336
Joined: Tue Jul 07, 2009 2:29 pm

Re: Kernel update error

Postby salsalha on Tue Oct 11, 2011 3:47 pm

Thanks for the reply, and sorry for the delay.

The terminal showed this data:


Code: Select all
apt-get remove live-initramfs
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Los siguientes paquetes se ELIMINARÁN:
  live-initramfs
0 actualizados, 0 se instalarán, 1 para eliminar y 0 no actualizados.
5 no instalados del todo o eliminados.
Se liberarán 512 kB después de esta operación.
¿Desea continuar [S/n]? s
(Leyendo la base de datos ... 530170 ficheros o directorios instalados actualmente.)
Desinstalando live-initramfs ...
Procesando disparadores para man-db ...
Configurando initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Configurando linux-image-3.0.0-1-amd64 (3.0.0-3) ...
Running depmod.
The link /initrd.img is a dangling linkto /boot/initrd.img-2.6.39-2-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
update-initramfs: Generating /boot/initrd.img-3.0.0-1-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-1-amd64 /boot/vmlinuz-3.0.0-1-amd64
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-3.0.0-1-amd64
Found initrd image: /boot/initrd.img-3.0.0-1-amd64
Found linux image: /boot/vmlinuz-2.6.39-2-amd64
Found linux image: /boot/vmlinuz-2.6.38-2-amd64
Found initrd image: /boot/initrd.img-2.6.38-2-amd64
Found linux image: /boot/vmlinuz-2.6.36-2.dmz.7-liquorix-amd64
Found initrd image: /boot/initrd.img-2.6.36-2.dmz.7-liquorix-amd64
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
done
Configurando linux-image-2.6.39-2-amd64 (2.6.39-3) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
update-initramfs: Generating /boot/initrd.img-2.6.39-2-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.39-2-amd64 /boot/vmlinuz-2.6.39-2-amd64
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-3.0.0-1-amd64
Found initrd image: /boot/initrd.img-3.0.0-1-amd64
Found linux image: /boot/vmlinuz-2.6.39-2-amd64
Found initrd image: /boot/initrd.img-2.6.39-2-amd64
Found linux image: /boot/vmlinuz-2.6.38-2-amd64
Found initrd image: /boot/initrd.img-2.6.38-2-amd64
Found linux image: /boot/vmlinuz-2.6.36-2.dmz.7-liquorix-amd64
Found initrd image: /boot/initrd.img-2.6.36-2.dmz.7-liquorix-amd64
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
done
Configurando linux-image-amd64 (3.0.0+39) ...
Configurando linux-image-2.6-amd64 (3.0.0+39) ...
Procesando disparadores para initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-1-amd64
N: Ignoring file 'google-chrome.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-talkplugin.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'opera.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-talkplugin.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'opera.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-talkplugin.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'opera.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension



Errors still exist and can not be updated kernel


Greetings
User avatar
salsalha
Level 2
Level 2
 
Posts: 59
Joined: Tue Dec 28, 2010 10:34 am

Re: Kernel update error

Postby Gerd50 on Tue Oct 11, 2011 5:30 pm

Code: Select all
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-3.0.0-1-amd64
Found initrd image: /boot/initrd.img-3.0.0-1-amd64


that says the new kernel is installed. Boot it and run

Code: Select all
sudo apt-get remove nvidia-kernel-dkms nvidia-glx

reboot and then run

Code: Select all
sudo apt-get install nvidia-kernel-dkms nvidia-glx

and reboot.
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 720
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany

Re: Kernel update error

Postby salsalha on Wed Oct 12, 2011 1:29 pm

Gerd50 wrote:
Code: Select all
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-3.0.0-1-amd64
Found initrd image: /boot/initrd.img-3.0.0-1-amd64


that says the new kernel is installed. Boot it and run

Code: Select all
sudo apt-get remove nvidia-kernel-dkms nvidia-glx

reboot and then run

Code: Select all
sudo apt-get install nvidia-kernel-dkms nvidia-glx

and reboot.



Hi, indeed, im rigth now in the newst kernel, thanks to all of you guys... :D

Must i, install the nvidia kernel.... i dont have any graphic board... so is it necessary?

Greetings
User avatar
salsalha
Level 2
Level 2
 
Posts: 59
Joined: Tue Dec 28, 2010 10:34 am

Re: Kernel update error

Postby zerozero on Wed Oct 12, 2011 1:43 pm

salsalha, if you don't have nvidia, don't install the driver;

anyway you still have one error here

N: Ignoring file 'opera.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-talkplugin.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename


try to run the command xircon gave you in this topic viewtopic.php?f=186&t=82360
Code: Select all
sudo rm -f /etc/apt/sources.list.d/*.save

and then do again the dist-upgrade, share with us the final output
User avatar
zerozero
Level 16
Level 16
 
Posts: 6336
Joined: Tue Jul 07, 2009 2:29 pm

Re: Kernel update error

Postby salsalha on Wed Oct 12, 2011 3:21 pm

zerozero wrote:salsalha, if you don't have nvidia, don't install the driver;

anyway you still have one error here

N: Ignoring file 'opera.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-talkplugin.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename


try to run the command xircon gave you in this topic viewtopic.php?f=186&t=82360
Code: Select all
sudo rm -f /etc/apt/sources.list.d/*.save

and then do again the dist-upgrade, share with us the final output



Hi, tks again, now no error messages :D

Code: Select all
sudo apt-get dist-upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Calculando la actualización... Listo
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.


Greetings
User avatar
salsalha
Level 2
Level 2
 
Posts: 59
Joined: Tue Dec 28, 2010 10:34 am

Re: Kernel update error [SOLVED] :)

Postby zerozero on Wed Oct 12, 2011 3:28 pm

great :D enjoy
User avatar
zerozero
Level 16
Level 16
 
Posts: 6336
Joined: Tue Jul 07, 2009 2:29 pm

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 5 guests