yum list-security or yum --security check-update
Trying to understand the difference between these two on Centos 6
Quote:
and Quote:
what is the difference between two and the reason the output differs? also Quote:
|
I think it's one of those what's in a name type questions, let me explain;
If I type the following command, I get this: Code:
[root@jamespc ~]# yum list-security From yum's help: Quote:
Code:
[root@jamespc ~]# yum --security check-update From yum's help again: Quote:
|
Thanks for that
when you say keyword is "update" in yum --security check-update than isn't FEDORA-EPEL-2018-b0d388c572 bugfix gparted-0.31.0-4.el7.1.x86_64 a security related update? still not understanding why the output of both differs |
Hopefully I make more sense this time; The "yum list-security" command just lists the packages that have "security fixes" available for them. While the "yum --security check-update" command lists the package "updates" that are "security relevant" - there maybe a number of "security" related "updates" for the same package(s). Notice my second command output that lists the same package, BUT different versions of that same package.
Does that make sense? |
thanks reading more into it I see references that in centos due to copyright issues the security flags are not set on packages in repos
I have ran the same commands on RHEL and the output of yum list-security security and yum --security check-update lists same programs in output yum list-security security - list the individual version updates with their RHSA numbers, whereas yum --security check-update just lists the latest version of the package e.g. for kernel-firware I get following from yum list-security security Quote:
Quote:
|
All times are GMT -5. The time now is 02:40 PM. |