Failed to upgrade to 10.10 with alternate ISO - E:Error, pkgProblemResolver::Resolve generated breaks

Bug #658581 reported by Edmund Jung
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: update-manager

2010-10-11 18:26:27,276 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu lucid-security multiverse'
2010-10-11 18:26:27,276 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu maverick-security multiverse' updated to new dist
2010-10-11 18:26:27,276 DEBUG examining: 'deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu lucid main # disabled on upgrade to lucid'
2010-10-11 18:26:27,279 DEBUG entry '# deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu maverick main # disabled on upgrade to lucid disabled on upgrade to maverick' was disabled (unknown mirror)
2010-10-11 18:26:27,279 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu lucid main'
2010-10-11 18:26:27,279 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu maverick main' updated to new dist
2010-10-11 18:26:27,279 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu lucid universe main multiverse #Added by software-properties'
2010-10-11 18:26:27,279 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu maverick universe main multiverse #Added by software-properties' updated to new dist
2010-10-11 18:26:27,279 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu lucid-updates main'
2010-10-11 18:26:27,279 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu maverick-updates main' updated to new dist
2010-10-11 18:26:27,279 DEBUG examining: 'deb-src http://archive.ubuntu.com/ubuntu lucid-updates universe main multiverse #Added by software-properties'
2010-10-11 18:26:27,280 DEBUG entry 'deb-src http://archive.ubuntu.com/ubuntu maverick-updates universe main multiverse #Added by software-properties' updated to new dist
2010-10-11 18:26:27,280 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu lucid multiverse universe'
2010-10-11 18:26:27,280 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu maverick multiverse universe' updated to new dist
2010-10-11 18:26:27,280 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu lucid-updates multiverse universe'
2010-10-11 18:26:27,280 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu maverick-updates multiverse universe' updated to new dist
2010-10-11 18:26:27,280 INFO fixing components inconsistency from 'deb http://archive.ubuntu.com/ubuntu maverick-security main'
2010-10-11 18:26:27,280 INFO to new entry 'deb http://archive.ubuntu.com/ubuntu maverick-security main universe'
2010-10-11 18:29:41,003 DEBUG running doUpdate() (showErrors=True)
2010-10-11 18:29:48,498 DEBUG openCache()
2010-10-11 18:29:48,498 DEBUG failed to SystemUnLock() (E:Not locked)
2010-10-11 18:29:50,198 DEBUG /openCache(), new cache size 32279
2010-10-11 18:29:50,199 DEBUG needServerMode(): run in 'desktop' mode, (because of pkg 'kubuntu-desktop')
2010-10-11 18:35:08,451 ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
2010-10-11 18:35:08,451 DEBUG abort called
2010-10-11 18:35:08,460 DEBUG openCache()
2010-10-11 18:35:08,461 DEBUG failed to SystemUnLock() (E:Not locked)
2010-10-11 18:35:10,161 DEBUG /openCache(), new cache size 30320
2010-10-11 18:35:10,162 DEBUG enabling apt cron job

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the log files from '/var/log/dist-upgrade/' to this bug report as separate attachments? Thanks in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Brendan Peterffy (s33plusplus) wrote :

I'm having the same issue. I'm upgrading from Lucid via a mounted alternate-install ISO.
I've re-downloaded the ISO twice through the official torrents, as to avoid downloading nearly 700mb at 50kbps via HTTP.

Revision history for this message
NDE DONALD (nde-che) wrote :

I am facing the same problem when upgrading from the download alternate ISO.

When trying to upgrade Ubuntu 10.04 to 10.10 from the iso ubuntu-10.10-alternate-i386.iso following the instructions below:
#sudo mount -o loop ubuntu-10.10-alternate-i386.iso /media/cdrom/
#gksu "sh /media/cdrom/cdromupgrade"

The upgrade fail after 'gksu "sh /media/cdrom/cdromupgrade"' command with error:
pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the logs. I'm confirming.

summary: - E:Error, pkgProblemResolver::Resolve generated breaks
+ Failed to upgrade to 10.10 with alternate ISO - E:Error,
+ pkgProblemResolver::Resolve generated breaks
Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
emu (edmund-jung) wrote :

