[opensuse] online update does not run correctly
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Oct 11, 2007 at 03:06:09AM -0500, Rajko M. wrote:
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.
We will release an online update bringing -y back. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Graham Smith
-
Marcus Meissner
-
Rajko M.