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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879496

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to