Bug 604778 - yum --skip-broken flag does not appear to work
Summary: yum --skip-broken flag does not appear to work
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-16 17:50 UTC by Dick Franks
Modified: 2014-01-21 23:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-04-05 16:07:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dick Franks 2010-06-16 17:50:10 UTC
Description of problem:

Attempt to recover from failed transaction check (and perhaps discover what packages are impacted) using

# yum update --skip-broken

failed (as far as I can tell) in same manner as plain yum update.

Seemed to be no evidence of packages being skipped to prune the update list to one which would work. I was able to pick a few packages and update them, which indicates that some pruning was actually possible.


Version-Release number of selected component (if applicable):

# yum provides yum
Loaded plugins: presto, refresh-packagekit
yum-3.2.27-4.fc13.noarch : RPM installer/updater
Repo        : fedora
Matched from:

yum-3.2.27-4.fc13.noarch : RPM installer/updater
Repo        : installed
Matched from:
Other       : Provides-match: yum


How reproducible:

100% (at least until someone updates the packages involved)

Steps to Reproduce:
1. yum update --skip-broken     # as at 16June2010 17:34 UTC
2.
3.
  
Actual results:

...
ncurses-libs                           i686                5.7-7.20100130.fc13                 fedora                        255 k
 nspr                                   i686                4.8.4-2.fc13                        fedora                        112 k
 nss                                    i686                3.12.6-4.fc13                       fedora                        741 k
 nss-softokn                            i686                3.12.4-17.fc13                      fedora                        169 k
 nss-softokn-freebl                     i686                3.12.4-19.fc13                      updates                       111 k
 nss-util                               i686                3.12.6-1.fc13                       fedora                         45 k
 pango                                  i686                1.28.0-1.fc13                       fedora                        349 k
 pixman                                 i686                0.18.0-1.fc13                       fedora                        154 k
 readline                               i686                6.1-2.fc13                          fedora                        181 k
 sqlite                                 i686                3.6.22-1.fc13                       fedora                        309 k
 zlib                                   i686                1.2.3-23.fc12                       fedora                         69 k

Transaction Summary
====================================================================================================================================
Install      65 Package(s)
Upgrade      39 Package(s)

Total size: 129 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  package nss-softokn-3.12.4-19.fc13.x86_64 (which is newer than nss-softokn-3.12.4-17.fc13.i686) is already installed



Expected results:

Update complete, plus estimated 40 pending updates.


Additional info:

Fedora was preupgraded from F12

Desktop GUI updater fails in same way.

Comment 1 seth vidal 2010-06-16 18:52:30 UTC

*** This bug has been marked as a duplicate of bug 596840 ***

Comment 2 Dick Franks 2010-06-16 19:31:23 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 596840 ***    

This is NOT a duplicate of 596840!


The issue I am raising here is about yum and its failure to skip broken parts of the dependency tree.

The example above was precisely that, an example.

This turns out to be Adobe's problem.

# more adobe-linux-i386.repo 
[adobe-linux-i386]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

# yum install flash-plugin

fails reliably on x86-64 hardware.


I would have arrived at this point MUCH sooner if yum --skip-broken worked as advertised.

Please reopen and assign to yum maintainer

Comment 3 seth vidal 2010-06-16 19:43:24 UTC
skip-broken cannot act on things that happen AFTER the depsolve. The transaction-test had an error because of the nss-softokn being broken in an very odd way.

the adobe-linux thing is a red herring for the bug you pasted info about.

If there is a different bug then please paste the output of that one.


Note You need to log in before you can comment on or make changes to this bug.