autre probleme…
j’ai tenté de compiler un noyau sans rien supprimer pour essayer mais j’ai un probleme lors de l’installation du .deb (dpkg -i xxxx.deb)
Dépaquetage de la mise à jour de linux-image-2.6.17-yannich ...
Running postrm hook script /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 ...
Found kernel: /boot/vmlinuz-2.6.17.8-yannich
Found kernel: /boot/vmlinuz-2.6.17-yannich
Found kernel: /boot/vmlinuz-2.6.8-2-386
Updating /boot/grub/menu.lst ... done
Paramétrage de linux-image-2.6.17-yannich (1) ...
syntax error at /var/lib/dpkg/info/linux-image-2.6.17-yannich.postinst line 1251, near ") {"
syntax error at /var/lib/dpkg/info/linux-image-2.6.17-yannich.postinst line 1254, near "else"
Execution of /var/lib/dpkg/info/linux-image-2.6.17-yannich.postinst aborted due to compilation errors.
dpkg : erreur de traitement de linux-image-2.6.17-yannich (--install) :
le sous-processus post-installation script a retourné une erreur de sortie d'état 9
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-2.6.17-yannich
zsh: exit 1 dpkg -i linux-image-2.6.17-yannich_1_i386.deb
et dans le fichier en question j’ai
ligne 1242
sub run_lilo (){
my $ret; # Try and figure out if the user really wants lilo to be run --
# since the default is to run the boot laoder, which is ! grub -- but # the user may be using grub now, and not changed the default.
# So, if the user has explicitly asked for the loader to be run, or
# if there is no postinst hook, or if there is no grub installed --
# we are OK. Or else, we ask.
if ($explicit_do_loader || (! ($postinst_hook && -x '/sbin/grub')) {
print STDERR "Running boot loader as requested\n";
}
else {
# Ask the user
my $seen;
my $question = "${package_name}/postinst/really-run-bootloader-$version";
print STDERR "Do we really want to run bootloader $loader?\n";
($ret,$seen) = fset ("$question", 'seen', 'false');
die "Error setting debconf flags in $question: $seen" if $ret;
$ret = subst("$question", 'loader', "$loader");
die "Error setting debconf substitutions in $question: $seen" if $ret;
($ret,$seen) = input('critical', "$question");
if ($ret && $ret != 30 ) {
die "Error setting debconf question $question: $seen";
}
($ret,$seen) = go ();
if ($ret && $ret != 30 ) {
die "Error asking debconf question $question: $seen";
}
($ret,$answer) = get("$question");
die "Error retreiving answer for $question: $answer" if $ret;
if ($answer =~ /^(y|t)/i) {
print STDERR "Ok, not running $loader\n";
return 0;
}
else {
print STDERR "Ok, continuing as directed.\n";
}
}
...
...
...
j’ai l’impression qu’il y a un probleme au niveau de lilo
c’est vrai aussi que j’ai viré lilo pour mettre grub, mais il reste peut etre un probleme
une idée?
Sinon merci usineagaz pour ton site