Package: grub-installer Severity: Important Justification: cannot install grub on amd64 and perhaps others...
Hello, I've open a bug #598062 for cdrom install, very verbose ( should not work too late and when I'm tired ) So brievly : it's impossible with squeeze weekly build to install OS on amd64 and in lenny it works... Here is the piece of logs interesting on the squeeze install ( french install sorry ) : Sep 26 13:09:41 main-menu[462]: INFO: Menu item 'grub-installer' selected Sep 26 13:09:41 grub-installer: info: architecture: amd64/generic Sep 26 13:09:42 grub-installer: info: Identified partition label for /dev/sda6: msdos Sep 26 13:09:42 grub-installer: dpkg: warning: ignoring request to remove grub which isn't installed. Sep 26 13:09:42 grub-installer: dpkg: warning: ignoring request to remove grub-legacy which isn't installed. Sep 26 13:09:42 in-target: Lecture des listes de paquets... Sep 26 13:09:42 in-target: Construction de l'arbre des dépendances... Sep 26 13:09:42 in-target: Lecture des informations d'état... Sep 26 13:09:42 in-target: E Sep 26 13:09:42 in-target: : Impossible de trouver le paquet grub-pc Sep 26 13:09:42 kernel: [ 1197.432998] ISO 9660 Extensions: Microsoft Joliet Level 3 Sep 26 13:09:42 kernel: [ 1197.505206] ISO 9660 Extensions: RRIP_1991A Sep 26 13:09:43 kernel: [ 1198.493282] ISO 9660 Extensions: Microsoft Joliet Level 3 Sep 26 13:09:43 grub-installer: info: Calling 'apt-install grub-pc' failed When on lenny I have : Sep 25 23:42:31 main-menu[1684]: INFO: Menu item 'grub-installer' selected Sep 25 23:42:31 grub-installer: info: architecture: amd64/generic Sep 25 23:42:31 grub-installer: info: Identified partition label for /dev/sda5: msdos Sep 25 23:42:31 grub-installer: dpkg - warning: ignoring request to remove grub-pc which isn't installed. Sep 25 23:42:32 in-target: grub-common Sep 25 23:42:32 in-target: grub-legacy-doc multiboot-doc mdadm Sep 25 23:42:32 in-target: Lecture des listes de paquets... Sep 25 23:42:32 in-target: Construction de l'arbre des dépendances... Sep 25 23:42:32 in-target: Lecture des informations d'état... Sep 25 23:42:32 in-target: Les paquets supplémentaires suivants seront installés : Sep 25 23:42:32 in-target: grub-common Sep 25 23:42:32 in-target: Paquets suggérés : Sep 25 23:42:32 in-target: grub-legacy-doc multiboot-doc mdadm Sep 25 23:42:32 in-target: Les NOUVEAUX paquets suivants seront installés : Sep 25 23:42:32 in-target: grub grub-common The piece of code involded here is in grub-installer 1.55 on line 411 ( where are in case grub-pc that is *) in the switch statment ) (..) *) # Will pull in os-prober based on global setting for Recommends apt-install $grub_package || exit_code=$? ;; esac if [ $exit_code -ne 0 ] ; then db_progress STOP info "Calling 'apt-install $inst_package' failed" (..) The apt-install return error code, due to the fact that the state information read fail in /target. I've search for the apt-install command or script to go further but cannot find it at this stage... Guess it is related to dpkg or something like that. As you are the maintener of grub-installer I report it to you because it is the piece of code impacted, and do not know who is maintener for the apt-install failure.... => what provides apt-install ? apt ? Notable point : i'm installing on an extended partition : Device Boot Start End Blocks Id System /dev/sda1 1 5 40131 de Utility /dev/sda2 * 6 1918 15360000 7 HPFS/NTFS /dev/sda3 1918 10292 67267584 7 HPFS/NTFS /dev/sda4 10293 30402 161527879+ 5 Extended /dev/sda5 10293 12164 15036808+ 83 Linux /dev/sda6 12165 14084 15418368 83 Linux