Lorsque j’essaie de supprimer un vieux kernel qui ne me sert plus, voici ce que j’obtiens:
aptitude purge linux-image-2.6.15-1-486
Reading package lists… Done
Building dependency tree… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
Building tag database… Done
The following packages will be automatically REMOVED:
linux-image-2.6.15-1-486{p}
The following packages have been kept back:
libgl1-mesa-glx
The following packages will be REMOVED:
linux-image-2.6.15-1-486{p}
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 45.9MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information… Done
(Reading database … 89406 files and directories currently installed.)
Removing linux-image-2.6.15-1-486 …
dpkg (subprocess): unable to execute pre-removal script: Exec format error
dpkg: error processing linux-image-2.6.15-1-486 (–purge):
subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.15-1-486
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover.
J’ai donc tenté la méthode de fran.b: forum.debian-fr.org/viewtopic.php?t=4727
Et cette fois-ci, ca n’a pas fonctionné. Le fichier prerm est bien vide (comme je le vois avec un vi) mais l’erreur reste strictement identique.
Auriez-vous une idée?