dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

opkg will not select between multiple equal providers #152

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the case where multiple packages provide the same abstract package, but 
there is nothing to differentiate between the providers (neither is held, 
preferred, matches the name of the abstract package or is already installed), 
pkg_hash_fetch_best_installation_candidate errors out instead of picking one of 
the available providers. This is a vestige of an old code path where opkg 
expected the user to explicitly select a provider in this case. Instead we 
should now just pick any valid provider.

This bug was found by the OpenEmbedded/Yocto Project autobuilder when testing 
opkg v0.2.3. Both 'libperl5' and 'perl' provided 'perl-module-config', but 
rootfs creation was failing and opkg said it couldn't find a provider of 
'perl-module-config'.

A fix is known and will be merged shortly, this issue just exists for tracking.

Original issue reported on code.google.com by paul.betafive on 13 Nov 2014 at 12:38

GoogleCodeExporter commented 8 years ago
This is now fixed on the opkg-0.2.x branch and the master branch.

Original comment by paul.betafive on 13 Nov 2014 at 1:00