[oe] [OE-core] opkg_install_pkg: Package <name> md5sum mismatch. Either the opkg or the package index are corrupt.

Richard Purdie richard.purdie at linuxfoundation.org
Sat May 9 08:36:01 UTC 2015


On Fri, 2015-05-08 at 17:09 -0400, Denys Dmytriyenko wrote:
> weston-init RDEPENDS on weston and kbd.
> 
> $ bitbake-diffsigs 1.0-r0.do_package_write_ipk.sigdata.eb3921bfc9623056f7ffaef4be8549ab 1.0-r0.do_package_write_ipk.sigdata.90c2978497847912cd64f66039927f7d 
> Hash for dependent task waylandweston_1.6.0.bb.do_packagedata changed from 551b3b5ac7b3c41bfced58b88db2d824 to f3eb9cd1861c186382e47f90e82e3295
> Hash for dependent task kbdkbd_2.0.1.bb.do_packagedata changed from 53a5dc88b80dc5ab559fbecd14277650 to 950fbc7fe3c33564e781743f2c260670
> 
> Then, comparing signatures for weston, for exaple, gives all the changes 
> caused by different DEFAULTTUNEs, TUNE_FEATURES and ARMPKGARCH - obviously, 
> since one machine is cortexa8, while another is cortexa9.
> 
> But why would an allarch package even care about machine tunes in dependant 
> packages, when it only RDEPENDS on them?

If A DEPENDS on B and B changes, the package name may change (thanks to
debian.bbclass) so A has to repackage. Very very annoying but
technically correct :/.

> And how should I fix this? Thanks.

See SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf of OE-Core. You probably
need to add weston-init to the list.

Cheers,

Richard





More information about the Openembedded-devel mailing list