[Bug 1965527] Re: package grub-pc 2.04-1ubuntu26.13 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 2

Julian Andres Klode 1965527 at bugs.launchpad.net
Tue Apr 12 10:34:43 UTC 2022


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
Foundations Bugs, which is subscribed to grub2 in 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

Status in grub2 package in Ubuntu:
  Invalid

Bug description:
  ı want to improve this system.

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: grub-pc 2.04-1ubuntu26.13
  ProcVersionSignature: Ubuntu 5.13.0-35.40~20.04.1-generic 5.13.19
  Uname: Linux 5.13.0-35-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Thu Mar 17 20:29:05 2022
  ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 2
  InstallationDate: Installed on 2021-01-21 (420 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-35-generic root=UUID=48aac641-764f-4681-911d-2c52673858e1 ro quiet splash vt.handoff=7
  Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.6
  SourcePackage: grub2
  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
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list