DPKG = problèmes, impossible à reconfigurer

C’est certainement la raison de mes problèmes de compilation

lns-vlq-16-mar-82-255-31-186:/home/ricardod2# apt-get install dpkg E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. lns-vlq-16-mar-82-255-31-186:/home/ricardod2# dpkg --configure -a Paramétrage de kernel-image-2.6.8-2-686 (2.6.8-12) ... /boot/initrd.img-2.6.8-2-686 points to /boot/initrd.img-2.6.8-2-686 -- doing nothing at /var/lib/dpkg/info/kernel-image-2.6.8-2-686.postinst line 547. /boot/vmlinuz-2.6.8-2-686 points to /boot/vmlinuz-2.6.8-2-686 -- doing nothing at /var/lib/dpkg/info/kernel-image-2.6.8-2-686.postinst line 547. 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
Je suis allé voir cette ligne dont il est question et voici une partie du fichier avec la ligne , tout en bas, en gras

[code]# This routine is responsible for setting up the symbolic links.
sub image_magic {
my $kimage = $[0]; # Nmae of the symbolic link
my $image_dest = $
[1]; # The directory the links goes into

Well, in any case, if the destination (the symlink we are trying

to create) is a directory, we should do nothing, except throw a

diagnostic.

if (-d “$kimage” ) {
die (“Hmm. $kimage is a directory, which I did not expect. I am\n” .
“trying to create a symbolic link with that name linked to \n” .
"$image_dest . Since a directory exists here, my assumptions \n" .
“are way off, and I am aborting.\n” );
exit (3);
}

if ($move_image)
{ # Maybe $image_dest is in on dos, or something?
really_move_image($kimage, $image_dest);
return;
}

if (-l “$kimage”)
{ # There is a symbolic link
my $force_move = 0;

  if ($no_symlink || $reverse_symlink)
    {       # we do not want links, yet we have a symbolic link here!
      warn "found a symbolic link in " . $image_dest . "$kimage \n" .
        "even though no_symlink is defined\n" if $no_symlink;
      warn "found a symbolic link in " . $image_dest . "$kimage \n" .
        "even though reverse_symlink is defined\n" if $reverse_symlink;
      # make sure we change this state of affairs
      $force_move = 1;
    }
  else
    {
      # OK. We found symlink, and we should have a symlink here.
      my $vmlinuz_target = readlink "$kimage";
      my $target = CanonicalizePath("$realimageloc" . "$kimage-$version");

      if (!defined($vmlinuz_target))
        {   # what, a dangling symlink?
          warn "The link "  . $image_dest . "$kimage is a dangling link\n";
          $force_move = 1;
        }
      else
        {                   # Found where the link points to
          my $cwd;
          chomp ($cwd=`pwd`);
          if ($vmlinuz_target !~ m|^/|o)
            {
              $vmlinuz_target = $cwd . "/" . $vmlinuz_target;
              $vmlinuz_target =~ s|/+|/|o;
            }
          $vmlinuz_target = CanonicalizePath($vmlinuz_target);
          if ("$vmlinuz_target" ne "$target")
            {
              if ($minimal_swap) 
                {
                  if (-l "$kimage.old")
                    {
                      my $old_target = readlink "$kimage.old";
                      if ($old_target !~ m|^/|o)
                        {
                          $old_target = $cwd . "/" . $old_target;
                          $old_target =~ s|/+|/|o;
                        }
                      $old_target = CanonicalizePath($old_target);
                      if ("$old_target"  ne "$target")
                        {
                          $force_move = 1;
                        }
                      else
                        {
                          warn "$kimage.old --> $target -- doing nothing";
                          $force_move = 0;
                        }
                    }
                  else
                    {
                      $force_move = 1;
                    }
                }
              else 
                {
                  $force_move = 1;
                }
            }
          else
            {

[/code]
warn “$vmlinuz_target points to $target – doing nothing”;
$force_move = 0;

}
}

Si ça donne une idée à qq’un, je lui en serai reconnaissant :stuck_out_tongue:

Ce problème bloque aussi Synaptic :cry:

Ricardo, je t’ai dis ce qui n’allait pas dans un autre fil…
as tu testé les options de /etc/kernel-???.conf ?
ton noyau ne s’installe pas dans /boot, mais à la racine (/). Normalement, en ce moment, tu dois avoir un noyau d’installé dans / et ton /boot/vmlinux doit pointer vers ce noyau.
Je te dis que c’est dans /etc/kernel-???.conf que ca se precise.