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

Prasas Chabuk 1926072 at bugs.launchpad.net
Mon Feb 27 09:07:55 UTC 2023


/usr/sbin/grub-mkconfig: 10: /etc/default/grub: acpi: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.4.0-26-generic (--remove):
 installed linux-image-5.4.0-26-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 linux-image-5.4.0-26-generic
Processing was halted because there were too many errors.

** Attachment added: "Screenshot from 2023-02-27 14-24-56.png"
   https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1926072/+attachment/5650270/+files/Screenshot%20from%202023-02-27%2014-24-56.png

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

Title:
  package grub-pc 2.04-1ubuntu26.9 failed to install/upgrade: installed
  grub-pc package post-installation script subprocess returned error
  exit status 127

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  it's impossible tu update software and core Ubuntu

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: grub-pc 2.04-1ubuntu26.9
  ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
  Uname: Linux 5.4.0-52-generic x86_64
  NonfreeKernelModules: lkp_Ubuntu_5_4_0_52_57_generic_75 lkp_Ubuntu_5_4_0_52_57_generic_74
  ApportVersion: 2.20.11-0ubuntu27.16
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Sun Apr 25 14:11:17 2021
  DuplicateSignature:
   package:grub-pc:2.04-1ubuntu26.9
   Setting up grub-pc (2.04-1ubuntu26.9) ...
   /var/lib/dpkg/info/grub-pc.config: 1: /etc/default/grub: If: not found
   dpkg: error processing package grub-pc (--configure):
    installed grub-pc package post-installation script subprocess returned error exit status 127
  ErrorMessage: installed grub-pc package post-installation script subprocess returned error exit status 127
  InstallationDate: Installed on 2020-10-30 (176 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  InvalidGrubScript: /etc/default/grub
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=08468aab-b7d5-4159-b8c0-a43f5c4aaae1 ro i8042.reset quiet splash vt.handoff=7
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.5
  SourcePackage: grub2
  Title: package grub-pc 2.04-1ubuntu26.9 failed to install/upgrade: installed grub-pc package post-installation script subprocess returned error exit status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list