Hello,

hir is the log fils

thx

Edmund

Revision history for this message
emu (edmund-jung) wrote :

Hello i do not Upgrad the Kubuntu from the alternate ISO,

i am making a Upgrade over online Update

Changed in update-manager (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Manfred Hampl (m-hampl) wrote :
Download full text (3.7 KiB)

I experienced that problem, too, but suddenly it worked - and I really do not know why!

I have got a ~5 year old computer with slow network connection running ubuntu lucid 10.04.1 (was upgraded from 10.04 via alternate CD)
When trying to upgrade to 10.10 with the alternate CD, I also received the error 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'

Going through apt.log I found a lot of messages "Try to Re-Instate ...", most of them for xserver-xorg-video-... packages.
I had all possible xorg-video drivers installed (via xserver-xorg-video-all) and decided to remove all except -nv (which is the one I have enabled in Xorg.conf) and -vesa (for fallback).
Result: still the same error, but with a lower number of "Try to Re-Instate ..." messages in apt-log.

Next try: digging through program sources to find out who writes those messages -> seems apt
Checking release notes of apt shows that from 0.7.x (lucid) to 0.8.x (maverick) the messages in algorithms.cc have been extended to show more information in the pkgProblemResolver steps. Thought it could be a good idea to update to the latest (maverick) release and try again, hopefully receiving more indications.
Downloaded apt_0.8.3ubuntu7_i386.deb and installed with package manager (message: "all dependencies satisfied"), but alas, this broke almost all apt and synaptic packages because apt 0.8 is no longer providing libapt-pkg-libc6.10-6-4.8 but libapt-pkg4.10 (still have to check if I should report a bug about that).
apt-get install -f wanted to remove lots of packages (which I refused)
So back, installed apt_0.7.25.3ubuntu9.3_i386.deb via dpkg.
Happy to see that apt-get install -f did not show any problems any more.

Next try: could my system be upgraded to 10.10 via network download?
started update-manager to upgrade via network -> and it was able to resolve the dependencies and asked me if it should really start the upgrade. (estimated download time 7 hours for files that I already have on CD, so I decided to abort). apt.log did not show any "Try to Re-Instate ..." lines.

Synaptic told me that there are half a dozen new erlang... packages available, so I installed these updates.

Next try: back to the alternate cd, with the idea to enable debug messages as much as possible. Created an apt.conf with several Debug::xxx "true".
What can I tell: sudo sh /media/Ubuntu 10.10/cdromupgrade worked!
Now apparently it was able to resolve the dependencies and asked me if it should really start the upgrade. (decided to cancel because it was already late in the evening, and I wanted to keep the possibility to try to chase this bug further).
Again apt.log did not show any "Try to Re-Instate ..." lines.

Tried again without Debug enabled, and it worked again -> so seems not caused by debug enabled.

What I do not know now is which step in my attempts is the one that is responsible that it works now (up-/downgrading apt, installing erlang..., trying to upgrade over the network once, ...).

What I suspect is that the appearence of "Try to Re-Instate ..." lines in apt.log leads to the 'E:Error, pkgProblemResolver::Resolve generated...

Read more...

Revision history for this message
Brendan Peterffy (s33plusplus) wrote :

My problem was fixed by removing the Nouveau driver entirely.
If anybody still having this issue and you happen to have a Nvidia card, consider using Nvidia's driver and uninstalling xserver-xorg-video-nouveau for the upgrade.

Revision history for this message
emu (edmund-jung) wrote :

Hello,

yes thet is the solution, i am uninstall the "sudo apt-get remove xserver-xorg-video-nouveau"

now i can Upgrading the Ubuntu to 10.10

thx Brendan Peterffy and the rest

best regats to all

Edmund Jung

emu (edmund-jung)
Changed in update-manager (Ubuntu):
status: Triaged → Fix Committed
Changed in update-manager (Ubuntu):
status: Fix Committed → Triaged
emu (edmund-jung)
Changed in update-manager (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers