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 1497351 - [RFE] yum versionlock should give a note, if packages are blocked by update
Summary: [RFE] yum versionlock should give a note, if packages are blocked by update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum-utils
Version: 7.4
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Michal Domonkos
QA Contact: Eva Mrakova
Marie Hornickova
URL:
Whiteboard:
Depends On:
Blocks: 1549618
TreeView+ depends on / blocked
 
Reported: 2017-09-29 21:15 UTC by Steffen Froemer
Modified: 2022-03-13 14:27 UTC (History)
6 users (show)

Fixed In Version: yum-utils-1.1.31-50.el7
Doc Type: Release Note
Doc Text:
The "yum versionlock" plug-in now displays which packages are blocked when running the "yum update" command Previously, the "yum versionlock" plug-in, which is used to lock RPM packages, did not display any information about packages excluded from the update. Consequently, users were not warned that such packages will not be updated when running the "yum update" command. With this update, "yum versionlock" has been changed. The plug-in now prints a message about how many package updates are being excluded. In addition, the new "status" subcommand has been added to the plug-in. The "yum versionlock status" command prints the list of available package updates blocked by the plug-in.
Clone Of:
Environment:
Last Closed: 2018-10-30 11:40:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 578287 0 low CLOSED RFE: display excluded packages at top of transaction or after error messages 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2018:3280 0 None None None 2018-10-30 11:41:13 UTC

Internal Links: 578287

Description Steffen Froemer 2017-09-29 21:15:51 UTC
Description of problem:
If packages are locked by using yum versionlock, one could forget about it and wondering, why packages not updated as expected.
calling `yum update` does not give any hint, that packages are locked by versionlock

Version-Release number of selected component (if applicable):
yum-plugin-versionlock-1.1.31-40.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Install RHEL 7.4
2. lock some packages
3. run `yum update`

Actual results:
# yum update does not mention any about locked packages

Expected results:
# yum update
Note: There are packages locked by yum-versionlock-plugin. For more info use `yum versionlock list

Additional Infos:
Example:


# yum update
Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock
[...]
==============================================================================================
 Package                Arch        Version                    Repository                Size
==============================================================================================
Installing:
 kernel                 x86_64      3.10.0-693.2.2.el7         rhel-7-server-rpms        43 M
 kernel-devel           x86_64      3.10.0-693.2.2.el7         rhel-7-server-rpms        14 M
Updating:
 augeas-libs            x86_64      1.4.0-2.el7_4.1            rhel-7-server-rpms       355 k
 emacs-filesystem       noarch      1:24.3-20.el7_4            rhel-7-server-rpms        58 k
 kernel-headers         x86_64      3.10.0-693.2.2.el7         rhel-7-server-rpms       6.0 M
 kernel-tools           x86_64      3.10.0-693.2.2.el7         rhel-7-server-rpms       5.1 M
 kernel-tools-libs      x86_64      3.10.0-693.2.2.el7         rhel-7-server-rpms       5.0 M
 nss                    x86_64      3.28.4-12.el7_4            rhel-7-server-rpms       848 k
 nss-sysinit            x86_64      3.28.4-12.el7_4            rhel-7-server-rpms        60 k
 nss-tools              x86_64      3.28.4-12.el7_4            rhel-7-server-rpms       500 k
 python-perf            x86_64      3.10.0-693.2.2.el7         rhel-7-server-rpms       5.1 M
Removing:
 kernel                 x86_64      3.10.0-514.el7             @anaconda/7.3            148 M
 kernel-devel           x86_64      3.10.0-514.26.2.el7        @rhel-7-server-rpms       34 M

Transaction Summary
==============================================================================================
Install  2 Packages
Upgrade  9 Packages
Remove   2 Packages


# yum versionlock add kernel*
Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock
Adding versionlock on: 0:kernel-devel-3.10.0-693.2.1.el7
Adding versionlock on: 0:kernel-tools-3.10.0-693.2.1.el7
Adding versionlock on: 0:kernel-3.10.0-693.1.1.el7
Adding versionlock on: 0:kernel-tools-libs-3.10.0-693.2.1.el7
Adding versionlock on: 0:kernel-3.10.0-514.el7
Adding versionlock on: 0:kernel-devel-3.10.0-514.26.2.el7
Adding versionlock on: 0:kernel-3.10.0-693.2.1.el7
Adding versionlock on: 0:kernel-headers-3.10.0-693.2.1.el7
Adding versionlock on: 0:kernel-devel-3.10.0-693.1.1.el7
versionlock added: 9


# yum update
Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock
Resolving Dependencies
--> Running transaction check
---> Package augeas-libs.x86_64 0:1.4.0-2.el7 will be updated
---> Package augeas-libs.x86_64 0:1.4.0-2.el7_4.1 will be an update
---> Package emacs-filesystem.noarch 1:24.3-19.el7_3 will be updated
---> Package emacs-filesystem.noarch 1:24.3-20.el7_4 will be an update
---> Package nss.x86_64 0:3.28.4-11.el7_4 will be updated
---> Package nss.x86_64 0:3.28.4-12.el7_4 will be an update
---> Package nss-sysinit.x86_64 0:3.28.4-11.el7_4 will be updated
---> Package nss-sysinit.x86_64 0:3.28.4-12.el7_4 will be an update
---> Package nss-tools.x86_64 0:3.28.4-11.el7_4 will be updated
---> Package nss-tools.x86_64 0:3.28.4-12.el7_4 will be an update
---> Package python-perf.x86_64 0:3.10.0-693.2.1.el7 will be updated
---> Package python-perf.x86_64 0:3.10.0-693.2.2.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package                Arch         Version                   Repository                Size
==============================================================================================
Updating:
 augeas-libs            x86_64       1.4.0-2.el7_4.1           rhel-7-server-rpms       355 k
 emacs-filesystem       noarch       1:24.3-20.el7_4           rhel-7-server-rpms        58 k
 nss                    x86_64       3.28.4-12.el7_4           rhel-7-server-rpms       848 k
 nss-sysinit            x86_64       3.28.4-12.el7_4           rhel-7-server-rpms        60 k
 nss-tools              x86_64       3.28.4-12.el7_4           rhel-7-server-rpms       500 k
 python-perf            x86_64       3.10.0-693.2.2.el7        rhel-7-server-rpms       5.1 M

Transaction Summary
==============================================================================================
Upgrade  6 Packages

Comment 20 errata-xmlrpc 2018-10-30 11:40:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3280


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