Bug 831138

Summary: System not consistent - seen to many times
Product: [openSUSE] openSUSE Tumbleweed Reporter: Jiří Suchomel <jsuchome>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P4 - Low    
Version: 13.1 Milestone 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log

Description Jiří Suchomel 2013-07-24 13:57:26 UTC
I've seen this with RUBY-YaST (fullDVD image from 22-Jul), so it might be Ruby related (did not try to reproduce with non-Ruby image).

Quite a lot of time, when some yast module tries to install a package (using some Pkg functions I assume), it shows me a popup with 

"The current system is not consistent... Automatic resolving failed..." message.

If I ignore the popup by pressing Continue, package is installed and everything seems to be fine.
What is more, if i try to install the same package direcly using zypper or yast2 -i, I get no errors about resolving.

How to reproduce: run yast2 dns-server which will try to install 'bind' package.
Comment 1 Jiří Suchomel 2013-07-24 13:58:12 UTC
Created attachment 549299 [details]
y2log
Comment 2 Ladislav Slezák 2013-07-24 14:15:27 UTC
The log contains this:

  final solver statistics: 4 problems, 0 learned rules, 2 unsolvable

So there is some dependency problem in the system. 

PackagSystem::DoInstallAndRemove() does an extra check for system consistency
using Pkg::PkgSolveCheckTargetOnly(). The reason is that the system might be broken and libzypp might install additional packages.

It is equivalent to "zypper verify", try this in your system.
Comment 3 Jiří Suchomel 2013-07-24 14:22:06 UTC
So once there's some incosistency present (although wanted), I get such message every time?

But neither zypper nor 'yast2 -i' minds about it. This does not seem to be consistent.
Comment 4 Jiří Suchomel 2013-07-24 14:26:10 UTC
OK, you were right, fixing actual dependency problems using zypper verify helped.

But I'm still not sure about different (default) behavior of our tools...
Comment 5 Ladislav Slezák 2014-06-26 14:19:12 UTC
The verification check has been removed in yast2-3.1.69 (https://github.com/yast/yast-yast2/pull/252)