Ubuntu

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

Reported by Atanas Atanasov on 2010-07-17
214
This bug affects 39 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
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

Atanas Atanasov (thenasko) wrote :
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
Atanas Atanasov (thenasko) wrote :

Here it is. Thank you for your help.

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
ddekreon (drew-dekreon) wrote :

Confirmed on 32-bit 10.04 to 32-bit 10.10

ddekreon (drew-dekreon) wrote :

apt.log

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 .

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) on 2010-10-15
tags: added: 10.04 upgrade
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

rflores (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.

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.

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.

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?

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.

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.

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

naoli (naoli) wrote :

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

Thanks

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

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?

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

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.

KP (keehwan-park) wrote :

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

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

PhilippeDePass (depassp) wrote :

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

Thank you!

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.

Karsten W. Rohrbach (byteborg) wrote :

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

Mad_Doktor (mad-doktor) wrote :

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

ragovi (raul-gzv) wrote :

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

Fabio Marzocca (thesaltydog) wrote :

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

Roberto Innocenti (robyinno) wrote :

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

glkpspam (glkpspam) wrote :

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

Alexander Ufimtsev (alexu-ucd) wrote :

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

Chad Burr (chadburr76-gmail) wrote :

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

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

Insperatus (jamespaulharding) wrote :

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

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

Dan Hinojosa (dhinojosa) wrote :

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

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

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.

Pedram Veisi (pedramveisi) wrote :

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

CyborgAlpha (cyborg-alpha-nh4) wrote :

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

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.

Fabio Marzocca (thesaltydog) wrote :

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

Marko Tuominen (tuomin30) wrote :

10.04 -> 11.04

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

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  Edit
Everyone can see this information.

Other bug subscribers