[Bug 1879496] [NEW] upgrade-from-grub-legacy: environment variable DPKG_MAINTSCRIPT_NAME is required

Rolf Leggewie 1879496 at bugs.launchpad.net
Tue May 19 12:53:23 UTC 2020


Public bug reported:

I just ran into this when upgrading a xenial system to grub2.  Problem
is known and fixed in grub2 2.04-4 in Debian.  Patch needs to be
backported to groovy, focal, bionic and xenial.

This is what it looks like (or visit the Debian bug):

# upgrade-from-grub-legacy
[...]
Found initrd image: /boot/initrd.img-3.13.0-169-generic
done
dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
# echo $?
1

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: grub2 (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: bionic focal groo patch xenial

** Changed in: grub2 (Ubuntu)
       Status: New => Confirmed

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

** Also affects: grub2 (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943387
   Importance: Unknown
       Status: Unknown

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

Title:
  upgrade-from-grub-legacy: environment variable DPKG_MAINTSCRIPT_NAME
  is required

Status in grub2 package in Ubuntu:
  Confirmed
Status in grub2 package in Debian:
  Unknown

Bug description:
  I just ran into this when upgrading a xenial system to grub2.  Problem
  is known and fixed in grub2 2.04-4 in Debian.  Patch needs to be
  backported to groovy, focal, bionic and xenial.

  This is what it looks like (or visit the Debian bug):

  # upgrade-from-grub-legacy
  [...]
  Found initrd image: /boot/initrd.img-3.13.0-169-generic
  done
  dpkg-maintscript-helper: error: environment variable DPKG_MAINTSCRIPT_NAME is required
  # echo $?
  1

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



More information about the foundations-bugs mailing list