Bug 9477

Summary: Conflicted packages get installed incorrectly
Product: [Yocto Project Subprojects] opkg Reporter: Ross Burton <ross.burton>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: Undecided CC: liezhi.yang
Version: 0.3.1   
Target Milestone: 0.3.2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2016-04-18 15:26:42 UTC
(more details in bug #9464)

$ opkg install nativesdk-buildtools-perl-dummy nativesdk-texinfo

The log would say nativesdk-buildtools-perl-dummy conflicts with nativesdk-perl so that nativesdk-texinfo is not installed, but the first one provides nativesdk-perl, so this is incorrect.

Similar issue to reproduce:

PACKAGE_CLASSES = "package_ipk"

$ bitbake buildtools-tarball, we will say that nativesdk-perl and nativesdk-buildtools-perl-dummy are installed, but it shouldn't since nativesdk-buildtools-perl-dummy provides nativesdk-perl, and it is required by user to install. (in TOOLCHAIN_HOST_TASK which is translated into command line).

In this native nativesdk-buildtools-perl-dummy has conflicts and provides on perl, but no replaces.
Comment 1 Alejandro del Castillo 2016-04-27 22:07:59 UTC
This is the same issue reported on 9059
Comment 2 Ross Burton 2016-04-28 17:28:41 UTC
*** Bug 9464 has been marked as a duplicate of this bug. ***
Comment 3 Alejandro del Castillo 2016-05-04 16:53:15 UTC
Same as issue reported on bug 9059

*** This bug has been marked as a duplicate of bug 9059 ***