Results 1 to 7 of 7

Thread: Interrupted Upgrade - Can't Resume

  1. #1
    Join Date
    May 2006
    Location
    Israel
    Beans
    228

    Interrupted Upgrade - Can't Resume

    I've just tried to upgrade to Oneiric from Natty.

    I used the 'upgrde' button in the Update Manager.

    The upgrade was going well, but at some point, the screen went dim, and I couldn't get back into my session. I shut down manually.

    I now seem to be in Oneiric - the (lovely) new login screen is there, and my Update Manager doesn't suggest upgrading.
    Nor do I see the 'Release Upgrades' check when I get into 'setting' in the Update Manager.
    As far as it is concerned, all's well.

    But I know I was only in the middle of the upgrade. Many tasks must have remained unaccomplished. I haven't played around with the new version yet, but I worry that the upgrade is incomplete and that I'll run into issues in the future.

    How can I resume, or simply redo, the upgrade, to make sure it's complete?

    Thanks,
    jackn
    Haim Roitgrund

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Interrupted Upgrade - Can't Resume

    Quote Originally Posted by jackn View Post
    I've just tried to upgrade to Oneiric from Natty.

    I used the 'upgrde' button in the Update Manager.

    The upgrade was going well, but at some point, the screen went dim, and I couldn't get back into my session. I shut down manually.

    I now seem to be in Oneiric - the (lovely) new login screen is there, and my Update Manager doesn't suggest upgrading.
    Nor do I see the 'Release Upgrades' check when I get into 'setting' in the Update Manager.
    As far as it is concerned, all's well.

    But I know I was only in the middle of the upgrade. Many tasks must have remained unaccomplished. I haven't played around with the new version yet, but I worry that the upgrade is incomplete and that I'll run into issues in the future.

    How can I resume, or simply redo, the upgrade, to make sure it's complete?

    Thanks,
    jackn
    I'd make sure it's completed.

    In a terminal session:
    Code:
    sudo apt-get update  
    sudo apt-get clean 
    sudo apt-get -f  
    sudo apt-get dist-upgrade
    If there was nothing to upgrade it would say so in the dist-upgrade command output.

    Then check the distro info:
    Code:
    uname -r && lsb_release -a

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    May 2006
    Location
    Israel
    Beans
    228

    Re: Interrupted Upgrade - Can't Resume

    Thank you so much for this prompt help, MAFoElffen.

    I ran the suggested commands.

    The first two, 'update' and 'clean' responded properly.
    The -f switch, on the other hand, gave feedback which suggests that apt-get might have expected another form. I'm not sure. The standard help input it spit out is given below.

    The distro info enquiry gave what seems like perfect information:
    Code:
    3.0.0-12-generic
    LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch
    Distributor ID:	Ubuntu
    Description:	Ubuntu 11.10
    Release:	11.10
    Codename:	oneiric
    apt-get -f output:
    Code:
    apt 0.8.16~exp5ubuntu13 for i386 compiled on Oct  6 2011 15:25:29
    Usage: apt-get [options] command
           apt-get [options] install|remove pkg1 [pkg2 ...]
           apt-get [options] source pkg1 [pkg2 ...]
    
    apt-get is a simple command line interface for downloading and
    installing packages. The most frequently used commands are update
    and install.
    
    Commands:
       update - Retrieve new lists of packages
    (Cut here, for the sake of brevity)   
    
      -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
    See the apt-get(8), sources.list(5) and apt.conf(5) manual
    pages for more information and options.
                           This APT has Super Cow Powers.
    I'm still very concerned that the upgrade is incomplete.

    From man apt-get, it seems like the command for fixing broken packages should include 'install' (or 'remove'), as follows:
    Code:
    sudo apt-get -f install
    Do you think it's a good idea to run the above command?

    To me, that the upgrade appears to have gone through doesn't necessarily mean much.
    It could be that the system uses intermediate indicators for completion of the upgrade, leading it to think that the upgrade has gone through while it is in fact incomplete.

    While the system appears to run normally, I've only been at it for a very short while.
    And, for what it's worth, I can't run lightdm to modify the login session. I don't know whether this is as it should be or not:
    Code:
    sudo lightdm
    Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
    I appreciate your help, MAFoElffen.
    Haim Roitgrund

  4. #4
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Interrupted Upgrade - Can't Resume

    MAFoElffen had a typo he meant sudo apt-get -f install sometimes brain works faster than
    fingers. Run these to cure anything that is waiting to be installed that is already downloaded, fix broken packages and update and upgrade.
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get -f install
    Code:
    sudo apt-get update; sudo apt-get upgrade
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  5. #5
    Join Date
    May 2010
    Beans
    8

    Re: Interrupted Upgrade - Can't Resume

    If I may jump in, please, I'm having the same issue; however, after running "sudo apt-get upgrade" I'm still left with 2 packages not upgraded. Suggestions?

  6. #6
    Join Date
    May 2006
    Location
    Israel
    Beans
    228

    Re: Interrupted Upgrade - Can't Resume

    Thank you very much, Garvinrick, for this advice.

    I ran all the commands...

    They all ran smoothly.

    Other than the removal some packages, nothing to write home about.

    Does this mean it's OK?
    I don't know.

    At this point, should I consider a fresh install?

    Thank you very much for your help and attention.
    jackn
    Haim Roitgrund

  7. #7
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,523
    Distro
    Ubuntu Development Release

    Re: Interrupted Upgrade - Can't Resume

    Does this mean it's OK?
    I would say yes, if you are up to date and have no broken packages you are
    just fine, no reason to do anything else. Just enjoy your Ubuntu.
    Thank you very much for your help and attention.
    jackn
    You are welcome and will keep this thread subscribed incase you have anything you want to ask.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


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
  •