[Bug 2023973] [NEW] Low priority. Documentation. Suggestion : improve error messages. Url pointing to more information for user
Tgkprog
2023973 at bugs.launchpad.net
Thu Jun 15 08:24:31 UTC 2023
Public bug reported:
Suggest to print a URL pointing to a page that has suggested remedies
for issues like (reference
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2023745/comments/2)
Setting up grub-common (2.06-2ubuntu7.2) ...
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 ba
ck 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.serv
ice" 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 pr
eset: enabled)
Active: failed (Result: exit-code) since Wed 2023-06-14 12:43:46 IST; 11ms
ago
Process: 5081 ExecStartPre=/bin/sh -c [ -s /boot/grub/grubenv ] || rm -f /bo
ot/grub/grubenv; mkdir -p /boot/grub (code=exited, status=0/SUCCESS)
Process: 5086 ExecStart=grub-editenv /boot/grub/grubenv unset recordfail (co
de=exited, status=1/FAILURE)
Main PID: 5086 (code=exited, status=1/FAILURE)
CPU: 8ms
The document can say for an error like above :
in the output grub-common failed to install because the service failed to restart which edits the /boot/grub/grubenv file. This indicates the file is corrupted either due to a bug in grub we don't know about, a hard reset during grub running which corrupted the disk cache or something like that, or the drive is failing.
My suggestion is to perform a drive check and delete the file to solve
the issue.
----
Might free up sometime as fewer invalid bugs will be filed by noobs like
me
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Suggestion : improve error messages. Url pointing to more information for user
+ Low priority. Documentation. Suggestion : improve error messages. Url pointing to more information for user
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2023973
Title:
Low priority. Documentation. Suggestion : improve error messages. Url
pointing to more information for user
Status in apt package in Ubuntu:
New
Bug description:
Suggest to print a URL pointing to a page that has suggested remedies
for issues like (reference
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2023745/comments/2)
Setting up grub-common (2.06-2ubuntu7.2) ...
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 ba
ck 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.serv
ice" 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 pr
eset: enabled)
Active: failed (Result: exit-code) since Wed 2023-06-14 12:43:46 IST; 11ms
ago
Process: 5081 ExecStartPre=/bin/sh -c [ -s /boot/grub/grubenv ] || rm -f /bo
ot/grub/grubenv; mkdir -p /boot/grub (code=exited, status=0/SUCCESS)
Process: 5086 ExecStart=grub-editenv /boot/grub/grubenv unset recordfail (co
de=exited, status=1/FAILURE)
Main PID: 5086 (code=exited, status=1/FAILURE)
CPU: 8ms
The document can say for an error like above :
in the output grub-common failed to install because the service failed to restart which edits the /boot/grub/grubenv file. This indicates the file is corrupted either due to a bug in grub we don't know about, a hard reset during grub running which corrupted the disk cache or something like that, or the drive is failing.
My suggestion is to perform a drive check and delete the file to solve
the issue.
----
Might free up sometime as fewer invalid bugs will be filed by noobs
like me
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2023973/+subscriptions
More information about the foundations-bugs
mailing list