zypper update -y prompts for user confirmation to continue

  • 7000704
  • 19-Jun-2008
  • 27-Apr-2012

Environment

Novell SUSE Linux Enterprise Desktop 10 SP2
Novell SUSE Linux Enterprise Server 10 SP2

Situation

Attempting to run an non-interactive update with the commands "zypper update -y" or, alternatively, "zypper update --no-confirm" on SUSE Linux Enterprise Server 10 SP2 or SUSE Linux Enterprise Desktop 10 SP2 still requires user intervention to continue.

Resolution

Use "zypper -n update" instead.

The "-n" option is a global option that switches zypper to non-interactive mode. In this mode zypper doesn't ask the user to type answers to various prompts but uses default answers automatically.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.