Ubuntu upgrade from 10.04 to 10.10 fail

Asked by adebayo

I try to update from Ubuntu 10.04 to 10.10 or from 10.04 to 12.04 but never succeeded. I used update-manager it failled, I then used the following command command prompt and try to upgrade again it still failed,

>sudo apt-get update && sudo apt-get upgrad
>sudo apt-get dist-upgrade

All the third party software in source.list are disable, I try off offline iso alternative cd, yet all failed

>sudo unmount -o loop /home/adebayo/Downloads/ubuntu-10.10-alternate-i386.iso /media/cdrom
>sudo sh /media/cdrom/cdromupgrade

Some o the error messages are:An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

 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

Please help out. Thanks

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager 1:0.134.12.1
ProcVersionSignature: Ubuntu 2.6.32-41.91-generic 2.6.32.59+drm33.24
Uname: Linux 2.6.32-41-generic i686
Architecture: i386
Date: Thu Jul 12 07:19:15 2012
GConfNonDefault:
 /apps/update-manager/check_new_release_ignore=
 /apps/update-manager/first_run=false
 /apps/update-manager/show_details=false
 /apps/update-manager/show_versions=false
 /apps/update-manager/window_size=(600,600)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NG
 SHELL=/bin/bash
SourcePackage: update-manager
VarLogDistupgradeTermlog:

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

This might be a duplicate of bug #721306

If the package xserver-xorg-video-nouveau is installed, in several cases the 10.04 to 10.10 upgrade fails with the error message

"Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
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"

Several persons have reported that after removal of that package the upgrade was successful.

Try this workaround: Open a terminal and enter the command:

sudo apt-get remove xserver-xorg-video-nouveau (which most probably will also remove xserver-xorg-video-all)

and then try the upgrade again.

++++++++++++++++++

If xserver-xorg-video-nouveau blocks the upgrade from 10.04 to 10.10, it might as well block the LTS upgrade 10.04 to 12.04 with the consequence, that not (two years later) there might be a higher number of such bug reports again!

Revision history for this message
adebayo (ade4krist) said :
#2

Thanks Manfred.

I try: "sudo apt-get remove xserver-xorg-video-nouveau"
It removed both "xserver-xorg-video-all" and "xserver-xorg-video-nouveau"
but when I tried to update, I still got the same error message:
Some o the error messages are:An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 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

__________________________
Adebayo A.  Adeniyi
M.Sc. in Physical Chemistry, University of Ibadan, Nigeria.
B.Sc. in Chemistry University of Uyo, Nigeria.
Participated in ATOSIM Master Program at École Normale Supérieure of Lyon, France.

Address: Department of Chemistry, Faculty of Science and Agriculture,  University of Fort Hare, Private Bag X1314, Alice, 5700, South Africa.
Tel: +27717873258
E-mail: <email address hidden>, <email address hidden>
Specialization:  Computational and Physical Chemistry.

Career Motto: "Everything that living things do can be understood in terms of the jigglings and wigglings of atoms"  Richard Feynman.
Computational Modeling is the key !!!

________________________________
 From: Manfred Hampl <email address hidden>
To: <email address hidden>
Sent: Thursday, July 12, 2012 8:01 AM
Subject: Re: [Question #202912]: Ubuntu upgrade from 10.04 to 10.10 fail

Your question #202912 on update-manager in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/202912

Manfred Hampl posted a new comment:
This might be a duplicate of bug #721306

If the package xserver-xorg-video-nouveau is installed, in several cases
the 10.04 to 10.10 upgrade fails with the error message

"Could not determine the upgrade
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
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"

Several persons have reported that after removal of that package the
upgrade was successful.

Try this workaround: Open a terminal and enter the command:

sudo apt-get remove xserver-xorg-video-nouveau (which most probably will
also remove xserver-xorg-video-all)

and then try the upgrade again.

++++++++++++++++++

If xserver-xorg-video-nouveau blocks the upgrade from 10.04 to 10.10, it
might as well block the LTS upgrade 10.04 to 12.04 with the consequence,
that not (two years later) there might be a higher number of such bug
reports again!

--
You received this question notification because you asked the question.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

Solving mutual dependencies in course of an upgrade is a complicated task, and apparently you have some packages on your system, for which the ProblemResolver is not able to find a solution.
How to proceed?
You can either do a new installation, or try to identify the offending package(s).

To verify that there are no unofficial sources enabled, and to make sure that you do not have pending updates blocking the process, please open a terminal and issue the commands

sudo apt-get update
sudo apt-get upgrade

then select all output (edit - select all), copy it (edit - copy) and paste all output into a new message of this question thread.

If there are no unofficial sources and help packages, you can just start guessing what the offending packages might be, and remove some packages, try the upgrade, if it fails remove some more, and so on, until the upgrade is working. Afterwards you can re-install the packages you removed (if you still need them).

Before you remove packages you should check the consequences to prevent that due to dependencies some important packages would be removed as well.
e.g.
first check what would be removed:
apt-get --simulate remove libgdu-gtk0
check the output, and if you think that you can accept the removals do the real command:
sudo apt-get remove libgdu-gtk0
and so on.

Revision history for this message
adebayo (ade4krist) said :
#4

The problem is solved by reinstalling Ubuntu 12.04 after backing up.

Thanks