[Bug 216649] New: "-y" flag for zypper
https://bugzilla.novell.com/show_bug.cgi?id=216649 Summary: "-y" flag for zypper Product: openSUSE 10.2 Version: Beta 1 Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: martin.schlander@gmail.com QAContact: kkaempf@novell.com It would be very nice if an option could be added to zypper, to have it not ask for confirmation, similar to -y with Smart and rug. This is useful for users in a lot of cases, but also very important for scripting purposes. Like konvenientSUSE for instance. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mvidner@novell.com |jkupec@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #1 from jkupec@novell.com 2006-11-01 09:52 MST ------- Done for install, remove, and update commands for now. Next we will go through the rest and decide where it would be appropriate to add such options for non-interactive mode. Thanx for reporting this. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 marcio.ferreira@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marcio.ferreira@gmail.com ------- Comment #2 from marcio.ferreira@gmail.com 2006-11-01 10:06 MST ------- Hi, My 2 cents here: I think the most important commands to be run non interactively are the ones to add, remove, refresh sources. tia Marcio --- druid -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #3 from mvidner@novell.com 2006-11-01 13:04 MST ------- Comment 1: submitted as zypper-0.5.2. Comment 2: Yes, but I think that automatically bypassing signature checking deserves a separate option. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #4 from jkupec@novell.com 2006-11-10 11:25 MST ------- regarding confirmation of licenses, i think that in non-interactive mode, it is necessary to answer 'n' (disagree with license) by default and remove the package from to-be-installed. That is because user may not know about a package being installed, having license he doesn't agree with (e.g. when run from a cron job) and may end up with that package actually installed unnoticed. This is ugly but, IMO, the only legal way, am i right? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |cdenicolo@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #6 from francisg@gmail.com 2007-02-27 03:40 MST ------- Well, there has to be a way for zypper to be used in a script, so either have -y import the signature/license (which I probably think it should, and you can have something else to basically -y but not import signatures) or have another option that will do this. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #7 from jkupec@novell.com 2007-02-27 04:31 MST ------- yes, probably a separate option for licences as well as for signatures would be the best solution -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ms@novell.com ------- Comment #8 from jkupec@novell.com 2007-04-17 07:38 MST ------- *** Bug 265291 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 jw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|cdenicolo@novell.com | ------- Comment #9 from jw@novell.com 2007-04-19 04:38 MST ------- For some third party packages, we have a license popup that needs to be confirmed by the end user. This confirm step is always mandatory, the answer during automated install must be 'no', and the package must not install. When finishing, the automated installer should list the packages which were skipped in this way, so that the user knows he lacks some packages and how to add them. I cannot see which additional info Christopher de Nicolo should provide here. NEEDINFO removed. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #10 from marcio.ferreira@gmail.com 2007-04-19 06:51 MST ------- This procedure cited in comment 9 is not good enough, it will prevent the use of zypper in automated scripts, which is crippling the software. Im aware people can do yess|zypper but thats not a solution, I guess. How about having in some /etc/zypper.conf a flag "allow_zypper_to_run_non_interactively=1" and then maybe explain that in the comments, the licence implications, etc? Or a sysconfig variable, dunno. There are lots of use cases that this is a sensible option, ane because in one use case that it doesnt fit well, this is crippling zypper, spcecially compared to smart and rug. This will push the non adoption of zypper in a niche it should solve the problem. Specially throught people who use command line and think they are so smart and they "Know better", those who think that yast qt is so much faster than yast ncurses, even when we are talking about a complete io-bounded process, like parsing the metadata... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #11 from jw@novell.com 2007-04-19 09:00 MST ------- Hmm. Discussion about 'good enough' is not an option, I am afraid. The legal implication is, that for some software (e.g. agfa-fonts) the user must confirm that he accepts the license. If we work around that, we violate our distribution agreement. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #12 from martin.schlander@gmail.com 2007-04-19 09:31 MST ------- Doesn't it count as confirmation if the user runs, say: zypper in -yl agfa-fonts (yl being an imaginary option for no-confirmation not even for licenses) Doesn't that mean the user is bound by the license whatever was in it. Or if the user runs a script that installs something and confirms the license for him, hasn't the user then legally confirmed the license? Or can the user 'hide behind the script' in such a case, and not be accountable? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 ------- Comment #13 from marcio.ferreira@gmail.com 2007-04-19 10:22 MST ------- Well, if agfa-fonts is a problematic package, why not allow zypper to run non interactively, and if it detects agfa-fonts (or another problematic) package is about to be installed, it fails gracefully, or with a message, or something? That isnt an option, still? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |273133 nThis| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216649#c16 --- Comment #16 from Ján Kupec <jkupec@novell.com> 2007-06-19 02:44:41 MST --- *** Bug 269258 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=269258 -- 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=216649 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|"-y" flag for zypper |--non-interactive mode for zypper -- 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=216649#c17 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scrute@novell.com --- Comment #17 from Ján Kupec <jkupec@novell.com> 2007-07-18 04:48:05 MST --- *** Bug 292097 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=292097 -- 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=216649#c20 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com Target Milestone|--- |openSUSE 10.3 --- Comment #20 from Ján Kupec <jkupec@novell.com> 2007-07-19 02:14:55 MST --- Fixed in svn. Will be submitted soon as zypper 0.8.3. See also http://lists.opensuse.org/opensuse-softwaremgmt/2007-07/msg00003.html for more details and further discussion. -- 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=216649#c21 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #21 from Ján Kupec <jkupec@novell.com> 2007-07-19 02:15:35 MST --- forgot to mark as fixed... -- 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