Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 386620 [details] trace from yum upgrade --skip-broken Description of problem: Today I've tried yum upgrade - and it failed for deps problem. So I've tried with --skip-broken. But this option gave me an error: "Skip-broken could not solve problems" How could this happen - IMHO the worst case is, that no package could be upgrade - but 'could not solve' as a result looks pretty strange. Version-Release number of selected component (if applicable): yum-3.2.25-8.fc13.noarch How reproducible: Steps to Reproduce: 1. yum upgrade --skip-broken 2. 3. Actual results: Expected results: skip-broken has the worst case solution, that no package could be upgraded - so there is always an existing solution. Additional info:
Created attachment 386622 [details] package list of my machine (Friday's Rawhide)
Created attachment 386623 [details] bzip2 debug yum -v upgrade --skip-broken
in the ideal world, skip-broken should always be able to clean out all packages from the transaction, but there is a lot of weird cases, so in some case we it detects something is rotten and bails out, so it will not go into an endless loop. We will make it better when we find new unhandled problem cases. The problem in this case is that the transaction is so big that is no normal human can see where it goes wrong, so it is very hard to make test cases to reproduce these issues, so the skip-broken code can be extended to handle this case. An rawhide is a moving target, so it is hard to reproduce the current brokeness.
I've not done yet any update/upgrade - so just ask what kind of tests commands I should run. Also IMHO mathematically this problems doesn't look so hard and it seems there are a lot of algorithms to make a proper coverage of dependencies.
The problem is when you have a transaction with more than 700 elements, it is very hard to see where skip-broken is failing, it you have a tranction with 10-20 elements you can track down what goes wrong and make a testcase to reproduce the issue and a fix can be tested. So the real detective work is to spot the packages causing the problems and elimiate the rest and only do an update of the packages causing troubles :) I will be back with more info, when i have analyzed it a bit more :)
Here is the problems and the updates causing the problems: gegl-0.1.0-2.fc12.x86_64 from installed has depsolving problems --> Missing Dependency: libbabl-0.0.so.0()(64bit) is needed by package gegl-0.1.0-2.fc12.x86_64 (installed) update : babl-0.1.2-1.fc13.x86_64 updates : babl-0.1.0-5.fc13.x86_64 2:gimp-2.6.8-1.fc13.x86_64 from installed has depsolving problems --> Missing Dependency: libbabl-0.0.so.0()(64bit) is needed by package 2:gimp-2.6.8-1.fc13.x86_64 (installed) update : babl-0.1.2-1.fc13.x86_64 updates : babl-0.1.0-5.fc13.x86_64 gnash-0.9.0-0.6.20090809bzr11401.fc12.x86_64 from installed has depsolving problems --> Missing Dependency: libboost_thread-mt.so.5()(64bit) is needed by package gnash-0.9.0-0.6.20090809bzr11401.fc12.x86_64 (installed) update : boost-thread-1.41.0-3.fc13.x86_64 updates : boost-thread-1.39.0-11.fc13.x86_64 dependson : boost-1.41.0-3.fc13.x86_64 dependson : boost-devel-1.41.0-3.fc13.x86_64 dependson : boost-wave-1.41.0-3.fc13.x86_64 gnash-0.9.0-0.6.20090809bzr11401.fc12.x86_64 from installed has depsolving problems --> Missing Dependency: libboost_date_time-mt.so.5()(64bit) is needed by package gnash-0.9.0-0.6.20090809bzr11401.fc12.x86_64 (installed) update : boost-date-time-1.41.0-3.fc13.x86_64 updates : boost-date-time-1.39.0-11.fc13.x86_64 dependson : boost-1.41.0-3.fc13.x86_64 dependson : boost-devel-1.41.0-3.fc13.x86_64 dependson : boost-devel-1.41.0-3.fc13.x86_64 dependson : boost-wave-1.41.0-3.fc13.x86_64 eel2-2.26.0-2.fc12.x86_64 from installed has depsolving problems --> Missing Dependency: libgnome-desktop-2.so.11()(64bit) is needed by package eel2-2.26.0-2.fc12.x86_64 (installed) update : gnome-desktop-2.29.5-1.fc13.x86_64 updates : gnome-desktop-2.29.4-1.fc13.x86_64 dependson : compiz-gnome-0.8.4-3.fc13.x86_64 dependson : 1:control-center-2.29.4-2.fc13.x86_64 dependson : 1:gnome-applets-2.29.5-2.fc13.x86_64 dependson : gnome-desktop-devel-2.29.5-1.fc13.x86_64 dependson : gnome-desktop-devel-2.29.5-1.fc13.x86_64 dependson : gnome-panel-2.29.5.1-1.fc13.x86_64 dependson : gnome-screensaver-2.28.0-10.fc13.x86_64 dependson : gnome-settings-daemon-2.29.5-1.fc13.x86_64 dependson : nautilus-2.29.1-2.fc13.x86_64
The problem is gegl, gimp, gnash and eel in rawhide need to to be rebuild, because of soname bumps in babl, boost-thread, boost-date-time and gnome-desktop. if you do a yum update babl -v --skip-broken you will see that skip-broken can handle the issues and ends with an empty transaction. You can try that with the other ones (boost-thread, boost-date-time and gnome-desktop) and will see that --skip-broken does the right thing and ends up with an empty transaction. (if not then please attach the output) But if you do an 'yum update --enablerepo=rawhide' (from f12) then --skip-broken will bail out af a number of interation.
you can try to update to yum from rawhide, it has better output of depsolve error summary, to make it easier to see the packages there is breaking the installed ones.
Ok - I'm running rawhide already and in my yum.conf I have this line: exclude=kaffeine*,qemu*,gnash* Thus gnash is intentionally not upgraded. Here is the result of yum update babl -v --skip-broken: Not loading "blacklist" plugin, as it is disabled Loading "changelog" plugin Loading "merge-conf" plugin Loading "priorities" plugin Loading "refresh-packagekit" plugin Loading "refresh-updatesd" plugin Not loading "whiteout" plugin, as it is disabled Config time: 0.114 Yum Version: 3.2.25 Setting up Package Sacks pkgsack time: 0.097 rpmdb time: 0.067 Setting up Update Process Building updates object up:Obs Init time: 0.117 up:simple updates time: 0.373 up:obs time: 0.006 up:condense time: 0.001 updates time: 1.722 Resolving Dependencies --> Running transaction check Checking deps for babl.x86_64 0:0.1.0-5.fc13 - None gegl-0.1.0-2.fc12.x86_64 requires: libbabl-0.0.so.0()(64bit) --> Processing Dependency: libbabl-0.0.so.0()(64bit) for package: gegl-0.1.0-2.fc12.x86_64 Needed Require is not a package name. Looking up: libbabl-0.0.so.0()(64bit) Potential Provider: babl.x86_64 0:0.1.0-5.fc13 Mode is u for provider of libbabl-0.0.so.0()(64bit): babl.x86_64 0:0.1.0-5.fc13 Mode for pkg providing libbabl-0.0.so.0()(64bit): u TSINFO: Updating gegl-0.1.0-2.fc12.x86_64 to resolve dep. 2:gimp-2.6.8-1.fc13.x86_64 requires: libbabl-0.0.so.0()(64bit) --> Processing Dependency: libbabl-0.0.so.0()(64bit) for package: 2:gimp-2.6.8-1.fc13.x86_64 Needed Require has already been looked up, cheating Potential Provider: babl.x86_64 0:0.1.0-5.fc13 Mode is u for provider of libbabl-0.0.so.0()(64bit): babl.x86_64 0:0.1.0-5.fc13 Mode for pkg providing libbabl-0.0.so.0()(64bit): u Cannot find an update path for dep for: libbabl-0.0.so.0()(64bit) Searching pkgSack for dep: libbabl-0.0.so.0()(64bit) ---> Package babl.x86_64 0:0.1.2-1.fc13 set to be updated Checking deps for babl.x86_64 0:0.1.2-1.fc13 - u --> Running transaction check Checking deps for babl.x86_64 0:0.1.0-5.fc13 - None 2:gimp-2.6.8-1.fc13.x86_64 requires: libbabl-0.0.so.0()(64bit) --> Processing Dependency: libbabl-0.0.so.0()(64bit) for package: 2:gimp-2.6.8-1.fc13.x86_64 Needed Require is not a package name. Looking up: libbabl-0.0.so.0()(64bit) Potential Provider: babl.x86_64 0:0.1.0-5.fc13 Mode is u for provider of libbabl-0.0.so.0()(64bit): babl.x86_64 0:0.1.0-5.fc13 Mode for pkg providing libbabl-0.0.so.0()(64bit): u Cannot find an update path for dep for: libbabl-0.0.so.0()(64bit) Searching pkgSack for dep: libbabl-0.0.so.0()(64bit) Checking deps for gegl.x86_64 0:0.1.0-2.fc12 - None ---> Package gegl.x86_64 0:0.1.0-3.fc13 set to be updated Checking deps for gegl.x86_64 0:0.1.0-3.fc13 - u looking for ('libbabl-0.1.so.0()(64bit)', None, (None, None, None)) as a requirement of gegl.x86_64 0:0.1.0-3.fc13 - u --> Finished Dependency Resolution Dependency Process ending 2:gimp-2.6.8-1.fc13.x86_64 from installed has depsolving problems --> Missing Dependency: libbabl-0.0.so.0()(64bit) is needed by package 2:gimp-2.6.8-1.fc13.x86_64 (installed) Skip-broken round 1 TSINFO: Current Transaction : 4 member(s) update : babl-0.1.2-1.fc13.x86_64 updates : babl-0.1.0-5.fc13.x86_64 dependson : gegl-0.1.0-3.fc13.x86_64 update : gegl-0.1.0-3.fc13.x86_64 updates : gegl-0.1.0-2.fc12.x86_64 dependson : gegl-0.1.0-2.fc12.x86_64 updated : gegl-0.1.0-2.fc12.x86_64 updatedby : gegl-0.1.0-3.fc13.x86_64 updated : babl-0.1.0-5.fc13.x86_64 updatedby : babl-0.1.2-1.fc13.x86_64 SKIPBROKEN: removing babl-0.1.2-1.fc13.x86_64 from pkgSack & updates SKIPBROKEN: removing babl-0.1.2-1.fc13.x86_64 from pkgSack & updates SKIPBROKEN: removing babl-0.1.0-5.fc13.x86_64 from transaction SKIPBROKEN: removing babl-0.1.2-1.fc13.x86_64 from transaction --> Running transaction check Checking deps for babl.x86_64 0:0.1.0-5.fc13 - None looking for ('/sbin/ldconfig', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('/sbin/ldconfig', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libc.so.6(GLIBC_2.11)(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libc.so.6(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libc.so.6(GLIBC_2.3.4)(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libc.so.6(GLIBC_2.4)(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libdl.so.2(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libm.so.6(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('rtld(GNU_HASH)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libbabl-0.0.so.0()(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libc.so.6()(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libdl.so.2()(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None looking for ('libm.so.6()(64bit)', None, (None, None, None)) as a requirement of babl.x86_64 0:0.1.0-5.fc13 - None ---> Package babl.x86_64 0:0.1.2-1.fc13 set to be updated Checking deps for babl.x86_64 0:0.1.2-1.fc13 - u gegl-0.1.0-3.fc13.x86_64 requires: libbabl-0.1.so.0()(64bit) --> Processing Dependency: libbabl-0.1.so.0()(64bit) for package: gegl-0.1.0-3.fc13.x86_64 Searching pkgSack for dep: libbabl-0.1.so.0()(64bit) --> Finished Dependency Resolution Dependency Process ending gegl-0.1.0-3.fc13.x86_64 from development has depsolving problems --> Missing Dependency: libbabl-0.1.so.0()(64bit) is needed by package gegl-0.1.0-3.fc13.x86_64 (development) Skip-broken round 2 TSINFO: Current Transaction : 2 member(s) update : gegl-0.1.0-3.fc13.x86_64 updates : gegl-0.1.0-2.fc12.x86_64 dependson : gegl-0.1.0-2.fc12.x86_64 updated : gegl-0.1.0-2.fc12.x86_64 updatedby : gegl-0.1.0-3.fc13.x86_64 SKIPBROKEN: removing gegl-0.1.0-3.fc13.x86_64 from pkgSack & updates SKIPBROKEN: removing gegl-0.1.0-3.fc13.x86_64 from pkgSack & updates SKIPBROKEN: removing gegl-0.1.0-3.fc13.x86_64 from transaction SKIPBROKEN: removing gegl-0.1.0-2.fc12.x86_64 from transaction SKIPBROKEN: sanity check the current transaction Skip-broken took 2 rounds Packages skipped because of dependency problems: babl-0.1.2-1.fc13.x86_64 from development gegl-0.1.0-3.fc13.x86_64 from development TSINFO: Current Transaction : 0 member(s) Skip-Broken time: 0.112 Depsolve time: 0.586
Here --skip-broken is working as expected and clean out the transaction and end up with no packages to update. could you try with yum update -v boost-date-time --skip-broken and yum update -v glibc --skip-broken
I've made some manual upgrade work to squeeze a bit the problematic package set. Thus I've updated majority of packages - and I'm attaching new traces from new yum from rawhide. Which means that packages you wanted trace were succefully upgrade thus problems are elsewhere - I've even removed gnash to make it simplier. (gnash is not upgradable due to locale bugs)
Created attachment 387101 [details] new 'shortened' list of yum update --skip-broken
Created attachment 387103 [details] yum update -v --skip-broken Full debug listing for the update. Note that things like: kdenetwork-libs Could be still easily easily updated by hand via yum update kdenetwork-lib: i.e.: ANG=C yum update kdenetwork-libs Loaded plugins: changelog, merge-conf, priorities, refresh-packagekit, refresh-updatesd Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package kdenetwork-libs.x86_64 7:4.3.95-2.fc13 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: kdenetwork-libs x86_64 7:4.3.95-2.fc13 development 1.5 M Transaction Summary ================================================================================ Install 0 Package(s) Upgrade 1 Package(s) Total download size: 1.5 M Is this ok [y/N]:
I'm not sure if this is a problem with gegl or gimp, but for the last two days I've been unable to update gegle. Yesterday I erased gimp, and gegl updated. I then downgraded gegl, and reinstalled gimp. Now gegl won't update again. Here's the yum output: [gene@Mobile-PC ~]$ sudo yum update gegl Loaded plugins: fastestmirror, presto, refresh-packagekit, remove-with-leaves, show-leaves, : verify Loading mirror speeds from cached hostfile * fedora: mirrors.cat.pdx.edu * rpmfusion-free-rawhide: mirrors.cat.pdx.edu * rpmfusion-nonfree-rawhide: mirrors.cat.pdx.edu * updates-testing: mirrors.cat.pdx.edu Setting up Update Process Resolving Dependencies --> Running transaction check --> Processing Dependency: libgegl-0.0.so.0()(64bit) for package: 2:gimp-2.6.8-3.fc13.x86_64 ---> Package gegl.x86_64 0:0.1.2-2.fc13 set to be updated --> Finished Dependency Resolution Error: Package: 2:gimp-2.6.8-3.fc13.x86_64 (@fedora) Requires: libgegl-0.0.so.0()(64bit) Removing: gegl-0.1.0-3.fc13.x86_64 (@fedora) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
In that case, Gene, it looks like gegl has changed so version, so gimp needs to be rebuilt to use the new version.
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
With today's rawhide: yum-3.2.27-16.fc14.noarch rpm-4.8.1-1.fc14.x86_64 #LANG=C yum upgrade --skip-broken ... ---> Package tkinter.x86_64 0:2.6.5-17.fc14 set to be updated ---> Package xulrunner.x86_64 0:1.9.2.4-1.fc14 set to be updated ---> Package xulrunner-debuginfo.x86_64 0:1.9.2.4-1.fc14 set to be updated --> Processing Conflict: firefox-3.6.3-4.fc14.x86_64 conflicts xulrunner >= 1.9.2.4 --> Finished Dependency Resolution Skip-broken could not solve problems Error: Package: 2:vim-enhanced-7.2.444-1.fc14.x86_64 (@rawhide) Requires: perl(:MODULE_COMPAT_5.10.1) Removing: 4:perl-5.10.1-118.fc14.x86_64 (@rawhide) perl(:MODULE_COMPAT_5.10.1) Updated By: 4:perl-5.12.1-123.fc14.x86_64 (rawhide) Not found Error: Package: avidemux-plugins-2.5.2-4.fc13.x86_64 (installed) Requires: libx264.so.83()(64bit) Removing: x264-libs-0.0.0-0.27.20100116git3d0f110.fc13.x86_64 (installed) libx264.so.83()(64bit) Updated By: x264-libs-0.0.0-0.27.20100429gitd9db8b3.fc14.x86_64 (rpmfusion-free-rawhide) Not found Error: Package: perl-XML-NamespaceSupport-1.11-1.fc14.noarch (@rawhide) Requires: perl(:MODULE_COMPAT_5.10.1) Removing: 4:perl-5.10.1-118.fc14.x86_64 (@rawhide) perl(:MODULE_COMPAT_5.10.1) Updated By: 4:perl-5.12.1-123.fc14.x86_64 (rawhide) Not found Error: firefox conflicts with xulrunner Error: Package: perl-Git-1.7.1-1.fc14.noarch (@rawhide) Requires: perl(:MODULE_COMPAT_5.10.1) Removing: 4:perl-5.10.1-118.fc14.x86_64 (@rawhide) perl(:MODULE_COMPAT_5.10.1) Updated By: 4:perl-5.12.1-123.fc14.x86_64 (rawhide) Not found You could try running: rpm -Va --nofiles --nodigest
Conflict handling in skip-broken was broken make this on a duplicate to the bug tracking the issue *** This bug has been marked as a duplicate of bug 681806 ***
I would prefer to keep my one still opened. I could easily see the problem of --skip-broken to not be able to resolve current rawhide & libreoffice packages. So while I could easily upgrade my machine by simply using '--exclude libre*' - --skip-broken is not able to figure this out.
Created attachment 489835 [details] update of yum -v upgrade --skip-broken Current rawhide yum: # rpm -qa | grep yum yumex-3.0.2-1.fc15.noarch yum-plugin-refresh-updatesd-1.1.30-2.fc15.noarch yum-plugin-merge-conf-1.1.30-2.fc15.noarch yum-3.2.29-9.fc16.noarch yum-plugin-changelog-1.1.30-2.fc15.noarch anaconda-yum-plugins-1.0-6.fc15.noarch yum-plugin-priorities-1.1.30-2.fc15.noarch yum-metadata-parser-1.1.4-5.fc16.x86_64 PackageKit-yum-0.6.13-1.fc16.x86_64 yum-updatesd-0.9-4.fc15.noarch yum-utils-1.1.30-2.fc15.noarch
could you please add the output from yum -d5 upgrade --skip-broken to get some extra skip-broken debug info
Add please test the current upstream: cd <some work dir> git clone git://yum.baseurl.org/yum.git cd yum git checkout -t origin/yum-3_2_X ./yummain.py -d5 upgrade --skip-broken
Created attachment 489935 [details] yum -d5 upgrade --skip-broken For comment 21
Created attachment 489936 [details] yummain.py -d5 upgrade --skip-broken For Comment 22. Wow, looks like you are my hero for today :)
Look like my latest upstrem fixes has work out as i hoped :)