[Bug 389184] New: isSatisfied() (or isRelevant()) reports differently with and without setOnlyRequires(true)
https://bugzilla.novell.com/show_bug.cgi?id=389184 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=389184#c389182 Summary: isSatisfied() (or isRelevant()) reports differently with and without setOnlyRequires(true) Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: schubi@novell.com ReportedBy: jkupec@novell.com QAContact: dmacvicar@novell.com CC: mls@novell.com Found By: --- Created an attachment (id=214251) --> (https://bugzilla.novell.com/attachment.cgi?id=214251) zypper.log $ zypper up --no-recommends Reading installed packages... Nothing to do. $ zypper up Reading installed packages... The following NEW patches are going to be installed: kernel-12 kmps-11 No additional space will be used or freed after the operation. Continue? [YES/no]: The same environment as in bug #389182. Zypper marks the patches for installation if (patch->isRelevant() && !patch->isSatisfied()). So one of the two methods must return something else if setOnlyRequires(true) is used, which should AFAICS not happen (whether a solvable's (hard) dependencies are satisfied or not should not depend on whether user wishes to dragg the weak depenencies in or not). -- 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=389184
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c1
--- Comment #1 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=389184
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c2
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=389184
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c3
--- Comment #3 from Ján Kupec
And the testcase should document it too (like force-resolve) you mean to log it or save it in the xmls? it is being logged now
-- 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=389184
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c4
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=389184
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c5
--- Comment #5 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=389184
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c6
--- Comment #6 from Ján Kupec
Is it really a duplicate? bug 389182 is about plain 'zypper up'. This one is about the difference if --no-recommends is used and not used. Or is it dup. of bug 389694 ??
I mean, does bug 389694 apply also to patches? -- 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=389184
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389184#c7
--- Comment #7 from Stefan Schubert
participants (1)
-
bugzilla_noreply@novell.com