[Bug 358560] New: Solver messages still highly confusing
https://bugzilla.novell.com/show_bug.cgi?id=358560 Summary: Solver messages still highly confusing Product: openSUSE 11.0 Version: Alpha 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: dmacvicar@novell.com ReportedBy: msvec@novell.com QAContact: dmacvicar@novell.com Found By: --- For instance: bash# zypper rm dclib [...] Problem: valknut-0.3.11-0.pm.3.i586 requires libdc.so.0, but none of the providers can be installed Solution 1: deinstallation of valknut-0.3.11-0.pm.3.i586 Solution 2: keep dclib Much better would be something like this: | Problem: unsatisfied dependencies for these packages: valknut, blah1, bah, .. | | Deinstall: valknut dclib | Continue (Y/n)? -- 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=358560
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c1
--- Comment #1 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=358560
User msvec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c2
--- Comment #2 from Michal Svec
https://bugzilla.novell.com/show_bug.cgi?id=358560
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=358560
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c3
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=358560
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c4
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=358560
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c5
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=358560
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c6
Ján Kupec
Sure it does But it seem it is not working then, zypper tries to use it, but it looks like forceResolve == false is used.
but zypper should *not* set it to true by default! Why not? I can't think of a use case where it might hurt in the interactive mode, where the user must confirm that he wants to continue with the transaction.
-- 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=358560
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c7
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=358560
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c8
Ján Kupec
If it doesn't work, there's a bug in the libzypp layer. i guess that's what this bug is all about
I don't like forceResolve because you're not presented a list of choices if it is set, but a single yes/no.
It is the default, but you can switch it on/off with an CL option (--force-resolution, -R). I guess we concluded most people want this behavior in most cases (just like Michal). Who wants to consult the choices with the solver turns this off. It should look like (and it is how it used to work before): bash# zypper rm dclib [...] The following packages are going to be REMOVED: dclib valknut [...] Do you want to continue? [y/n] Schubi, will you take care of 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.
https://bugzilla.novell.com/show_bug.cgi?id=358560
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c9
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=358560
User msvec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c10
--- Comment #10 from Michal Svec
Michal, I would like to close this "bug" cause the user is used to make a decision 1 or 2 or 3 or... in ALL cases. This behaviour should not be changed if there is a single action in zypper only.
Well, I'd probably question this approach because I've noticed several cases where users were confused by this "numbering" scheme and did not get what are they asked for. But as long as I'm the only one complaining I guess we can leave it as it is :)
Feel free to reopen the bug if you have another opinion ;-)
Can we at least have a better message instead of this one? Problem: valknut-0.3.11-0.pm.3.i586 requires libdc.so.0, but none of the providers can be installed -- 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=358560
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c11
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=358560
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c12
Ján Kupec
This solution may work fine with single actions like the call which is described in comment#0.
Why? I see no reason why zypper rm foo1 foo2 bar1 bar2 shouldn't behave like this either (when forceResolve(true)!!). It _worked_ like this before. I really think the problem is that forceResolve() is not working. Maybe bug 363545 is a duplicate of 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.
https://bugzilla.novell.com/show_bug.cgi?id=358560
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358560#c13
Stefan Schubert
!> Problem: !> readline-devel-5.2-86.i586 requires /lib/libhistory.so.5.2, but this requirement cannot be provided
In the detail description:
!> deleted providers: libreadline5-5.2-83.8.i586[@System] !> uninstallable providers: libreadline5-5.2-45.i586[openSUSE-FACTORY_11.0]
comment #12 forceResolve() is working correctly. This call returns only the flag. It is up to zypper or the user to set this opition in order to make no decisions. But wee need error messages in the UI and other applications too. So, these are two different kind of solving which do not object eachother. -- 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