grub-common.service upgrade/install failures

Bug #2004143 reported by Rivo
126
This bug affects 28 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Paramétrage de grub-common (2.06-2ubuntu7.1) ...
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for grub-common.service failed because the control process exited with error code.
See "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 2023-01-28 10:28:01 CET; 15ms ago
    Process: 6673 ExecStartPre=/bin/sh -c [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv; mkdir -p /boot/grub (code=exited, status=0/SUCCESS)
    Process: 6675 ExecStart=grub-editenv /boot/grub/grubenv unset recordfail (code=exited, status=1/FAILURE)
   Main PID: 6675 (code=exited, status=1/FAILURE)
        CPU: 8ms

Aucun rapport « apport » n'a été créé car le message d'erreur indique une erreur consécutive à un échec précédent.
                       Le paquet grub-common n'est pas encore configuré.

Traitement des actions différées (« triggers ») pour libc-bin (2.35-0ubuntu3.1) ...
Des erreurs ont été rencontrées pendant l'exécution :
 grub-common
 grub2-common
 grub-pc-bin
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: grub2-common 2.06-2ubuntu7.1
ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
Uname: Linux 5.15.0-58-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
AptOrdering:
 mysql-client-8.0:amd64: Install
 mysql-server-8.0:amd64: Install
 mysql-server-core-8.0:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Jan 30 09:50:59 2023
ErrorMessage: problèmes de dépendances - laissé non configuré
InstallationDate: Installed on 2022-03-22 (313 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic root=UUID=ee3ad347-0dc5-4a0a-9bf7-d81333130354 ro quiet splash vt.handoff=7
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: grub2
Title: package grub2-common 2.06-2ubuntu7.1 failed to install/upgrade: problèmes de dépendances - laissé non configuré
UpgradeStatus: Upgraded to jammy on 2022-08-22 (160 days ago)

Revision history for this message
Rivo (rivo-r) wrote :
Revision history for this message
Steve Beattie (sbeattie) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Revision history for this message
Seth Arnold (seth-arnold) wrote : Re: package grub2-common 2.06-2ubuntu7.1 failed to install/upgrade: problèmes de dépendances - laissé non configuré

Please note these lines in your logs suggest your hard drive is failing:

[ 2652.991434] ata1.00: status: { DRDY ERR }
[ 2652.991439] ata1.00: error: { UNC }
[ 2652.993230] ata1.00: configured for UDMA/133
[ 2652.993260] sd 0:0:0:0: [sda] tag#22 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=4s
[ 2652.993266] sd 0:0:0:0: [sda] tag#22 Sense Key : Medium Error [current]
[ 2652.993271] sd 0:0:0:0: [sda] tag#22 Add. Sense: Unrecovered read error - auto reallocate failed
[ 2652.993276] sd 0:0:0:0: [sda] tag#22 CDB: Read(10) 28 00 05 11 04 28 00 00 08 00
[ 2652.993279] blk_update_request: I/O error, dev sda, sector 85001256 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 2652.993302] ata1: EH complete
[ 2658.083524] ata1.00: exception Emask 0x0 SAct 0x30000 SErr 0x40000 action 0x0
[ 2658.083551] ata1.00: irq_stat 0x40000008
[ 2658.083560] ata1: SError: { CommWake }
[ 2658.083574] ata1.00: failed command: READ FPDMA QUEUED
[ 2658.083582] ata1.00: cmd 60/08:80:28:04:11/00:00:05:00:00/40 tag 16 ncq dma 4096 in
                        res 41/40:00:28:04:11/00:00:05:00:00/40 Emask 0x409 (media error) <F>

I recommend making backups of important data.

Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Mate Kukri (mkukri)
summary: - package grub2-common 2.06-2ubuntu7.1 failed to install/upgrade:
- problèmes de dépendances - laissé non configuré
+ grub-common.service upgrade/install failures
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.