Bug#856416: grub-efi-amd64: Updating grub-efi-amd64:amd64 to 2.02~beta3-5 is aborted with half-installed package and reboot

Reiner Nix reiner.nix at web.de
Wed Mar 1 18:46:14 UTC 2017


Hi Adrian!

> This looks more like a local configuration issue at first sight rather than
> a bug in the grub2 package. Did you try to reproduce this issue on a freshly
> installed system?
Sorry, I did not try to reproduce this bug on another system.
However my system is quite young. Setup from scratch was started on 20.10.2016 using a new pc.

The grub configuration was never changed manually, any maintenance was done using apt-get.


> I'm also not sure I understand how the configure process was interrupted? Did it
> just abort on its own or did you hit "Ctrl+C" or did your machine crash?
> 
> I'm tagging this "moreinfo" because it's currently not obvious how and when
> the configure process for grub2 was interrupted.

While running apt-get upgrade, and installing the package, the system crashed.
Before it did not display any other message than the usual apt-get / dpkg message to install X86-64-efi
and in the next second it rebooted automatically not caused by any user activity or job.
Before the reboot it did not execute the standard shutdown jobs.
The reboot was just as if the system started with power on.

Also there was no reasonable additional load, just my desktop environment (KDE) and email program were running idle 
indeed at the first time I was not present at the desk. When coming back I noticed that the system displayed the login screen while I did not logout.

Some time later I tried to continue the update using 'dpkg --configure -a'.
So I discovered that the update could not be completed but run into reboot.

This was reproducible unless on the next day the configuration could be completed.

Hope this clarifies the situation a bit. 
Give me a note when I could provide any other details like log files etc.

Please find below an extract from the dpkg.log showing the lines regarding grub-efi-amd64.

Thanks for your help,
Reiner

--- extract from /var/log/dpkg.log ---
2017-02-05 19:17:30 configure grub-efi-amd64:amd64 2.02~beta3-4 <keine>
2017-02-05 19:17:30 status unpacked grub-efi-amd64:amd64 2.02~beta3-4
2017-02-05 19:17:30 status unpacked grub-efi-amd64:amd64 2.02~beta3-4
2017-02-05 19:17:30 status unpacked grub-efi-amd64:amd64 2.02~beta3-4
2017-02-05 19:17:30 status half-configured grub-efi-amd64:amd64 2.02~beta3-4
2017-02-05 19:17:43 status installed grub-efi-amd64:amd64 2.02~beta3-4
(...)
2017-02-27 12:18:35 upgrade grub-efi-amd64:amd64 2.02~beta3-4 2.02~beta3-5
2017-02-27 12:18:35 status half-configured grub-efi-amd64:amd64 2.02~beta3-4
2017-02-27 12:18:35 status unpacked grub-efi-amd64:amd64 2.02~beta3-4
2017-02-27 12:18:35 status half-installed grub-efi-amd64:amd64 2.02~beta3-4
2017-02-27 12:18:35 status half-installed grub-efi-amd64:amd64 2.02~beta3-4
2017-02-27 12:18:35 status unpacked grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:18:35 status unpacked grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:18:35 upgrade grub-efi-amd64-bin:amd64 2.02~beta3-4 2.02~beta3-5
2017-02-27 12:18:35 status half-configured grub-efi-amd64-bin:amd64 2.02~beta3-4
2017-02-27 12:18:35 status unpacked grub-efi-amd64-bin:amd64 2.02~beta3-4
2017-02-27 12:18:35 status half-installed grub-efi-amd64-bin:amd64 2.02~beta3-4
2017-02-27 12:18:35 status half-installed grub-efi-amd64-bin:amd64 2.02~beta3-4
2017-02-27 12:18:36 status unpacked grub-efi-amd64-bin:amd64 2.02~beta3-5
2017-02-27 12:18:36 status unpacked grub-efi-amd64-bin:amd64 2.02~beta3-5
(...)
2017-02-27 12:20:09 configure grub-efi-amd64-bin:amd64 2.02~beta3-5 <keine>
2017-02-27 12:20:09 status unpacked grub-efi-amd64-bin:amd64 2.02~beta3-5
2017-02-27 12:20:09 status half-configured grub-efi-amd64-bin:amd64 2.02~beta3-5
2017-02-27 12:20:09 status installed grub-efi-amd64-bin:amd64 2.02~beta3-5
(...)
2017-02-27 12:20:56 configure grub-efi-amd64:amd64 2.02~beta3-5 <keine>
2017-02-27 12:20:56 status unpacked grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:20:57 status unpacked grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:20:57 status unpacked grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:20:57 status half-configured grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:49:58 startup packages configure
2017-02-27 12:49:58 configure grub-efi-amd64:amd64 2.02~beta3-5 <keine>
2017-02-27 12:49:58 status half-configured grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 12:51:26 startup packages configure
2017-02-27 12:51:32 startup packages configure
2017-02-27 12:51:32 configure grub-efi-amd64:amd64 2.02~beta3-5 <keine>
2017-02-27 12:51:32 status half-configured grub-efi-amd64:amd64 2.02~beta3-5
2017-02-27 13:53:22 startup packages configure
2017-02-27 13:53:22 configure grub-efi-amd64:amd64 2.02~beta3-5 <keine>
2017-02-27 13:53:22 status half-configured grub-efi-amd64:amd64 2.02~beta3-5
2017-02-28 21:16:13 startup packages configure
2017-02-28 21:16:13 configure grub-efi-amd64:amd64 2.02~beta3-5 <keine>
2017-02-28 21:16:13 status half-configured grub-efi-amd64:amd64 2.02~beta3-5
2017-02-28 21:16:20 status installed grub-efi-amd64:amd64 2.02~beta3-5
---



More information about the Pkg-grub-devel mailing list