Chris Adams wrote:
> Once upon a time, mark 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"
w.nux.ro
- Original Message -
> From: "SternData"
> To: "CentOS mailing list"
> Sent: Wednesday, 22 May, 2019 16:03:39
> Subject: Re: [CentOS] how to find out the number of updates for a system
> maybe
> yum -q check-update | wc -l
>
> On 5/22/19
maybe
yum -q check-update | wc -l
On 5/22/19 8:42 AM, 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.
>
> Von meinem iPad gesendet
> __
Once upon a time, John Pierce said:
> 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?
It's not as rare as you might think, espec
On Wed, May 22, 2019 at 7:49 AM Chris Adams wrote:
> Once upon a time, mark 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, perhap
, 2019 15:48:00
> Subject: Re: [CentOS] how to find out the number of updates for a system
> yum check-updates 2>/dev/null|grep -A1000 "^$"|grep -vc "^$"
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
>
Once upon a time, mark 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 y
yum check-updates 2>/dev/null|grep -A1000 "^$"|grep -vc "^$"
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
- Original Message -
> From: "Ralf Prengel"
> To: "CentOS mailing list"
> Sent: Wednesday, 22 May, 2
Hey Mark,
one quick and dirty possibility:
a=`yum check-updates | awk '{ print $2 }' |grep -v ":" |grep -v mirror |wc
-l` ; echo $(($a - 1))
Best regards
Steffen
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/cent
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?
mark
___
CentOS mailing list
CentOS@centos.org
https:
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.
Von meinem iPad gesendet
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
11 matches
Mail list logo