RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 884678 - [7.0 FEAT] yum update --skip-broken does not always update packages which can be updated
Summary: [7.0 FEAT] yum update --skip-broken does not always update packages which can...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 7.0
Assignee: James Antill
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-06 14:38 UTC by Dalibor Pospíšil
Modified: 2014-01-21 06:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-18 19:42:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dalibor Pospíšil 2012-12-06 14:38:28 UTC
Description of problem:
yum update does not update system if there are some broken dependencies with advice to use --skip-broken. yum update --skip-broken also does not update anything even if some packages can be updated.

Version-Release number of selected component (if applicable):
yum-3.4.3-46.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. install RHEL-7 from http://download.eng.bos.redhat.com/composes/finished/RHEL-7.0-20120711.2/compose/Server/x86_64/os/
2. # yum -y groupinstall desktop general-desktop
3. change repo to http://download.eng.bos.redhat.com/composes/finished/RHEL-7.0-20121129.0/compose/Server/x86_64/os/
4. yum -y update yum
5. yum -y update
6. yum -y --skip-broken update 
7. yum -y update kernel
  
Actual results:
kernel is updated in step 7

Expected results:
kernel is already updated in step 6

Comment 1 Dalibor Pospíšil 2012-12-06 14:48:07 UTC
The installation in step 1 should be done as minimal, but that is probably not crucial.

Comment 2 Dalibor Pospíšil 2012-12-06 16:04:39 UTC
Actually there are some packages updated in the step 6. But still not all possible packages.

Comment 3 James Antill 2013-06-18 19:42:58 UTC
 Not sure even DNF will be able to do this feature, but yum certainly can't guarantee we'll always have the optimal (from the users POV) depsolve ... esp. for --skip-broken.


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