From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by mail.openembedded.org (Postfix) with ESMTP id 067867169F for ; Mon, 4 May 2015 19:19:19 +0000 (UTC) Received: from gandalf.denix.org ([108.28.31.169]) by vms173019.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPSA id <0NNU004BUB05DQ40@vms173019.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Mon, 04 May 2015 14:19:18 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=PIC4Ikvq c=1 sm=1 tr=0 a=fMO+sUsoiA3cqMJ/JkSOnA==:117 a=jLWw55sr_RoA:10 a=kj9zAlcOel0A:10 a=0gcC27t9AAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=h1PgugrvaO0A:10 a=9hPybOyqYU2e6fKrC-sA:9 a=CjuIK1q_8ugA:10 Received: by gandalf.denix.org (Postfix, from userid 1000) id 112B3200EC; Mon, 4 May 2015 15:19:16 -0400 (EDT) Date: Mon, 04 May 2015 15:19:16 -0400 From: Denys Dmytriyenko To: Alejandro del Castillo Message-id: <20150504191916.GC5885@denix.org> References: <20150501160602.GA5885@denix.org> <5543FA71.9060903@ni.com> <20150504185017.GB5885@denix.org> MIME-version: 1.0 In-reply-to: <20150504185017.GB5885@denix.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: openembedded-core@lists.openembedded.org Subject: Re: opkg_install_pkg: Package md5sum mismatch. Either the opkg or the package index are corrupt. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2015 19:19:22 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline On Mon, May 04, 2015 at 02:50:17PM -0400, Denys Dmytriyenko wrote: > On Fri, May 01, 2015 at 05:13:05PM -0500, Alejandro del Castillo wrote: > > > > > > On 05/01/2015 11:06 AM, Denys Dmytriyenko wrote: > > > Hi, > > > > > > Has anyone ever seen this message during .do_rootfs task? > > > > > > Collected errors: > > > * opkg_install_pkg: Package md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'. > > > * opkg_install_cmd: Cannot install package . > > > > > > We started seeing it on random packages inside the 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! > > > Thanks. > > > The error is saying that there is a mismatch between the registered package > > mds5sum and the actual md5sum of the package. On your log.do_rootfs log file > > you should find the opkg-cl command being called, which has an opkg.conf > > file as parameter. Inside the conf file, you will see the paths to the local > > repos being used to build your image. Can you confirm that the registered > > md5sum for one of the problematic packages on the Package file on the repo > > doesn't match the actual package md5sum? > > Yes, md5sum of the package doesn't match the one recorded in the Packages file > of the local feed. > > BTW, this seems to only happen to arch-less packages from the "all" feed, > mainly packagegroups... And then I realized that the failing packagegroup shouldn't really be arch-less! Apparently, I misplaced PACKAGE_ARCH = "${MACHINE_ARCH}" before inheriting packagegroup class. Oops! -- Denys