[OE-core] [PATCH] package_manager.py: Explicit complementary fail
Mauno Niko
niko.mauno at vaisala.com
Fri Mar 2 13:59:17 UTC 2018
On 02/28/2018 06:58 PM, Alexander Kanavin wrote:
> On 02/28/2018 06:20 PM, Niko Mauno wrote:
>>
>> Improve associated install() method behaviour in affected OpkgPM and
>> DpkgPM classes so that a problematic state of affairs becomes directly
>> obvious for bitbake user, resulting in shell output like:
>
> Does rpm need the same fix?
RpmPM's respective install() implementation deviates somewhat from it's OpkgPM, DpkgPM counterparts. It seems that rpm applies '--skip-broken' switch to dnf command which supposedly ignores just the conflicting packages in a given set, while installing all others.
The behaviour in opkg/dpkg case however seems to be, that in case of even single conflicting package in a package set, the whole package set is silently left uninstalled. I performed a test against a reference image where the issue manifests, and compared to rpm, opkg/dpkg-based SDK images lacked over half of target packages:
$ wc -l toolchain-target-manifest-*
317 toolchain-target-manifest-deb
317 toolchain-target-manifest-ipk
653 toolchain-target-manifest-rpm
-Niko
More information about the Openembedded-core
mailing list