Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Failed upgrade from 7.10 to 8.04, using Alternate CD

  1. #1
    Join Date
    Feb 2006
    Location
    NanJing, China
    Beans
    73
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Failed upgrade from 7.10 to 8.04, using Alternate CD

    Hi guys,

    When upgrading from 7.10 to 8.04 using 8.04 alternate CD, it gave me error info:

    Code:
    Could not calculate the upgrade
    
    A unresolvable problem occurred while calculating the upgrade.
    
     This can be caused by:
     * Upgrading to a pre-release version of Ubuntu
     * Running the current pre-release version of Ubuntu
     * Unofficial software packages not provided by Ubuntu
    
    If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport.
    I've done md5sum check, and sure the iso is OK. I just did as follows:

    1, Mount iso using
    Code:
    sudo mount -o loop ubuntu-8.04-alternate-i386.iso /cdrom
    2, Alt+F2, and type in
    Code:
    gksu "sh /cdrom/cdromupgrade"
    3, Update Manager pop up correctly, and "Preparing upgrade"
    4, Update Manager asked me whether include latest update from Internet, I chose "No"
    5, When calculating changes, Update Manager pop up a error screen contains info i gave above.

    Here is my /var/log/dist-upgrade/main.log file:
    2008-04-27 15:50:40,659 INFO release-upgrader version '0.87.24' started
    2008-04-27 15:50:41,060 DEBUG Using 'DistUpgradeViewGtk' view
    2008-04-27 15:50:41,131 DEBUG enable dpkg --force-overwrite
    2008-04-27 15:50:41,222 DEBUG lsb-release: 'gutsy'
    2008-04-27 15:50:41,223 DEBUG _pythonSymlinkCheck run
    2008-04-27 15:50:42,955 DEBUG checkViewDepends()
    2008-04-27 15:50:43,989 DEBUG useNetwork: 'False' (selected by user)
    2008-04-27 15:50:43,990 DEBUG running doUpdate() (showErrors=False)
    2008-04-27 15:50:43,990 DEBUG doUpdate() will not use the network because self.useNetwork==false
    2008-04-27 15:50:45,692 DEBUG doPreUpgrade
    2008-04-27 15:50:48,060 DEBUG Foreign: libavformat-dev libavcodec-dev stardict-xdict-ce-gb libavutil-dev w32codecs stardict-oxford-gb libavformat1d libavcodec1d stardict-cedict-gb libdvdcss2 stardict-langdao-ce-gb libavutil1d stardict-xdict-ec-gb stardict-langdao-ec-gb stardict-cdict-gb stardict-hanzim
    2008-04-27 15:50:48,061 DEBUG Obsolete: cedega-small gtk2-engines-candido
    2008-04-27 15:50:48,062 DEBUG updateSourcesList()
    2008-04-27 15:50:48,121 DEBUG rewriteSourcesList()
    2008-04-27 15:50:48,122 DEBUG examining: 'deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse'
    2008-04-27 15:50:48,123 DEBUG entry 'deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,123 DEBUG examining: 'deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse'
    2008-04-27 15:50:48,125 DEBUG entry 'deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,125 DEBUG examining: 'deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse'
    2008-04-27 15:50:48,126 DEBUG entry 'deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,126 DEBUG examining: 'deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse'
    2008-04-27 15:50:48,128 DEBUG entry 'deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,128 DEBUG examining: 'deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse'
    2008-04-27 15:50:48,129 DEBUG entry 'deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,129 DEBUG examining: 'deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse'
    2008-04-27 15:50:48,131 DEBUG entry 'deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,131 DEBUG examining: 'deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse'
    2008-04-27 15:50:48,132 DEBUG entry 'deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,132 DEBUG examining: 'deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse'
    2008-04-27 15:50:48,134 DEBUG entry 'deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,134 DEBUG examining: 'deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse'
    2008-04-27 15:50:48,135 DEBUG entry 'deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,135 DEBUG examining: 'deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse'
    2008-04-27 15:50:48,137 DEBUG entry 'deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse' updated to new dist
    2008-04-27 15:50:48,137 DEBUG examining: 'deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse'
    2008-04-27 15:50:48,139 DEBUG entry '# deb http://ubuntu.cn99.com/ubuntu-cn/ gutsy main restricted universe multiverse' was disabled (unknown mirror)
    2008-04-27 15:50:49,459 DEBUG AptCdrom.add() called with '/cdrom'
    2008-04-27 15:50:49,775 DEBUG AptCdrom.add() returned: 1
    2008-04-27 15:50:49,775 DEBUG running doUpdate() (showErrors=True)
    2008-04-27 15:50:49,775 DEBUG doUpdate() will not use the network because self.useNetwork==false
    2008-04-27 15:50:55,226 DEBUG Running KeepInstalledSection rules
    2008-04-27 15:50:55,227 DEBUG Installing 'language-support-zh' (Distro KeepInstalledSection rule: translations)
    2008-04-27 15:52:13,238 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'
    ANOTHER SITUATION

    If I chose "Include latest update from Internet" YES in above step, update manager would also crash, the only difference was that it gave no error information explicitly. After checking /var/log/dist-upgrade/main.log, it gives:
    2008-04-27 15:57:05,275 INFO release-upgrader version '0.87.24' started
    2008-04-27 15:57:05,674 DEBUG Using 'DistUpgradeViewGtk' view
    2008-04-27 15:57:05,744 DEBUG enable dpkg --force-overwrite
    2008-04-27 15:57:05,835 DEBUG lsb-release: 'gutsy'
    2008-04-27 15:57:05,836 DEBUG _pythonSymlinkCheck run
    2008-04-27 15:57:07,409 DEBUG checkViewDepends()
    2008-04-27 15:57:09,043 DEBUG useNetwork: 'True' (selected by user)
    2008-04-27 15:57:30,901 ERROR not handled expection:
    Traceback (most recent call last):

    File "/tmp/tmp.mtwxC13410/MetaRelease.py", line 206, in download
    uri=urllib2.urlopen(req)

    File "urllib2.py", line 124, in urlopen
    return _opener.open(url, data)

    File "urllib2.py", line 381, in open
    response = self._open(req, data)

    File "urllib2.py", line 399, in _open
    '_open', req)

    File "urllib2.py", line 360, in _call_chain
    result = func(*args)

    File "urllib2.py", line 1107, in http_open
    return self.do_open(httplib.HTTPConnection, req)

    File "urllib2.py", line 1080, in do_open
    r = h.getresponse()

    File "httplib.py", line 924, in getresponse
    response.begin()

    File "httplib.py", line 385, in begin
    version, status, reason = self._read_status()

    File "httplib.py", line 349, in _read_status
    raise BadStatusLine(line)

    BadStatusLine

    2008-04-27 15:57:30,902 DEBUG running apport_crash()
    2008-04-27 15:57:31,522 ERROR failed to import apport python module, can't report bug: No module named python_hook
    Any idea? Any information or help will be highly appreciated.
    Thank you guys!

    NOTE: I've done
    Code:
    sudo apt-get autoclean
    sudo apt-get update
    sudo apt-get upgrade
    They all work fine with Gusty repositories, didn't give any error.
    Think independently.

  2. #2
    Join Date
    Oct 2006
    Location
    Mississippi, USA
    Beans
    23
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    leeyee, when I inserted my 8.04 alternate cd, the window opened up with the files but a message box popped up asking if I wanted to use the distro off it (not those words, but something similar). I clicked on yes and then it added it to my list of cd's to work off in synaptic pkg manager (update manager as well) as a source. I did my upgrade that way without problems.

    Which instructions were you following to do the upgrade? Just curious if there is something in those instructions that were wrong or maybe we missed a step?

    Maybe someone else will post that has encountered this or knows what causes the upgrade to fail.

  3. #3
    Join Date
    Oct 2006
    Location
    Mississippi, USA
    Beans
    23
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    Leeyee,

    I was reading the instructions on the upgrade and you have to burn the iso to a disk. It appears that mounting the image off your hard drive doesn't work.

    Kay

  4. #4
    Join Date
    Apr 2008
    Beans
    2

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    I dont know whether burning it to a disk will change it or not but I had this happen during a standard upgrade so it might be something besides burning it to a disk

  5. #5
    Join Date
    Feb 2006
    Location
    NanJing, China
    Beans
    73
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    Hey
    I've fixed it. Burn it really can resolve the problem, but i got a better way:
    Code:
    sudo mount -o loop ubuntu-8.04-alternate-i386.iso /cdrom
    sudo apt-cdrom -m -d /media/cdrom add
    Then open Synaptic, it appears just like you insert alternate CD in.
    Think independently.

  6. #6
    Join Date
    Feb 2008
    Beans
    59

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    Quote Originally Posted by leeyee View Post
    Hi guys,
    When upgrading from 7.10 to 8.04 using 8.04 alternate CD, it gave me error info:
    Code:
    Could not calculate the upgrade
    
    A unresolvable problem occurred while calculating the upgrade.
    
     This can be caused by:
     * Upgrading to a pre-release version of Ubuntu
     * Running the current pre-release version of Ubuntu
     * Unofficial software packages not provided by Ubuntu
    
    If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport.
    I have exactly the same problem with burned alternate CD. Is it a really burning problem?

  7. #7
    Join Date
    Feb 2006
    Location
    NanJing, China
    Beans
    73
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    Might not be

    You can try my iso image trick given above, to see if it still give the same error info?
    Think independently.

  8. #8
    Join Date
    Nov 2007
    Beans
    1

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    I had exactly the same problem. I have ckecked the mdsum and it's ok. Burn the iso file to a CD without error. Upgrade fail both with and without internet connection.

  9. #9
    Join Date
    Feb 2008
    Beans
    59

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    Quote Originally Posted by sumardika View Post
    I had exactly the same problem. I have ckecked the mdsum and it's ok. Burn the iso file to a CD without error. Upgrade fail both with and without internet connection.
    Same for me. I got exactly same problem with burned alternate CD on one computer. Does anyone has a clue what to do in this situation?

    M.

  10. #10
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Beans
    54
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Re: Failed upgrade from 7.10 to 8.04, using Alternate CD

    hi all,
    i too have exactly the same problem with the same stuff in /var/log/dist-upgrade/ log
    maybe this is a bug and should be reported?
    any devs care to venture an opinion?
    luke

Page 1 of 3 123 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
  •