E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Bug #606652 reported by Atanas Atanasov
222
This bug affects 41 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

update-manager fails to update and yields the following error message:

E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: update-manager 1:0.142.4
ProcVersionSignature: Ubuntu 2.6.35-7.12-generic 2.6.35-rc4
Uname: Linux 2.6.35-7-generic x86_64
Architecture: amd64
Date: Sat Jul 17 10:08:01 2010
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager

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

Thanks for your report.

Does this error occurs during an upgrade from 10.04 to 10.10 ? If so could you please attach the files in the directory /var/log/dist-upgrade/ to this report as separate attachments ? Thank s in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Atanas Atanasov (thenasko) wrote :

Here it is. Thank you for your help.

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

thanks for the logs.

The error from apt.log is
Investigating xserver-xorg-video-all
Package xserver-xorg-video-all has broken Depends on xserver-xorg-video-tseng
  Considering xserver-xorg-video-tseng 1 as a solution to xserver-xorg-video-all 10005
  Added xserver-xorg-video-tseng to the remove list
  Fixing xserver-xorg-video-all via keep of xserver-xorg-video-tseng
Done
ERROR:root:Installing/upgrading 'xserver-xorg-video-all' failed
ERROR:root:NvidiaDetector can not be imported No module named NvidiaDetector.nvidiadetector
MarkUpgrade() called on a non-upgrable pkg: 'brasero'
ERROR:root:Upgrading 'brasero' failed
/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py:718: DeprecationWarning: Deprecated, please use 'get_changes()' instead
  for pkg in self.getChanges():
/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py:665: DeprecationWarning: Deprecated, please use 'get_changes()' instead
  for pkg in self.getChanges():
/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py:669: DeprecationWarning: Deprecated, please use 'marked_downgrade' instead
  if pkg.markedDowngrade:

Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
ddekreon (drew-dekreon) wrote :

Confirmed on 32-bit 10.04 to 32-bit 10.10

Revision history for this message
ddekreon (drew-dekreon) wrote :

apt.log

Revision history for this message
Medya (medya) wrote :

I also confrim ,
having ubuntu 10.04 , trying to upgrade to 10.10 using alternate CD .
I get the above error as everyone .

Revision history for this message
Medya (medya) wrote :

I had upgraded from 9.10 to 10.04 previously by the same method, perhaps thats the reason ?

Another guy who had this error had upgraded 9.10 to 10.04 before 10.04 to 10.10

Medya (medya)
tags: added: 10.04 upgrade
Revision history for this message
ClareM (crmoore) wrote :

I'm having an almost identical issue, I cannot update to 10.10 from 10.04 LTS because of the error:
E:Unable to correct problems, you have held broken packages.

More info on my error is here: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/666063

Revision history for this message
Raphaël F. (rflores) wrote :

Hi Atanas Atanasov. What about if your install package ubuntu-desktop?

I had same problem, looking at main.log revealed that ubuntu-desktop package was not installed, what caused dependencies being broken.

After installing ubuntu-desktop, release upgrade was OK.

Revision history for this message
ClareM (crmoore) wrote :

I had a look at my main.log and it looks like my error is triggered when I get to this point "Installing 'xserver-xorg-video-all' (Distro KeepInstalledPkgs rule)" then it fails.

Revision history for this message
ClareM (crmoore) wrote :

I have managed to overcome this problem by uninstalling xorg-server-video-all and xorg-server-input-all, upgrading then reinstalling them. Give it a try.

Revision history for this message
Valentin Yurin (doc-nsg) wrote :

My addition: trying a respin of Ubuntu 10.04 on a blank x86_64 system. The same error comes shortly after installing the system and removing/adding a few packages. Reinstall of xorg-server-video-all and xorg-server-input-all does not help. Thus the problem seems to have deeper roots in the past and probably longer consequences in the future.

Which logfiles should I provide for quicker resolution?

Revision history for this message
Valentin Yurin (doc-nsg) wrote :

To be continued: apparently my particular problem came from switching to maverick repository and upgrading some packages to 10.10 versions. Disabling it a temporal solution.

Revision history for this message
Gangelies (gangelies) wrote :

Hi
I have the same bug. I tried all the "trikcs" here proposed but the problem still remain.
I attach my dist-upgrade log files.

Revision history for this message
Seb Harrington (sebharrington) wrote :

Hi,

I had the same problem with this in my log:

Investigating libdrm-nouveau1
Package libdrm-nouveau1 has broken Breaks on xserver-xorg-video-nouveau
  Considering xserver-xorg-video-nouveau 2 as a solution to libdrm-nouveau1 17
  Upgrading xserver-xorg-video-nouveau due to Breaks field in libdrm-nouveau1
Investigating xserver-xorg-video-nouveau
Package xserver-xorg-video-nouveau has broken Depends on xorg-video-abi-8.0
  Considering xserver-xorg-core 79 as a solution to xserver-xorg-video-nouveau 2
  Holding Back xserver-xorg-video-nouveau rather than change xorg-video-abi-8.0
Done
Log time: 2010-11-26 14:13:58.961382

I simply removed the xserver-xorg-video-nouveau which also wanted to remove the xserver-xorg-video-all package which I let it do then the upgrade from 10.04 to 10.10 worked fine.

Hope this helps someone.

Cheers,

Seb

Revision history for this message
naoli (naoli) wrote :

Removing xserver-xorg-video-nouveau and xserver-xorg-video-all worked for me as well.

Thanks

Revision history for this message
nicholas (kaye) wrote :

