[Bug 1002617] Re: package grub-pc 1.99-21ubuntu3 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 127

Phillip Susi psusi at ubuntu.com
Tue May 22 15:22:11 UTC 2012


You appear to have added an invalid line to the end of your
/etc/default/grub file:

i915.modeset=0

You will need to remove that.


** Changed in: grub2 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1002617

Title:
  package grub-pc 1.99-21ubuntu3 failed to install/upgrade: sub-processo
  script post-installation instalado retornou estado de saída de erro
  127

Status in “grub2” package in Ubuntu:
  Invalid

Bug description:
  bob at bob-I38II:~$ sudo apt-get install --reinstall grub-pc
  Lendo listas de pacotes... Pronto
  Construindo árvore de dependências       
  Lendo informação de estado... Pronto
  0 pacotes atualizados, 0 pacotes novos instalados, 1 reinstalados, 0 a serem removidos e 0 não atualizados.
  1 pacotes não totalmente instalados ou removidos.
  É preciso baixar 140 kB de arquivos.
  Depois desta operação, 0 B adicionais de espaço em disco serão usados.
  Obter:1 http://br.archive.ubuntu.com/ubuntu/ precise/main grub-pc i386 1.99-21ubuntu3 [140 kB]
  Baixados 140 kB em 3s (41,7 kB/s) 
  Pré-configurando pacotes ...
  /tmp/grub-pc.config.191071: 36: /etc/default/grub: i915.modeset=0: not found
  grub-pc falhou na preconfiguração com estado de saída 127
  (Lendo banco de dados ... 190506 ficheiros e directórios actualmente instalados.)
  Preparando para substituir grub-pc 1.99-21ubuntu3 (usando .../grub-pc_1.99-21ubuntu3_i386.deb) ...
  Desempacotando substituto grub-pc ...
  Processando gatilhos para man-db ...
  Configurando linux-image-3.2.0-24-generic-pae (3.2.0-24.38) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Not updating initrd symbolic links since we are being updated/reinstalled 
  (3.2.0-24.37 was configured last, according to dpkg)
  Not updating image symbolic links since we are being updated/reinstalled 
  (3.2.0-24.37 was configured last, according to dpkg)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-24-generic-pae /boot/vmlinuz-3.2.0-24-generic-pae
  update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic-pae
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-24-generic-pae /boot/vmlinuz-3.2.0-24-generic-pae
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-24-generic-pae /boot/vmlinuz-3.2.0-24-generic-pae
  run-parts: executing /etc/kernel/postinst.d/zz-runlilo 3.2.0-24-generic-pae /boot/vmlinuz-3.2.0-24-generic-pae
  Warning: Not updating LILO; /etc/lilo.conf not found!
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-24-generic-pae /boot/vmlinuz-3.2.0-24-generic-pae
  /usr/sbin/grub-mkconfig: 36: /etc/default/grub: i915.modeset=0: not found
  run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
  Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-24-generic-pae.postinst line 1010.
  dpkg: erro processando linux-image-3.2.0-24-generic-pae (--configure):
   sub-processo script post-installation instalado retornou estado de saída de erro 2
  Configurando grub-pc (1.99-21ubuntu3) ...
  /var/lib/dpkg/info/grub-pc.config: 36: /etc/default/grub: i915.modeset=0: not found
  dpkg: erro processando grub-pc (--configure):
   sub-processo script post-installation instalado retornou estado de saída de erro 127
  Erros foram encontrados durante o processamento de:
   linux-image-3.2.0-24-generic-pae
   grub-pc
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: grub-pc 1.99-21ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-24.38-generic-pae 3.2.16
  Uname: Linux 3.2.0-24-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu7
  AptOrdering:
   grub-pc: Install
   linux-image-3.2.0-24-generic-pae: Configure
   grub-pc: Configure
  Architecture: i386
  Date: Tue May 22 00:12:09 2012
  ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 127
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  InvalidGrubScript: /etc/default/grub
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic-pae root=UUID=ebf22b3e-8a93-4bd3-8435-7cfee1ae7fc7 ro quiet splash vt.handoff=7
  SourcePackage: grub2
  Title: package grub-pc 1.99-21ubuntu3 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 127
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1002617/+subscriptions




More information about the foundations-bugs mailing list