diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-07-24 11:15:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-29 13:09:14 +0100 |
commit | e8dfbb092c1bbf9bb2d8cec2d2d77eb89b3e887a (patch) | |
tree | c755d3349daa7cd29a7e5a1587ca5cabcd2e9158 /meta/recipes-devtools/python/python-smartpm_1.4.1.bb | |
parent | 1cbabdbd06fd6c9328c94776df372d26396cf9f9 (diff) | |
download | poky-e8dfbb092c1bbf9bb2d8cec2d2d77eb89b3e887a.tar.gz |
python-smartpm: fix sometimes reporting no provider instead of conflict
If a requirement of a package is conflicted, depending on how the
solution is reached, Smart's transaction code may eliminate all
providers of the requirement and then error out because nothing provides
them without saying why. To work around this, store a reason and report
that back if we need to, so for example instead of:
error: Can't install packagegroup-core-ssh-dropbear-1.0-r1@all: no package provides dropbear
we will now get:
error: Can't install packagegroup-core-ssh-dropbear-1.0-r1@all: unable to install provider for dropbear:
error: dropbear-2013.58-r1.0@armv5te is conflicted by openssh-sshd-6.2p2-r0@armv5te
Fixes [YOCTO #4305].
(From OE-Core rev: 1ed09b87fc8780d4a99f6516493fae2e0c92862c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-smartpm_1.4.1.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb index 0cf3847c77..3e392311f3 100644 --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb | |||
@@ -26,6 +26,7 @@ SRC_URI = "\ | |||
26 | file://smart-multilib-fixes.patch \ | 26 | file://smart-multilib-fixes.patch \ |
27 | file://smart-yaml-error.patch \ | 27 | file://smart-yaml-error.patch \ |
28 | file://smart-channelsdir.patch \ | 28 | file://smart-channelsdir.patch \ |
29 | file://smart-conflict-provider.patch \ | ||
29 | " | 30 | " |
30 | 31 | ||
31 | SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6" | 32 | SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6" |