Results 1 to 5 of 5

Thread: grub-pc upgrade error

  1. #1
    Join Date
    Mar 2007
    Beans
    554

    grub-pc upgrade error

    This afternoon I updated 2 similar computers with 18.04 LTS. One went just fine. However I got an error upgrading grub-pc on the second one.

    Code:
    Setting up grub-pc (2.02-2ubuntu8.14) ...
    dpkg: error processing package grub-pc (--configure):
     installed grub-pc package post-installation script subprocess returned error exit status 20
    I've tried the usual fixes:

    Code:
    dpkg --configure -a
    apt install -f
    apt install --reinstall
    apt autoclean
    All return the same error. I've googled the the error and none of the posts seem current.
    I can remove the package but any attempt to reinstall it generates the same error.
    Code:
    apt remove pc-grub

    Oddly looking at the logs for the first computer I updated it seems to have updated grub-pc correctly.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: grub-pc upgrade error

    There is this bug, but not sure if real bug or not:
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1848826

    May be best to see details, use ppa version with your live installer (2nd option) or any working install, not older Boot-Repair ISO:
    Please copy & paste link to the Boot-info summary report ( do not post report), the auto fix sometimes can create more issues.
    https://help.ubuntu.com/community/Boot-Repair

    What brand/model system?
    What video card/chip?

    Update or new install?
    If update, did you remove all proprietary drivers & ppas?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Mar 2007
    Beans
    554

    Re: grub-pc upgrade error

    This was a typical

    Code:
    apt update
    apt full-upgrade.
    The computer had been upgraded from 16.04 more than a year ago. It's been running fine since then.
    I found some references to older bugs that had the same a error message, but I missed the Launchpad bug but you found.

    Oddly another computer set up very similarly upgraded grub-pc just fine.

    I'm away from the site until Wednesday so I'll check everything again then.

  4. #4
    Join Date
    Mar 2007
    Beans
    554

    Re: grub-pc upgrade error

    I have subsequently update four other similar computers running 18.04 at another site with no error.
    A straightforward bug seems unlikely.

  5. #5
    Join Date
    Mar 2007
    Beans
    554

    Re: grub-pc upgrade error

    I have returned after a week out of town. Ok This is a little odd. I updated all of my computers at the original site and all ran perfectly. The error went away.
    I'm going to make this one solved.

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
  •