Results 1 to 9 of 9

Thread: Errors were encountered while processing: grub-efi-amd64-signed

  1. #1
    Join Date
    Jun 2024
    Beans
    5

    Angry Errors were encountered while processing: grub-efi-amd64-signed

    what to do if there is a constant error related to grub, I tried to reinstall it with the help of:
    Code:
    sudo apt-get purge grub 
    sudo apt-get install grub-efi
    sudo apt-get autoremove 
    sudo update-grub
    Output:
    Code:
    stephan@stephan-System-ASUS:~$ sudo apt-get install grub-efi
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    grub-efi is already the newest version (2.12-1ubuntu7).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up grub-efi-amd64-signed (1.202+2.12-1ubuntu7) ...
    dpkg: error processing package grub-efi-amd64-signed (--configure):
     installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10
    Errors were encountered while processing:
     grub-efi-amd64-signed
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    and more:
    Code:
    stephan# apt-get autoremove update-grub
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up grub-efi-amd64-signed (1.202+2.12-1ubuntu7) ...
    dpkg: error processing package grub-efi-amd64-signed (--configure):
     installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10
    Errors were encountered while processing:
     grub-efi-amd64-signed
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Sourcing file `/etc/default/grub'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-6.8.0-35-generic
    Found initrd image: /boot/initrd.img-6.8.0-35-generic
    Found linux image: /boot/vmlinuz-6.8.0-31-generic
    Found initrd image: /boot/initrd.img-6.8.0-31-generic
    Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
    Warning: os-prober will not be executed to detect other bootable partitions.
    Systems on them will not be added to the GRUB boot configuration.
    Check GRUB_DISABLE_OS_PROBER documentation entry.
    Adding boot menu entry for UEFI Firmware Settings ...
    done
    and every time when i installing smth, i see this:
    Code:
    Setting up grub-efi-amd64-signed (1.202+2.12-1ubuntu7) ...
    dpkg: error processing package grub-efi-amd64-signed (--configure):
     installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 10
    Errors were encountered while processing:
     grub-efi-amd64-signed
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    what should I do to correct this error?
    Last edited by stephanomuri1; June 23rd, 2024 at 09:32 PM.

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,300
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    stephanomuri1 - Hello

    The error is in regards to the grub-efi-amd64-signed package.
    See in terminal:
    Code:
    apt show grub-efi-amd64-signed
    I do not recall when the change to Version 2 happened - but I bet it applies in your case.
    what shows:
    Code:
    apt policy grub-efi-amd64-signed
    and consider installing the grub-efi-amd64-signed package.

    my bit to try and help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Jun 2024
    Beans
    5

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    i'm new in Ubuntu, what should i do=/

    I have written "apt policy grub-efi-amd64-signed" and it shows me:

    Code:
    grub-efi-amd64-signed:
      Installed: 1.202+2.12-1ubuntu7
      Candidate: 1.202+2.12-1ubuntu7
      Version table:
     *** 1.202+2.12-1ubuntu7 500
            500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
            100 /var/lib/dpkg/status
    and "apt show grub-efi-amd64-signed" it shows me:

    Code:
    Package: grub-efi-amd64-signed
    Version: 1.202+2.12-1ubuntu7
    Built-Using: grub2 (= 2.12-1ubuntu7)
    Priority: optional
    Section: utils
    Source: grub2-signed (1.202)
    Origin: Ubuntu
    Maintainer: Colin Watson <cjwatson@ubuntu.com>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 7,334 kB
    Depends: debconf (>= 0.5) | debconf-2.0, grub-efi-amd64-bin (= 2.12-1ubuntu7), grub-efi-amd64 | grub-pc, grub2-common (>= 2.02+dfsg1-5)
    Recommends: secureboot-db
    Task: ubuntu-live, kubuntu-live, xubuntu-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live, edubuntu-live, ubuntucinnamon-live
    Download-Size: 1,392 kB
    APT-Manual-Installed: yes
    APT-Sources: http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
    Description: GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
     GRUB is a portable, powerful bootloader.  This version of GRUB is based on a
     cleaner design than its predecessors, and provides the following new features:
     .
      - Scripting in grub.cfg using BASH-like syntax.
      - Support for modern partition maps such as GPT.
      - Modular generation of grub.cfg via update-grub.  Packages providing GRUB
        add-ons can plug in their own script rules and trigger updates by invoking
        update-grub.
     .
     This package contains a version of GRUB built for use with the EFI-AMD64
     architecture, signed with Canonical's UEFI signing key.


    i can't reinstall it, I tried other ways from the forums, but it didn't help, still the same errors....

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,300
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    stephanomuri1; Hummm

    Package manager do confirm "grub-efi-amd64-signed" is installed.

    So, we try and get the package manager to tell us why it is so unhappy.
    confirm to us what release we are working with - that the correct versions of packages are installed:
    Code:
    lsb_release -a
    proof to us that all packages are up-2-date
    Code:
    sudo apt update
    sudo apt full-upgrade
    And next if all is as spiffy as can be under the circumstances -- we get the package manager to try and tell us what ails it.

    gots to be a reason
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Jun 2024
    Beans
    5

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    I reinstalled grub2 via boot repair using live usb and the error did not go away, the packages are still corrupted..
    Code:
    @: lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 24.04 LTS
    Release:    24.04

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,300
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    stephanomuri1; Oh

    24.04 and grub issues ...
    Just to rule out ( was in my case) a splash hick-up
    Boot to grub's boot menu -
    e key for edit mode
    In this screen arrow down to the "linux" line and remove "quiet splash"
    ctl+x to continue the boot.
    log in.
    Does
    Code:
    sudo update-grub
    now run error free - by some slight chance ?

    else next we try and reconfigure the package and see what the system reports.

    there's fix somewhere
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,300
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    If the (O)riginal (P)oster does not say; we will never know

    -inquiring mind want to know-
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Jun 2024
    Beans
    3

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    I had the same issue with GRUB before. What worked for me was booting from a live USB, mounting my Linux partition, and then reinstalling GRUB from the terminal. Make sure you know which partition your system is on and follow a guide if needed. This fixed the problem for me. Hopefully, it helps you too!

  9. #9
    Join Date
    Jun 2024
    Beans
    5

    Re: Errors were encountered while processing: grub-efi-amd64-signed

    Unfortunately only a complete reinstallation of linux helped, something was corrupted from the system files, but I'm not too cool user of linux to look for some small bug that caused this, after a complete reinstallation all the errors disappeared related to this).

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •