[Bug 274058] New: yast2-mmp: no conflict resolutuion
https://bugzilla.novell.com/show_bug.cgi?id=274058 Summary: yast2-mmp: no conflict resolutuion Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jigish.gohil@gmail.com QAContact: jsrain@novell.com CC: benji.weber@gmail.com installing http://media.beryl-project.org/installcompiz-git-all.ymp does not give a conflict resolution options that are available in yast2 sw_single. Any chance of incorporating that in yast meta package handler/yast api? -- 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=274058 ------- Comment #1 from benji.weber@gmail.com 2007-05-12 08:57 MST ------- This is a limitation in the yast2 package manager api. Quoting from http://forgeftp.novell.com/yast/doc/SL10.2/tdg/package-bindings.html "(It currently does an automatic solving without user interaction. Callbacks for user interaction will be added later.)" If callbacks were available it would be certainly possible and necessary to provide conflict handling options. One option would be to then provide the dialogues in packager/inst_source_dialogs.ycp -- 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=274058 ------- Comment #2 from benji.weber@gmail.com 2007-05-12 11:34 MST ------- A temporary workaround would be the following diff to MetaPackageWorker.ycp 102,111d101 < } else //xxx no callback for resolve failures < { < symbol result = (symbol)WFM::CallFunction( "inst_packages", []); < if (result == `accept) < { < state = !(Pkg::PkgCommit(0)[0]:-1 < 0); < } else < { < state = false; < } 112a103,104
else state = false;
Which will open the sw_single dialogue to resolve conflicts, but this is not really satisfactory as the user will have to click accept on the sw_single dialogue after picking the dependency resolution. This same problem affects "yast -i <packages>" and all the other yast modules which install packages eg http-server samba-server. -- 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=274058 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mvidner@novell.com |screening@forge.provo.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=274058 benji.weber@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |YaST2 Product|openSUSE 10.2 |openSUSE 10.3 Fixed in Milestone|--- |Alpha 4plus Version|Final |Alpha 4 -- 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=274058 ------- Comment #3 from benji.weber@gmail.com 2007-05-16 11:57 MST ------- Created an attachment (id=140555) --> (https://bugzilla.novell.com/attachment.cgi?id=140555&action=view) Fixes this bug, Call the inst_packages module if there are non-automatically resolvable conflicts. Uses the `summaryMode as this is the most applicable. Ideally there would be a `nonInteractive mode to the package selector. -- 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=274058 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from mvidner@novell.com 2007-05-17 02:24 MST ------- Thanks! Submitted version 0.2. -- 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.
participants (1)
-
bugzilla_noreply@novell.com