Making yum daily update more talkative.

Christoph Wickert christoph.wickert at web.de
Thu Nov 27 05:18:01 UTC 2003


Am Do, den 27.11.2003 schrieb Jack Bowling um 05:05:
> On Wed, Nov 26, 2003 at 08:26:56PM +0100, Piotr Goczal wrote:
> > Hello,
> > 
> > How to make yum daily update more talkative? I would like to be not SPAMed 
> > with messages about "connecting to fedora serwers" and information that:
> > 
> > No Packages Available for Update No actions to take,
> > 
> > but I must to know that some packages has been upgraded!
> > I've tried with combinations of -e and -d parameters but I haven't got any 
> > resonable output.
> > Could somebody help me?
> 
> What do you find lacking in the following?
> 

I think he means automatical update by crond.

The default yum.cron goes like this:

#!/bin/sh

if [ -f /var/lock/subsys/yum ]; then
	/usr/bin/yum -R 10 -e 0 -d 0 -y update yum
	/usr/bin/yum -R 120 -e 0 -d 0 -y update
fi

where -d ist the debug level and -e the errot level (man yum)
If you remove "-e 0" you get

"yum is installed and the latest version.
No Packages Available for Update"

as output (only errors), or -d 2 the normal screen output.

Christoph











More information about the fedora-list mailing list