Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1689025 - yum localupdate creates failing transaction when run against latest installed kernel
Summary: yum localupdate creates failing transaction when run against latest installed...
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.7
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: BaseOS QE Security Team
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-15 00:39 UTC by Devon
Modified: 2019-04-11 18:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description Devon 2019-03-15 00:39:17 UTC
Description of problem:

When using "yum localupdate" against the latest installed kernel version, a transaction is set up as it sees the kernel version as updates to the older installed kernel versions and then fails because the kernel version is already installed.

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


How reproducible:


Steps to Reproduce:
1. Have multiple kernel versions installed
2. Use yum localupdate on the newest installed kernel version
3.yum will create a transaction and fail as shown below:

    # rpm -q kernel


    # yum localupdate kernel-3.10.0-957.10.1.el7.x86_64.rpm 

Loaded plugins: auto-update-debuginfo, changelog, langpacks, product-id, search-disabled-repos, subscription-manager
Examining kernel-3.10.0-957.10.1.el7.x86_64.rpm: kernel-3.10.0-957.10.1.el7.x86_64
Marking kernel-3.10.0-957.10.1.el7.x86_64.rpm as an update to kernel-3.10.0-693.11.6.el7.x86_64
Marking kernel-3.10.0-957.10.1.el7.x86_64.rpm as an update to kernel-3.10.0-693.17.1.el7.x86_64
Marking kernel-3.10.0-957.10.1.el7.x86_64.rpm as an update to kernel-3.10.0-862.el7.x86_64
Marking kernel-3.10.0-957.10.1.el7.x86_64.rpm as an update to kernel-3.10.0-957.el7.x86_64
kernel-3.10.0-957.10.1.el7.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-957.10.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package                                 Arch                                    Version                                                 Repository                                                           Size
 kernel                                  x86_64                                  3.10.0-957.10.1.el7                                     /kernel-3.10.0-957.10.1.el7.x86_64                                   63 M

Transaction Summary
Reinstall  1 Package

Total size: 63 M
Installed size: 63 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  package kernel-3.10.0-957.10.1.el7.x86_64 is already installed

Error Summary

Actual results:

Transaction is set up and fails.

Expected results:

Either the transaction would not be set up or the update would simply reinstall the kernel.

Additional info:

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