Re: how to find out the number of updates for a system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, May 22, 2019 at 7:49 AM Chris Adams <linux@xxxxxxxxxxx> wrote:

> Once upon a time, mark <m.roth@xxxxxxxxx> said:
> > Ralf Prengel wrote:
> > > Hallo,
> > > I need the information how many updates are available for a system.
> > > What is the best way to find it out in a one line bash script.
> > >
> > yum check-update, perhaps?
>
> Note that "yum check-update" or "yum list updates" won't tell you how
> many packages would be installed with "yum update"... dependencies and
> such are not resolved for check-update/list updates.



otoh, its pretty rare that an update has a new dependency...    if the
package is installed, its existing dependencies are also installed, and if
they have updates, check-update would show them all, would it not?



-- 
-john r pierce
  recycling used bits in santa cruz
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux