On Wednesday 10 October 2007 02:02:28 pm Graham Smith wrote: > Hi, > > I'm trying to get the online update working in openSUSE 10.3 > > The syntax used by zypper in /etc/cron.d/yast2-online-update is incorrect > > zypper up -y -t patch --skip-interactive > > will not run as the '-y' option is invalid. > > If I remove the -y option the command does run but the > '--skip-interactive' directive is incorrect as well as the 'patch' command. > > So does any one know what the correct options for zypper are for the cron > file? > > -- > Regards, > > Graham Smith
It seems like 10.2 option -y is no more supported in 10.3 zypper. I guess that -y is "say yes on all questions" so it can be replaced with --non-interactive. The '-t patch' is not necessary as that is default for 'up' (update) command. zypper --non-interactive update --skip-interactive or zypper -n up --skip-interactive --non-interactive work in non interactive mode --skip-interactive skip patches that require user intervention. For more information see: man zypper -- Regards, Rajko. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
