[Bug 668884] New: zypper --auto-agree-with-licenses
https://bugzilla.novell.com/show_bug.cgi?id=668884 https://bugzilla.novell.com/show_bug.cgi?id=668884#c0 Summary: zypper --auto-agree-with-licenses Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: hans-georg.gloeckler@uni-ulm.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 the following command didn't work: zypper --auto-agree-with-licenses Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668884 https://bugzilla.novell.com/show_bug.cgi?id=668884#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Ján Kupec <jkupec@novell.com> 2011-02-02 15:49:27 UTC --- Hi Hans, this is not a command, it's just an option for the installing commands like install, update, dist-upgrade. You can for example do: $ zypper install --auto-agree-with-licenses <list-of-packages> See 'man zypper' for more details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668884 https://bugzilla.novell.com/show_bug.cgi?id=668884#c2 Hans-Georg Glöckler <hans-georg.gloeckler@uni-ulm.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans-georg.gloeckler@uni-ul | |m.de --- Comment #2 from Hans-Georg Glöckler <hans-georg.gloeckler@uni-ulm.de> 2011-02-02 16:00:46 UTC --- I want to use the following command in a bash-script. zypper --auto-agree-with-licenses update I get an error. I want to use it for automating the update after installation. When I have installed opensuse I let run an initial bash-script to make some special setting. In this way I want to make all the updates without interaction. Later I use Yast, but not at the first time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668884 https://bugzilla.novell.com/show_bug.cgi?id=668884#c3 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com --- Comment #3 from Ján Kupec <jkupec@novell.com> 2011-02-03 13:20:37 UTC --- Sure. The problem is that you put the option in front of the 'update' command, but you must put it after it, as this is a command-specific option, not global option. Zypper makes difference between the global ones and command ones. So the correct comamnd would be (also you want to add the --non-interactive global option): $ zypper --non-interactive update --auto-agree-with-licenses There are three basic places where you can look for help with zypper: - zypper help [command] - man zypper - http://en.opensuse.org/SDB:Zypper_usage i hope this will help -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=668884 https://bugzilla.novell.com/show_bug.cgi?id=668884#c4 --- Comment #4 from Hans-Georg Glöckler <hans-georg.gloeckler@uni-ulm.de> 2011-02-03 14:43:37 UTC --- Now it works. have a lot of thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com