Error reinstalling linux-image-2.6.17-10-generic

Bug #76303 reported by Juanjo Marín
4
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.17-10-generic

Because I was having problems with my synaptics touchpad on X lately --it doesn't work at all--, I did some researching on my system and I tried this command:

root@astrid:/home/jjmarin# modprobe psmouse
FATAL: Could not open '/lib/modules/2.6.17-10-generic/kernel/drivers/input/mouse/psmouse.ko': Not a directory

So I decided to reinstall the linux-image-2.6.17-10-generic package with synaptics and I get the following error.

E: /var/cache/apt/archives/linux-image-2.6.17-10-generic_2.6.17.1-10.34_i386.deb: no se puede crear un enlace de seguridad de `./lib/modules/2.6.17-10-generic/kernel/drivers/input/joystick/db9.ko' antes de instalar.

(translated into English with my own words:
E: /var/cache/apt/archives/linux-image-2.6.17-10-generic_2.6.17.1-10.34_i386.deb: I cannot create a security link of `./lib/modules/2.6.17-10-generic/kernel/drivers/input/joystick/db9.ko' before install.
)

After that, I get another window with the following message:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

I did that, but anything changed my previous problem.

If you need more information, don't hesitate to let me know.

TIA.

description: updated
description: updated
Revision history for this message
Matti Lindell (mlind) wrote :

Have you tried purging that kernel first using aptitude purge (or dpkg -P) then installing it back?
try:
sudo aptitude purge linux-image-2.6.17-10-generic
sudo aptitude install linux-image-2.6.17-10-generic

Changed in linux-source-2.6.17:
status: Unconfirmed → Needs Info
Revision history for this message
Juanjo Marín (juanj-marin-deactivatedaccount) wrote :
Download full text (6.1 KiB)

I didn't it. I've done this and this what I get (see translation of the error at the end):

jjmarin@astrid:~$ sudo aptitude purge linux-image-2.6.17-10-generic
Password:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo información de estado... Hecho
Leyendo la información de estado extendido
Inicializando el estado de los paquetes... Hecho
Escribiendo información de estado extendido... Hecho
Construir la base de datos de etiquetas... Hecho
Los siguientes paquetes están ROTOS:
  linux-image-generic vmware-player-kernel-modules-2.6.17-10
Los siguientes paquetes no se usan y se ELIMINARÁN:
  debhelper dia-common dia-gnome dia-libs gok html2text inkscape libgmp3c2
  mono-classlib-1.0 planner
Se ELIMINARÁN los siguientes paquetes:
  linux-image-2.6.17-10-generic{p}
0 paquetes actualizados, 0 nuevos instalados, 11 para eliminar y 0 sin actualizar.
Necesito descargar 0B de ficheros. Después de desempaquetar se liberarán 140MB.
No se satisfacen las dependencias de los siguientes paquetes:
  vmware-player-kernel-modules-2.6.17-10: Depende: linux-image-2.6 que es un paquete virtual.
  linux-image-generic: Depende: linux-image-2.6.17-10-generic pero no es instalable
Resolving dependencies...
Las acciones siguientes resolverán estas dependencias

Mantener los paquetes siguientes en la versión actual:
linux-image-2.6.17-10-generic [2.6.17.1-10.34 (edgy-security, now)]

La puntuación es 1

¿Acepta esta solución? [Y/n/q/?] Y
Los siguientes paquetes no se usan y se ELIMINARÁN:
  debhelper dia-common dia-gnome dia-libs gok html2text inkscape libgmp3c2
  mono-classlib-1.0 planner
0 paquetes actualizados, 0 nuevos instalados, 10 para eliminar y 0 sin actualizar.
Necesito descargar 0B/23,0MB de ficheros. Después de desempaquetar se liberarán 72,6MB.
¿Quiere continuar? [Y/n/?] Y
Escribiendo información de estado extendido... Hecho
Preconfigurando paquetes ...
(Leyendo la base de datos ...
136090 ficheros y directorios instalados actualmente.)
Preparando para reemplazar linux-image-2.6.17-10-generic 2.6.17.1-10.34 (usando .../linux-image-2.6.17-10-generic_2.6.17.1-10.34_i386.deb) ...
The directory /lib/modules/2.6.17-10-generic still exists. Continuing as directed.
Done.
Desempaquetando el reemplazo de linux-image-2.6.17-10-generic ...
dpkg: error al procesar /var/cache/apt/archives/linux-image-2.6.17-10-generic_2.6.17.1-10.34_i386.deb (--unpack):
 no se puede crear un enlace de seguridad de `./lib/modules/2.6.17-10-generic/kernel/drivers/input/joystick/db9.ko' antes de instalar
la nueva versión: Demasiados vínculos
dpkg-deb: el subproceso paste fue terminado por la señal (Tubería rota)
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Fallo de segmentación (core dumped)
jjmarin@astrid:~$ Found kernel: /boot/vmlinuz-2.6.17-10-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

jjmarin@astrid:~$ sudo aptitude install linux-image-2.6.17-10-generic
E: dpkg was interrupted, you must manually run 'dpkg --co...

Read more...

Revision history for this message
Juanjo Marín (juanj-marin-deactivatedaccount) wrote :

At the end I decided to reinstall Edgy becuse I need to use the tochpanel and now everything works fine

Because I can't reproduce the error anymore I think I'd be better to close this bug.

Revision history for this message
Ben Collins (ben-collins) wrote :

This appears to be filesystem corruption anyway.

Thanks

Changed in linux-source-2.6.17:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.