The same for me: flagged xserver-xorg-video-nouveau for removal, which forced removal of xserver-xorg-video-all and the upgrade ran.
Thanks to all who logged that here - I was just about to re-format and install new!!
Nick

Revision history for this message
N7DR (doc-evans) wrote :

Just hit this bug when tryng to upgrade from 10.04 to 10.10, having previous upgraded from 8.04 and 9.10. That is 8.04->9.10->10.04 were successful. 10.04->10.10 hits this bug.

The bug reporter software says to "include the files in /var/log/dist-upgrade... but there are a lot of them. Which files exactly would be useful?

Revision history for this message
andrea (a-grosso-a) wrote :

Hello,

same problem as (most of) the others

have tried removing xserver-xorg-video-nouveau, message I get is "no such file"

am attaching error report from upgrade attempt

Endriu

Revision history for this message
VikingTiger (odd) wrote :

Removing xserver-xorg-video-nouveau (and xserver-xorg-video-all) certainly solved the problem for me too. Thanks to Seb Harrington for pointing it out.

Revision history for this message
KP (keehwan-park) wrote :

'sudo apt-get remove xserver-xorg-video-nouveau' certainly solved my issue.
Thanks for the solution.

Revision history for this message
Arash BEHBOODI (arash-behboodi) wrote :

I had the same problem. 'sudo apt-get remove xserver-xorg-video-nouveau' solved it!
Thanks.

Revision history for this message
PhilippeDePass (depassp) wrote :

This problem also affected me, and was also solved by first removing xserver-xorg-video-nouveau.

Thank you!

Revision history for this message
Anders Sandblad (arune) wrote :

This problem also affected me, I thought my problem was that Ive used maverick repos to install new versions of libboost, libv8 and some avr-packages but apt-get remove them did not help.
'sudo apt-get remove xserver-xorg-video-nouveau' solved my problem.

Revision history for this message
Karsten W. Rohrbach (byteborg) wrote :

+1 on removing xserver-xorg-video-nouveau to solve upgrading issue from 10.04 to 10.10 (32bit)

Revision history for this message
Mad_Doktor (mad-doktor) wrote :

+2 on removing xserver-xorg-video-nouveau to solve upgrading issue from 10.04 to 10.10. (64 bit)

Revision history for this message
ragovi (raul-gzv) wrote :

+3 on removing xserver-xorg-video-nouveau to solve upgrading issue from 10.04 to 10.10. (64 bit)

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

+4 on removing xserver-xorg-video-nouveau to solve upgrading issue from

Revision history for this message
Roberto Innocenti (robyinno) wrote :

+5 on removing xserver-xorg-video-nouveau to solve upgrading issue from

Revision history for this message
glkpspam (glkpspam) wrote :

'sudo apt-get remove xserver-xorg-video-nouveau' fixed it for me, too (10.04 to 10.10 32 bit).

Revision history for this message
Alexander Ufimtsev (alexu) wrote :

+7 on removing xserver-xorg-video-nouveau to solve upgrading issue from 10.04 to 10.10 (32 bit).

Revision history for this message
Chad Burr (chadburr76-gmail) wrote :

+8 removing xserver-xorg-video-nouveau solves issue

Revision history for this message
Chad Burr (chadburr76-gmail) wrote :

Be sure to reenable / install xserver-xorg-video-nouveau once your install is complete.

upgraded 10.04 LTS to 10.10 AMD 64x2

Revision history for this message
Insperatus (jamespaulharding) wrote :

+9 'sudo apt-get remove xserver-xorg-video-nouveau' also worked for my upgrade 10.04 to 10.10 - 32-bit

Revision history for this message
Eduard Tatevosian (etatevosian) wrote :

+10 'sudo apt-get remove xserver-xorg-video-nouveau' also worked for my upgrade 10.04 to 10.10 - 32-bit

Revision history for this message
Dan Hinojosa (dhinojosa) wrote :

+11 worked for me too. Damn I love Open Source - 64 bit 10.04 to 10.10

Revision history for this message
PhilippeDePass (depassp) wrote :

This was also encountered while attempting to upgrade from 10.10->11.04, however removing xserver-xorg-video-nouveau did not solve the problem.

https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/775289

Revision history for this message
Marko Tuominen (tuomin30) wrote :

I got this error message from the update manager when trying to upgrade from 64-bit Maverick to Natty. The error message was partially in Finnish according to my language settings, the operative word being *partially*. Attached /var/log/dist-upgrade/ folder as instructed in the error message.

Revision history for this message
Pedram Veisi (pedramveisi) wrote :

+12 removing xserver-xorg-video-nouveau worked.

Revision history for this message
CyborgAlpha (cyborg-alpha-nh4) wrote :

The same (as comment # 38) for me 10.10 -> 11.04

Revision history for this message
Frank Hall (fthall3) wrote :

I had the same error, so based on comments here I viewed the end of the apt log file, /var/log/dist-upgrade/apt.log. There I found that nspluginwrapper was "held", so I removed nspluginwrapper via Synaptic (realizing I could have used 'sudo apt-get remove nspluginwrapper'), which also removed flashplugin. This fixed my problem, and I hope it helps fix yours.

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

Here is my log. I don't have nouveau.

Revision history for this message
Marko Tuominen (tuomin30) wrote :

10.04 -> 11.04

Revision history for this message
ysingh (ys-rajput) wrote :

I get the error while upgrading 10.04 to 11.10

Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

Revision history for this message
Sardorbek Pulatov (prockrammer) wrote :

The same problem when upgrading from 10.04 to 12.04 alpha 1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.