Thanks for your bug report.
This seems to be caused by a locally modified /etc/grub.d/30_os-prober:
/etc/grub.d/30_os-prober: 324: printf: %2$: invalid directive
and therefore I am closing this as Invalid. Use one of the available
support channels like askubuntu, Ubuntu discourse, IRC, mailing list if
you need help resolving this issue.
For comparison the original file contains these lines 323-325:
;;
macosx)
if [ "${UUID}" ]; then
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965527
Title:
package grub-pc 2.04-1ubuntu26.13 failed to install/upgrade: installed
grub-pc package post-installation script subprocess returned error
exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1965527/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs