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

Steffen Sledz sledz at dresearch-fe.de
Wed May 6 19:12:43 UTC 2015


Am 02.05.2015 um 23:55 schrieb Andrea Adami:
> On Fri, May 1, 2015 at 6:06 PM, Denys Dmytriyenko <denis at denix.org> wrote:
>> Has anyone ever seen this message during <image>.do_rootfs task?
>>
>> Collected errors:
>>  * opkg_install_pkg: Package <package> md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
>>  * opkg_install_cmd: Cannot install package <package>.
>>
>> We started seeing it on random packages inside the <image> few weeks ago on
>> different machines. At the time we had switched to bitbake 1.26. But even
>> trying different bitbake versions still occasionally caused the same error, so
>> the culprit is still unknwon. Using oe-core/daisy for now.
>>
>> Any comments or suggestions to where start looking would be appreciated!
> 
> yes, I have seen this during multimachine builds.
> My TMPDIR is on tmpfs in ram so everytime I reboot it is re-populated
> from sstate.
> ...

We have the same problem here. Also with packages from the "all" feed in a multimachine build environment. But it does not seem related to packagegroups.

I've a hypothesis but was not able to validate or falsify it till now: Given a recipe which does only use file:// type SRC_URI. If i change something in these sources and do not update PR the prserv/hashing mechanism detects the changes a builds a new package. But this package has the same version info as the one before. So for opkg there's no need to update it's "package database".

As said before this is just a hypothesis.

Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



More information about the Openembedded-devel mailing list