How do i display information about updates using yum?



  • Man page for yum.

    There is various information that you can obtain from the installed yum repositories.

    The yum command provides and option updateinfo, that comes with a number of sub-commands.

    	       yum updateinfo info [all | available | installed | updates]
    	       yum updateinfo list [all | available | installed | updates]
    		yum  updateinfo	 [summary]  [all  |  available	|  installed |
    	      updates]
    

    Arguments

    	      They all take as arguments:
    
    	       * <advisory> [advisory...]   Is	used  to  display  information
    	      about one or more advisories.
    
    		* <package> [package...]  Is used to display information about
    	      one or more packages.
    
    	       * bugzillas / bzs Is the subset of the updateinfo  information,
    	      pertaining to the bugzillas.
    
    		* cves Is the subset of the updateinfo information, pertaining
    	      to the CVEs.
    
    	       * enhancement Is the subset of the updateinfo information, per-
    	      taining to enhancements.
    
    		* bugfix Is the subset of the updateinfo information, pertain-
    	      ing to bugfixes.
    
    	       * security / sec Is the subset of the  updateinfo  information,
    	      pertaining to security.
    
    		*  severity  /	sev Include security relevant packages of this
    	      severity.
    
    	       * recommended Is the subset of the updateinfo information, per-
    	      taining to recommended updates.
    
    		*  new-packages	 Is  the subset of the updateinfo information,
    	      pertaining to new packages. These	 are  packages	which  weren't
    	      available at the initial release of your distribution.
    

    Display list of information on all bugfixes

    $ yum updateinfo list all bugfix
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * base: centos2.zswap.net
     * epel: mirror.us.leaseweb.net
     * extras: mirrors.greenmountainaccess.net
     * updates: mirror.grid.uchicago.edu
      FEDORA-EPEL-2016-6e37f92d4b bugfix 0install-2.11-1.el7.x86_64
      FEDORA-EPEL-2016-7b134b993d bugfix 389-admin-1.1.46-1.el7.x86_64
      FEDORA-EPEL-2016-6c9a62aabd bugfix 389-admin-console-1.1.12-1.el7.noarch
      FEDORA-EPEL-2016-6c9a62aabd bugfix 389-admin-console-doc-1.1.12-1.el7.noarch
      FEDORA-EPEL-2015-1095       bugfix 389-adminutil-1.1.21-2.el7.x86_64
      FEDORA-EPEL-2015-1095       bugfix 389-adminutil-devel-1.1.21-2.el7.x86_64
    ...
    ...
    ...
    

    Display list of update information on enhancements.

    $ yum updateinfo list all enhancement
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
     * base: centos2.zswap.net
     * epel: mirror.us.leaseweb.net
     * extras: mirrors.greenmountainaccess.net
     * updates: mirror.grid.uchicago.edu
      FEDORA-EPEL-2017-d960d7834c enhancement 0ad-0.0.22-1.el7.x86_64
      FEDORA-EPEL-2017-d960d7834c enhancement 0ad-data-0.0.22-1.el7.noarch
      FEDORA-EPEL-2016-8229efcf3a enhancement 2048-cli-0.9.1-1.el7.x86_64
      FEDORA-EPEL-2016-8229efcf3a enhancement 2048-cli-nocurses-0.9.1-1.el7.x86_64
      FEDORA-EPEL-2016-df9b446811 enhancement 2ping-3.2.1-2.el7.noarch
      FEDORA-EPEL-2016-bac57460bf enhancement Agda-2.3.2.2-5.el7.x86_64
    

    Replace the argument for the type of information you need.


Log in to reply
 

© Lightnetics 2024