[zypp-devel] zypp::ResolverProblemsList->details()
Hi guys, does anyone know what happened to $subject? While testing package selector, I found out that details describing current solver problem (messages such as "A conflict over foo-1.2.3 requires removal of bar-3.2.1 which is scheduled to be kept etc. etc.") have suddenly disappeared. In other words, zypp::ResolverProblemsList->details() keeps returning empty strings. Or, at least I've been unable to find some case where it would actually return something (but maybe I have obsoleted zypp headers). Are these problem details gone for good with the new sat solver? Whether they are or not, I would probably consider adjusting UI (nc) not to display them at all, it has always been overly long string, hardly fitting the screen and confusing user more than bringing some actual useful info. Afaik, Qt package manager does not display solver problem details either (in the new Qt4 port). What do you think? B. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
It should be available in the SAT solver too. But the output differs from the RC solver. So let's give him a chance :-) Could you please send me a testcase where "details" are empty ? Greetings Stefan Katarina Machalkova schrieb:
Hi guys,
does anyone know what happened to $subject? While testing package selector, I found out that details describing current solver problem (messages such as "A conflict over foo-1.2.3 requires removal of bar-3.2.1 which is scheduled to be kept etc. etc.") have suddenly disappeared.
In other words, zypp::ResolverProblemsList->details() keeps returning empty strings. Or, at least I've been unable to find some case where it would actually return something (but maybe I have obsoleted zypp headers).
Are these problem details gone for good with the new sat solver? Whether they are or not, I would probably consider adjusting UI (nc) not to display them at all, it has always been overly long string, hardly fitting the screen and confusing user more than bringing some actual useful info. Afaik, Qt package manager does not display solver problem details either (in the new Qt4 port). What do you think?
B.
-- ******************************************************************************* Stefan Schubert SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany e-mail: schubi@suse.de ------------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Dne Monday 04 February 2008 15:01:44 Stefan Schubert napsal(a):
It should be available in the SAT solver too. But the output differs from the RC solver. So let's give him a chance :-)
Could you please send me a testcase where "details" are empty ?
libzypp-devel 4.1.8-6 fresh svn checkout of y2-ncurses + y2-core I use this code to retrieve solver problem details: zypp::ResolverProblemList rproblems = resolver->problems (); </cut> zypp::ResolverProblemList::iterator i; UIMIL << "PROB " << (*i)->description () << endl; UIMIL << ": " << (*i)->details () << endl; Trying to remove yast2-bootloader package shows the following in the log: " PROB yast2-restore-2.16.0-22.noarch requires yast2-bootloader, but none of the providers can be installed" "" I'll send a testcase files (if still needed) in an extra mail off this list (it's big) B. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
participants (2)
-
Katarina Machalkova
-
Stefan Schubert