/usr/share/grub-installer/grub-installer: 57: local: not in a function

Bug #1053317 reported by Para Siva
118
This bug affects 17 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Fix Released
Critical
Colin Watson
Quantal
Fix Released
Critical
Colin Watson

Bug Description

Sep 20 09:03:47 ubuntu ubiquity: Failed to symbolic-link /boot/initrd.img-3.5.0-15-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-3.5.0-15-generic.postinst line 614.
    message was present on a failed desktop preseed based installation for quantal desktop installations ( 20120920 both amd64 and i386)

There was also a message before the above one saying
'ubuntu ubiquity: Setting capabilities for gnome-keyring-daemon using Linux Capabilities failed.' that may be also of interest.

https://jenkins.qa.ubuntu.com/view/Quantal/view/ISO%20Testing%20Dashboard/job/quantal-desktop-amd64_default/162/
https://jenkins.qa.ubuntu.com/view/Quantal/view/ISO%20Testing%20Dashboard/job/quantal-desktop-i386_default/150/

Para Siva (psivaa)
tags: added: qa-manual-testing
Revision history for this message
Para Siva (psivaa) wrote :
tags: added: ubiquity-2.12.0
Revision history for this message
Colin Watson (cjwatson) wrote :

That's not the problem; if you look at the previous successful build you'll see it was there too. This is the problem:

  /usr/share/grub-installer/grub-installer: 57: local: not in a function

summary: - Failed to symbolic-link /boot/initrd.img-3.5.0-15-generic to
- initrd.img:File exists at /var/lib/dpkg/info/linux-
- image-3.5.0-15-generic.postinst line 614. on amd64 installation
+ /usr/share/grub-installer/grub-installer: 57: local: not in a function
affects: ubiquity (Ubuntu) → grub-installer (Ubuntu)
Changed in grub-installer (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → Critical
milestone: none → ubuntu-12.10-beta-2
status: New → Triaged
tags: removed: rls-q-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub-installer - 1.78ubuntu2

---------------
grub-installer (1.78ubuntu2) quantal; urgency=low

  * Don't try to use local outside a function (LP: #1053317).
 -- Colin Watson <email address hidden> Thu, 20 Sep 2012 13:33:04 +0100

Changed in grub-installer (Ubuntu Quantal):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.