[Bug 1201112] Re: 64-bit GRUB refuses to Install

Jacky Alciné jacky.alcine at thesii.org
Sun Jul 14 14:49:41 UTC 2013


After a bit of tinkering, I was able to notice the following:

On line 380 of the post-installation script for `grub-efi-amd64`, it executes the following:
package="$(ucfq --with-colons /etc/default/grub | cut -d : -f 2)" 

However, on line 529 of /usr/bin/ucfq, the following line results in a Perl missing subroutine error:
$self->{Name}  = abs_path( $self->{Name});

I changed `abs_path` to `Cwd::abs_path` and the syntax error was gone
(it was attempting to pull it from the current object's method list,
which isn't the intended behavior).

Glancing at the command again in the postinst script, I changed the
field argument in the `cut` command from 2 to 1 and got a path; the one
presumably the postinst script was looking for.

Executing the postinst again and it exiting successfully was a good
sign. Running 'update-grub' afterwards confirmed my suspicions of a
working EFI boot.

-- 
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/1201112

Title:
  64-bit GRUB refuses to Install

Status in “grub2” package in Ubuntu:
  New

Bug description:
  On an attempt to install Saucy from 13.04 (Kubuntu), an error occurs
  in /usr/bin/ucfq on line 529. Initially, I fixed it by editing the
  file to directly call `Cwd::abs_path` and let the application
  continue. It didn't solve the problem (and I've redacted such
  changes).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: grub-efi-amd64 2.00-15ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
  Uname: Linux 3.8.0-27-generic x86_64
  ApportVersion: 2.10.2-0ubuntu4
  Architecture: amd64
  Date: Sun Jul 14 09:58:53 2013
  EcryptfsInUse: Yes
  MarkForUpload: True
  SourcePackage: grub2
  UpgradeStatus: Upgraded to saucy on 2013-07-14 (0 days ago)

  The error from /usr/bin/ucfq was:

  Undefined subroutine &conffile::abs_path called at /usr/bin/ucfq line
  529, <HASH> line 21.

  The upgrade to Saucy was done using the executable `kubuntu-devel-
  release-upgrade`.

  I've attached a ppa.tar.gz

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




More information about the foundations-bugs mailing list