Bug 9477 - Conflicted packages get installed incorrectly
Summary: Conflicted packages get installed incorrectly
Status: RESOLVED DUPLICATE of bug 9059
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.1
Hardware: All Multiple
: Undecided major
Target Milestone: 0.3.2
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
: 9464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-18 15:26 UTC by Ross Burton
Modified: 2016-05-04 16:53 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***