Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Updating friendly recovery

  1. #1
    Join Date
    Oct 2012
    Beans
    16

    Updating friendly recovery

    While updating Ubuntu 20.04 this morning, the update seems to have stopped while "updating friendly-recovery." There has been no progress for at least an hour. The last seven lines of the update show:

    Setting up friendly-recovery (0.2.4lubuntu0.20.04.1)
    Sourcing file `/etc/default/grub
    Sourcing file `/etc/default/grub.d/init-select.cfg'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-5.4.0-65-generic
    Found initrd image: /boot/initrd.img-5.4.0-65
    Found memtest86+ image: /boot/memtest86+.elf
    Found memtest86+ image: /boot/memtest86+.bin

    The cancel button is greyed out. How can I get out of this?
    Last edited by tmichaelmcn; February 18th, 2021 at 03:21 PM. Reason: I tried tp insert an image of the software updater details but was unsuccessful

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Updating friendly recovery

    postinst script for friendly-recovery first runs update-grub to..., well, to update GRUB, and then systemctl and deb-systemd-invoke to reload the service. Check what command it got stuck at:
    Code:
    ps -ef|egrep '[u]pdate-grub|[s]ystemctl|[d]eb-systemd-invoke'

  3. #3
    Join Date
    Oct 2012
    Beans
    16

    Re: Updating friendly recovery

    Here's the output:

    Code:
    tmichael    7449    7434  0 10:47 pts/3    00:00:00 grep -E --color=auto update-
    grub|systemctl|deb-systemd-invoke
    Last edited by slickymaster; February 18th, 2021 at 06:35 PM. Reason: code tags and normal font

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    11,995
    Distro
    Ubuntu

    Re: Updating friendly recovery

    The point it has stopped at is grub's os-prober.
    This is where grub probes for any other Operating Systems on the machine.
    Which begs the question do you or have you had any other operating system on the machine?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  5. #5
    Join Date
    May 2010
    Beans
    1,252

    Re: Updating friendly recovery

    If you use the terminal, is it OK. Rules out the GUI having a bad time

  6. #6
    Join Date
    Oct 2012
    Beans
    16

    Re: Updating friendly recovery

    Windows 7 is installed on the same hard drive as the boot sector. Ubuntu runs on a second hard drive.

  7. #7
    Join Date
    Oct 2012
    Beans
    16

    Re: Updating friendly recovery

    I just re-started, and the computer will no longer boot to Windows. And whenever I try to run software updater it indicates that it is still trying to update friendly-recovery. How can I get it to exit this process? As things stand, I can no longer update the software on my Ubuntu 20.04 system.

  8. #8
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Updating friendly recovery

    Try

    Code:
    sudo update-grub
    And see if that get you loading Windows. To update through the terminal

    Code:
    sudo apt update
    sudo apt upgrade
    See if that bypasses Software Updater.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  9. #9
    Join Date
    Oct 2012
    Beans
    16

    Re: Updating friendly recovery

    Thanks for your suggestions. Unfortunately, sudo-update grub gets the same response as in my original post. sudo apt update just gets me a list: "3 packages can be upgraded. Run 'apt list --upgradable' to see them." sudo apt upgrade shows the error message "Could not get lock /var/lib/dpkg/lock-frontend."

  10. #10
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    11,995
    Distro
    Ubuntu

    Re: Updating friendly recovery

    /var/lib/dpkg/lock-frontend means you have a running apt somewhere, it usually means a gui like the software updater or synaptic.
    You can clear it by usually running
    Code:
    sudo rm /var/lib/dpkg/lock*
    sudo dpkg --configure -a
    But I feel you might need to run some checks first.
    Otherwise you risk running into the same issue over and over again.

    If you have the Ubuntu installer you can us it to run boot repair:
    see https://help.ubuntu.com/community/Boot-Repair
    You can try running the boot summary from the live session and post the paste link it provides.
    It might reveal information about what's going on with the Windows side of things.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Page 1 of 2 12 LastLast

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
  •