I think I saw where up2date is going away (perhaps browsing FC5 new and changed items)
"yum update" will ask me if it wants to proceed. I have not seen a way to not have the prompt for Y/N? Is there a way to not prompt and just go ahead and do the update.
Thanks,
Jerry
On Friday 10 February 2006 08:38, Jerry Geis wrote:
I think I saw where up2date is going away (perhaps browsing FC5 new and changed items)
"yum update" will ask me if it wants to proceed. I have not seen a way to not have the prompt for Y/N? Is there a way to not prompt and just go ahead and do the update.
Thanks,
Jerry
yum --help or man yum both will tell you the answer. you obviously did not look very hard
yum -y update
Dennis
"yum update" will ask me if it wants to proceed. I have not seen a way to not have the prompt for Y/N? Is there a way to not prompt and just go ahead and do the update.
The documentation for yum shows a couple options to do this. use -y on the commandline, for an individual run, or set assume-yes in the appropriate config file for always-on. man yum, and/or read http://www.centos.org/docs/4/html/yum/
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775
On Fri, 2006-02-10 at 09:38 -0500, Jerry Geis wrote:
I think I saw where up2date is going away (perhaps browsing FC5 new and changed items)
"yum update" will ask me if it wants to proceed. I have not seen a way to not have the prompt for Y/N? Is there a way to not prompt and just go ahead and do the update.
use -y like: yum update -y yum install [package] -y
man yum and you'll see the option.
James
If the yum service runs nightly (service yum start) will it automatically over ride the needing to enter "Y" or does the actual yum service need to be configured differently?
James
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of James Pifer Sent: February 10, 2006 7:44 AM To: CentOS Subject: Re: [CentOS] quick question on yum
On Fri, 2006-02-10 at 09:38 -0500, Jerry Geis wrote:
I think I saw where up2date is going away (perhaps browsing FC5 new and changed items)
"yum update" will ask me if it wants to proceed. I have not seen a way to not have the prompt for Y/N? Is there a way to not prompt and just go ahead and do the update.
use -y like: yum update -y yum install [package] -y
man yum and you'll see the option.
James
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
James Gagnon said:
If the yum service runs nightly (service yum start) will it automatically over ride the needing to enter "Y" or does the actual yum service need to be configured differently?
The commands in the cron.daily config for the service include the "-y" command-line option. Yum will not issue a confirmation prompt.
=========== Alan Sparks, UNIX/Linux Systems Administrator asparks@doublesparks.net