Public bug reported:

1) Source package: linux-image-2.6.24-12-386

2) Release of Ubuntu:

Description:    Ubuntu hardy (development branch)
Release:        8.04

3) Version of the package:

linux-image-2.6.24-12-386:
  Instalados: 2.6.24-12.22
  Candidato: 2.6.24-12.22
  Tabla de versión:
 *** 2.6.24-12.22 0
        500 http://ve.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

4) This is a problem I encountered while upgrading my Gutsy 7.10 to
Hardy 8.04. I found the solution on http://gazambuja.ideas3.com/
(Gracias, Gustavo!), but I thought it would be good to have here, and in
English. Upgrading works fine, downloads everything and gives the
following error while trying to configure the new linux-image.

5) This is the output I got:

Running postinst hook script /sbin/update-grub.
[: 25: ==: unexpected operator
exec: 25: -a: not found
User postinst hook script [/sbin/update-grub] exited with value 2
dpkg: error al procesar linux-image-2.6.24-12-386 (--configure)

Following that error, the rest of the installation stops because of
unmet dependencies (logically). I have an nVidia 6200 Graphics card, and
the drivers would not load without first fixing that.

6) This is how I solved it:

We have to modify the scrip file /sbin/update-grub. In a terminal, type:

gksu gedit /sbin/update-grub

Look up the first line, that begins with: #!/bin/sh and change that to:
#!/bin/bash

Save the changes and re-run your installation. Optionally use: sudo apt-
get -f install , or something similar.

Original en Español: http://gazambuja.ideas3.com/2007/10/...alizar-
ubuntu/

** Affects: ubuntu
     Importance: Undecided
     Assignee: Angel Ramírez Isea (angel-ramirez-isea)
         Status: New

** Changed in: ubuntu
     Assignee: (unassigned) => Angel Ramírez Isea (angel-ramirez-isea)

-- 
[Hardy] Fixing update-grub in Hardy Beta
https://bugs.launchpad.net/bugs/208638
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to