Public bug reported: while running update-grub or grub-mkconfig the program tries to call 'gawk'.
however the grub packages dont depend on gawk so gawk is not installed. so we get this error, in this case when looking for a BSD partition ### BEGIN /etc/grub.d/30_os-prober ### /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found . . . ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: grub2-common 1.99-21ubuntu3.9 ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2 Uname: Linux 3.5.0-23-generic i686 ApportVersion: 2.0.1-0ubuntu17.1 Architecture: i386 Date: Sun Apr 14 17:22:46 2013 InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 (20130213) MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: grub2 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: grub2 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 precise running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1168982 Title: update-grub uses gawk but doesnt depend on gawk To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1168982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs