Results 1 to 6 of 6

Thread: Interrupted Upgrade Won't Boot

  1. #1
    Join Date
    Aug 2007
    Beans
    66

    Interrupted Upgrade Won't Boot

    Hello

    While my Xubuntu updater was installing updates, i removed several packages in Ubuntu Software Center. Then, when the updater asked to restart, i clicked 'restart'. But, the Ubuntu Software Center still had a blue number displayed in the "Progress" spinner (which was still spinning).

    On restart, i see all the packages i had removed in Software Center were gone. But, i'm concerned the uninstalls were incomplete, since the Progress spinner still showed pending activity when i restarted.

    Were the uninstalls done properly and completely?

    Next, i had my Xubuntu updater upgrading Xubuntu. During the "Installation" phase, i closed the lid of my computer.

    When i reopened the lid, there was an 'authorization required' dialog, asking for my password. Unfortunately, sometimes when i reopend the lid, some key was stuck in repeat mode, and the only way to cancel the key-repeat is to hit the Escape key. Unfortunately, this had the effect of cancelling the 'authorization required' dialog. I noticed the updater finished the upgrade, and asked me to restart the computer.

    Now i get a command-line on booting-- no desktop.

    What happened? Is my install hosed?

    Thx!

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

    Re: Interrupted Upgrade Won't Boot

    If you are concerned that removed packages have not been fully removed, then install them again and then uninstall then again. And allow the Software Centre the time to finish.

    An upgrade that requires a restart always gives us the option to "restart now" or "restart later."

    What does closing the lid do? Does it put the machine into hibernation? Is the OS set to require a password to unlock the OS when coming out of hibernation for screen lock?

    The question of incomplete removal of packages is of lesser importance now because of a much bigger problem. Who can say what the problem is? It depends on what kind of command line you are getting. Is it a grub rescue prompt? Or is it a Linux command line where you can log in? Or is it just a flashing white cursor? At what point does the loading stop. If we knew that we might have an idea of how serious this problem is.

    There is something that you can try and I give no promises.

    1) Use the Advance options for Ubuntu to go into Recovery mode.
    2) At the recovery menu select Network. That will set up an internet connection and put the file system in read/write mode.
    3) When back at the recovery menu select Root. That will give you a root shell prompt and then use these commands to update/upgrade. See what errors you get
    4) apt-get update
    5) apt-get upgrade
    6) When finished type this command to get back to the recovery menu
    7) exit.
    8) At the recovery menu select Resume and see what happens.

    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


  3. #3
    Join Date
    Feb 2015
    Location
    Florida
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: Interrupted Upgrade Won't Boot

    You need to allow your updates to completely update that's what there were intended for, interrupting updates will only cause other issues with other programs.

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Interrupted Upgrade Won't Boot

    How did you manage to get both the update utility and Software centre both working at the same time? Any two "apt" applications running at the same moment allways show an error for the second one opened.

  5. #5
    Join Date
    Aug 2007
    Beans
    66

    Re: Interrupted Upgrade Won't Boot

    thx for all replies. Before i saw these replies, i went ahead and did a reinstall of the OS. That was the simplest solution.

    Quote Originally Posted by grahammechanical View Post
    If you are concerned that removed packages have not been fully removed, then install them again and then uninstall then again. And allow the Software Centre the time to finish. An upgrade that requires a restart always gives us the option to "restart now" or "restart later."
    in other words, the software center and updater apt applications don't look out for each other. That might be a good idea! I believe i've seen that if software center is running when i do a command-line apt-get, i get an error saying you cannot do that because another apt application is already running. Seems like it would be helpful if the GUI apps did that too.

    Quote Originally Posted by grahammechanical View Post
    What does closing the lid do? Does it put the machine into hibernation? Is the OS set to require a password to unlock the OS when coming out of hibernation for screen lock?
    Was set to screen-lock. Don't recall about the password, but i think so.

    Quote Originally Posted by grahammechanical View Post
    Use the Advance options for Ubuntu to go into Recovery mode.
    Those are helpful steps, which i may use in the future. Thx for that.
    Quote Originally Posted by ajgreeny View Post
    How did you manage to get both the update utility and Software centre both working at the same time?
    Hm, i believe i opened one, and then opened the other. It's possible i waited to open the software center after the updater was already running.

    Quote Originally Posted by ajgreeny View Post
    Any two "apt" applications running at the same moment allways show an error for the second one opened.
    i did not get any errors.

    thx! but this issue is no more, as i've reinstalled the OS.
    Last edited by johny why; June 8th, 2015 at 11:02 PM.

  6. #6
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Interrupted Upgrade Won't Boot

    I have always disabled the autostart of software-updater in my system as I think it is very annoying. I use the notification system in the panel instead.

    I am not sure, however, how or even if you can disable that easily in Ubuntu with unity as I use Xubuntu.

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
  •