Bug 155368 - the package solver has a perverted sense of humor
Summary: the package solver has a perverted sense of humor
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Stefan Schubert
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 10:08 UTC by Martin Vidner
Modified: 2006-03-09 10:58 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs.tgz (67.82 KB, application/x-gzip)
2006-03-06 10:09 UTC, Martin Vidner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Vidner 2006-03-06 10:08:41 UTC
When I select OOo for uninstallation and have the dependency solving turned on (default in ncurses), the solver says "you surely wanted to update the package instead".

The system is actually a Beta 1 where yast+zypp and the installation source come from Beta 6.
Comment 1 Martin Vidner 2006-03-06 10:09:46 UTC
Created attachment 71310 [details]
y2logs.tgz
Comment 2 Klaus Kämpf 2006-03-06 10:46:58 UTC
Stefan, can you please set up a testcase for this ?
Comment 3 Stefan Schubert 2006-03-07 12:51:47 UTC
You have gotten:
2006-03-06 11:16:45 <2> Mjolnir(532) [solver] ResolverContext.cc(addError):1073 ******** Error: ResolverInfo<REJECT_INSTALL> OpenOffice_org-gnome-2.0.0.99.149-3.i586 Chyba!>>OpenOffice_org-gnome-2.0.0.99.149-3.i586 is scheduled to be installed, but this is not possible because of dependency problems.<<, Trigger: none

That is an "old" error message, which has been taken as default.

With the newest version of libzypp you should get:

>!> Uninstalling OpenOffice_org
>!> 1 problems found:
>!> Problem:
>!> OpenOffice_org-gnome has missing dependencies
>!> There are no alternative installed providers of libdbtools680li.so for OpenOffice_org-gnome-2.0.0.99.149-3.i586
>!>    Solution:
>!>       keep OpenOffice_org
>!>       keep OpenOffice_org-2.0.0.99.149-3.i586
>!>    Solution:
>!>       delete OpenOffice_org-gnome
>!>       delete OpenOffice_org-gnome-2.0.0.99.149-3.i586
>!>    Solution:
>!>       Ignore this requirement just here
>!>
>!>    Solution:
>!>       Ignore this requirement generally
>!>


I have added a testcase which show this:
data.deptestomatic/yast-tests/bug155368-test.xml

Additional I have tested with my workstation (10.0) and the beta6 package descriptions. The result is the same.

Martin, please try it again with the current head of libzypp and
reopen the bug, if this error does still exist.
Comment 4 Stefan Schubert 2006-03-07 12:52:08 UTC
Set to fixed
Comment 5 Stefan Schubert 2006-03-07 14:40:58 UTC
It seems that is does still exist.

Could you please change:

#define _XDEBUG(x) XXX << x << std::endl;
in Types.h to
#define _XDEBUG(x) DBG << x << std::endl;
And recompile the svn head ?
Please attach the logfiles which belong to the solver.
Comment 7 Stefan Schubert 2006-03-09 10:58:45 UTC
Fixed in the head. Thank you Martin for your "test machine" ;-)