Announcement

Collapse
No announcement yet.

Upgrade aborted ... but system is up

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Upgrade aborted ... but system is up

    Upgraded from 10.10 to 11.04, 64-bit on a quad-core CPU, Nvidia GT240 video card. I used KpackageKit to do a dist upgrade.

    Downloading packages went very slowly, so I let it go overnight. This morning I answered a few prompts to keep/replace some config files. I got an error on package nspluginwrapper during the process.

    2011-04-29 06:09:04,858 ERROR got an error from dpkg for pkg: 'nspluginwrapper': 'subprocess installed post-installation script returned error exit status 139'

    Then it said the upgrade aborted. It said dpkg --configure -a would be run, but that there was a bug in update manager.
    Here is what I think are the relevant lines in /var/log/dist-upgrade/main.log

    2011-04-29 06:22:48,729 ERROR Exception during pm.DoInstall()
    Traceback (most recent call last):
    File "/tmp/update-manager-z5Vpu3/DistUpgradeView.py", line 202, in run
    res = pm.do_install(self.writefd)
    SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
    2011-04-29 06:22:48,752 ERROR SystemError from cache.commit(): installArchives() failed
    2011-04-29 06:22:48,752 ERROR found exception: 'E:Sub-process /usr/bin/dpkg returned an error code (1)'


    There were other ERRORS in that log around specific packages, and I can include the whole thing if it would be helpful.
    I wouldn't think that a few package errors would result in a message that the upgrade aborted.

    But the system rebooted fine, and everything seems to be OK. I'll post any updates if I have them.

    #2
    Re: Upgrade aported ... but system is up

    Did you try to reconfigure the packages with dpkg manually?

    Comment


      #3
      Re: Upgrade aported ... but system is up

      No, not yet. I'm ok with some of the errors with the packages... I was just a little concerned when it reported that that upgrade had aborted. Not only that, but it said my system could be unusable. Just that heart-sinking feeling I hate. I'll still continue to poke around on it, but wanted to post this up in case anyone else ran into it, or if there is some serious problem I'm not seeing yet.

      Comment


        #4
        Re: Upgrade aported ... but system is up

        This you, or does it affect somebody in a similar way? https://bugs.launchpad.net/ubuntu/+s...er/+bug/773262

        Comment


          #5
          Re: Upgrade aported ... but system is up

          That is the same issue I am seeing. What I don't know is if that is what caused my "upgrade to abort".
          So far so good on my system, things seem to be working. So maybe the aborted upgrade was just a bit too harsh of a message, and it should have been something like "completed with errors"

          Comment


            #6
            Re: Upgrade aported ... but system is up

            To figure out what state your system is currently in, try

            sudo apt-get dist-upgrade

            It may have in fact not run the upgrade.

            Depending upon what this tells you, you may need to

            sudo dpkg --configure -a

            followed by

            apt-get install -f

            and then

            sudo apt-get dist-upgrade

            Sometimes when things are really messy, you need to go through this cycle two or three times.
            We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

            Comment


              #7
              Re: Upgrade aported ... but system is up

              It actually did upgrade to 11.04. It's apparent that I have some package cleanup to do though.

              I tried apt-get -f install and it was failing due to nspluginwrapper. I removed that package, and the command worked. I think I am ok, it's been running fine all day on 11.04. I think the "abort" was just a scarier message than what actually happened.

              Comment


                #8
                Re: Upgrade aported ... but system is up

                Originally posted by doctordruidphd
                To figure out what state your system is currently in, try

                sudo apt-get dist-upgrade

                It may have in fact not run the upgrade.

                Depending upon what this tells you, you may need to

                sudo dpkg --configure -a

                followed by

                apt-get install -f

                and then

                sudo apt-get dist-upgrade

                Sometimes when things are really messy, you need to go through this cycle two or three times.
                Giving this a try. My upgrade bombed out on me, then the "natty" distribution program locked up and I had to kill it, then I couldn't get a lock on whatever file apt-get needs when it's doing its thing, so I rebooted, and now I'm going to do it the old fashioned way from the command line. We'll see how it goes.

                Serves me right for jumping on the upgrade on day one. :P

                Comment

                Working...
                X