[Bug 942852] New: Zypper: inconsistent installation behaviour between interactive and non-interactive mode.
http://bugzilla.suse.com/show_bug.cgi?id=942852 Bug ID: 942852 Summary: Zypper: inconsistent installation behaviour between interactive and non-interactive mode. Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: hguo@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The system is running the latest Tumbleweed snapshot and zypper version shows "1.12.12". Suppose that a package "xmms" is not yet installed, and a package called "abcde" does not exist. In interactive mode, attempting to both packages causes xmms to be eventually installed: # zypper in abcde xmms ... ... Overall download size: 2.5 MiB. Already cached: 0 B. After the operation additional 8.8 MiB will be used. Continue? [y/n/? shows all options] (y): However, in non-interactive mode, zypper does nothing: # zypper --non-interactive in abcde xmms ... ... No provider of 'abcde' found. The behaviour of non-interactive install should be consistent with an interactive install. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=942852 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chcao@suse.com Assignee|bnc-team-screening@forge.pr |ma@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=942852 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |libzypp Assignee|ma@suse.com |zypp-maintainers@forge.prov | |o.novell.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=942852 http://bugzilla.suse.com/show_bug.cgi?id=942852#c2 --- Comment #2 from Howard Guo <hguo@suse.com> --- any update, please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=942852 http://bugzilla.suse.com/show_bug.cgi?id=942852#c3 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Michael Andres <ma@suse.com> --- Interactively 'you' get the message that no provider for an argument was found and 'you' confirm the summary. Non-interactive zypper can't judge, whether it's ok or not, so the safe default is to stop. If you want zypper to ignore it, you can must tell it:
[man zypper] GLOBAL OPTIONS ... -i, --ignore-unknown Ignore unknown packages. This option is useful for scripts.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com