yum update-minimal --security does not update a package

Solution Unverified - Updated -

Issue

  • yum update-minimal --security fail to update a package for wich an existing RHSA has been released but not yet updated on the system.

  • Consider the following:


[root@fastvm-rhel-7-9-51 ~]# yum check-update -q --security NetworkManager-config-server.noarch 1:1.18.8-1.el7 rhel-7-server-rpms [root@fastvm-rhel-7-9-51 ~]# rpm -q NetworkManager-config-server NetworkManager-config-server-1.4.0-14.el7_3.x86_64
  • We see the current version of NetworkManager (1.4.0-14.el7_3.x86_64) should be updated.
  • The RHSA associated with the fix is RHSA-2018:3665 . It provide version 1.12.0-8.el7_6.noarch of the package.
  • yum update-minimal --security fail to install the correct version, but install the latest one:
[root@fastvm-rhel-7-9-51 ~]# yum update-minimal --security 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager-config-server.x86_64 1:1.4.0-14.el7_3 will be updated
---> Package NetworkManager-config-server.noarch 1:1.18.8-1.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                                       Arch                    Version                          Repository                           Size
==================================================================================================================================================
Updating:
 NetworkManager-config-server                  noarch                  1:1.18.8-1.el7                   rhel-7-server-rpms                  151 k

Transaction Summary
==================================================================================================================================================
Upgrade  1 Package
  • Trying to update to the specific version 1.12.0-8.el7_6 fail :

[root@fastvm-rhel-7-9-51 ~]# yum update NetworkManager-config-server-1.12.0-8.el7_6 Loaded plugins: product-id, search-disabled-repos, subscription-manager Package(s) NetworkManager-config-server-1.12.0-8.el7_6 available, but not installed. No packages marked for update

Environment

  • Red Hat Enterprise Linux 7
  • yum
  • Package experiencing some change of available architecture in the repository.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content