[Bug 2058809] Re: package grub-common 2.06-2ubuntu7.2 failed to install/upgrade: o subprocesso instalado, do pacote grub-common, o script post-installation retornou erro do status de saída 1

Mate Kukri 2058809 at bugs.launchpad.net
Tue Jun 18 13:43:10 UTC 2024


*** This bug is a duplicate of bug 2004143 ***
    https://bugs.launchpad.net/bugs/2004143

** This bug has been marked a duplicate of bug 2004143
   grub-common.service upgrade/install failures

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

Title:
  package grub-common 2.06-2ubuntu7.2 failed to install/upgrade: o
  subprocesso instalado, do pacote grub-common, o script post-
  installation retornou erro do status de saída 1

Status in grub2 package in Ubuntu:
  New

Bug description:
  ee "systemctl status grub-common.service" and "journalctl -xeu grub-common.service" for details.
  invoke-rc.d: initscript grub-common, action "restart" failed.
  × grub-common.service - Record successful boot for GRUB
       Loaded: loaded (/lib/systemd/system/grub-common.service; enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Sat 2024-03-23 10:00:40 -03; 5ms ago
      Process: 6561 ExecStartPre=/bin/sh -c [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv; mkdir -p /boot/grub (code=exited, status=0/SUCCESS)
      Process: 6563 ExecStart=grub-editenv /boot/grub/grubenv unset recordfail (code=exited, status=1/FAILURE)
     Main PID: 6563 (code=exited, status=1/FAILURE)
          CPU: 4ms

  mar 23 10:00:40 Note-Camila systemd[1]: Starting Record successful boot for GRUB...
  mar 23 10:00:40 Note-Camila grub-editenv[6563]: grub-editenv: erro: bloco do ambiente inválido.
  mar 23 10:00:40 Note-Camila systemd[1]: grub-common.service: Main process exited, code=exited, status=1/FAILURE
  mar 23 10:00:40 Note-Camila systemd[1]: grub-common.service: Failed with result 'exit-code'.
  mar 23 10:00:40 Note-Camila systemd[1]: Failed to start Record successful boot for GRUB.
  dpkg: erro ao processar o pacote grub-common (--configure):
   o subprocesso instalado, do pacote grub-common, o script post-installation retornou erro do status de saída 1
  Configurando gsmartcontrol (1.1.4-1) ...
  dpkg: problemas com dependências impedem a configuração de grub-efi-amd64-bin:
   grub-efi-amd64-bin depende de grub-common (>= 2.02~beta2-9); porém:
    Pacote grub-common não está configurado ainda.

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: grub-common 2.06-2ubuntu7.2
  ProcVersionSignature: Ubuntu 6.5.0-25.25~22.04.1-generic 6.5.13
  Uname: Linux 6.5.0-25-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  AptOrdering:
   libpcrecpp0v5:amd64: Install
   smartmontools:amd64: Install
   gsmartcontrol:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sat Mar 23 10:00:40 2024
  DpkgHistoryLog:
   Start-Date: 2024-03-23  10:00:33
   Commandline: apt-get install gsmartcontrol
   Requested-By: camila (1000)
   Install: gsmartcontrol:amd64 (1.1.4-1), libpcrecpp0v5:amd64 (2:8.39-13ubuntu0.22.04.1, automatic), smartmontools:amd64 (7.2-1ubuntu0.1, automatic)
  ErrorMessage: o subprocesso instalado, do pacote grub-common, o script post-installation retornou erro do status de saída 1
  InstallationDate: Installed on 2022-09-16 (553 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-25-generic root=UUID=c0a15a4c-3946-4fc3-b1ab-f9a011576a08 ro quiet splash
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.11
  SourcePackage: grub2
  Title: package grub-common 2.06-2ubuntu7.2 failed to install/upgrade: o subprocesso instalado, do pacote grub-common, o script post-installation retornou erro do status de saída 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list