Assuming: * Package 'b' is installed at version 1.0 * Package 'b' has both a version 1.0 and version 2.0 available * Package 'a' is not installed but available * Package 'a' has a dependency on package 'b' (no version constraints) Perform: * install package 'a' Expected behavior: * Package 'a' is installed at the latest version. * Package 'b' is kept at version 1.0 Actual behavior: * Package 'b' is upgraded unnecessarily to version 2.0 This was tested with opkg 0.3.1 and opkg 0.3.2
Created attachment 3239 [details] Regression test for 9802
Issue only for internal solver, libsolv backend works as expected
Created attachment 3242 [details] Inverse test case Apparently my patch causes the inverse to fail: Installing package 'a' causes 'b' to get *downgraded* unnecessarily. I'll keep investigating, but here's another regression test for now.
fixed on commit 5ed74b2c67c92ece9ed9d70bb5df5844a4ed0105