[Bug 1168982] Re: update-grub uses gawk but doesnt depend on gawk

Colin Watson cjwatson at canonical.com
Thu May 9 10:38:25 UTC 2013


This was fixed in Ubuntu 12.10 via Debian:

os-prober (1.52) unstable; urgency=low

  [ Stéphane Graber ]
  * Add support for Windows 8.

  [ Colin Watson ]
  * Install README and TODO in the .deb.

  [ Joey Hess ]
  * Revert broken patch adding support for BSD distributions. Closes: #668860

 -- Joey Hess <joeyh at debian.org>  Fri, 20 Apr 2012 10:50:38 -0400

I believe this is a cosmetic failure - that is, it's ugly but it doesn't
cause os-prober or indirectly update-grub to fail - and so I don't at
this point think that we need to backport the fix to 12.04.  If I'm
wrong and it does in fact cause a functional failure, feel free to
reopen this bug.

** Package changed: grub2 (Ubuntu) => os-prober (Ubuntu)

** Bug watch added: Debian Bug tracker #668860
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668860

** Also affects: os-prober (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668860
   Importance: Unknown
       Status: Unknown

** Changed in: os-prober (Ubuntu)
       Status: New => Fix Released

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

Title:
  update-grub uses gawk but doesnt depend on gawk

Status in “os-prober” package in Ubuntu:
  Fix Released
Status in “os-prober” package in Debian:
  Unknown

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1168982/+subscriptions




More information about the foundations-bugs mailing list