[Dextrose] Error while building image with Dextrose

Abhishek Singh abhishek.singh at olenepal.org
Tue Feb 21 23:34:11 EST 2012


On 02/21/2012 07:37 PM, Bernie Innocenti wrote:
> On Tue, 2012-02-21 at 16:25 +0545, Abhishek Singh wrote:
>
>> Also that the rpm error pops up every time I use the rpm command on the
>> newly installed image.
>>
>> rpmdb:  __db_meta_setup:   /var/lib/rpm/Name: unexpected file type or format
>> error: cannot open Name index using db3 - Invalid argument (22)
>> rpmdb:  __db_meta_setup:  /var/lib/rpm/Name: unexpected file type for format
> It seems that somehow the rpm database became corrupted.
>
> Try stopping the build process at various stages and enter the chroot to
> see if the database is still good.
>
> If everything else fails, I'd try building an upstream olpc-os image to
> see if the problem is specific to Dextrose. I'd also try asking dsd and
> pbrobinson... they may have seen problem this before.
>
Just after dextrose completes installing all the required packages, I
interrupted the build process (^C), and tried verifying the rpm database
in the chrooted environment. I used "rpm -Va" to verify the database
which returned a long list of errors.

The error log is attached along with this mail. (Sorry no pastebin
allowed a size greater than 500KB, so had to attach it to mail.)

-- 
Abhishek Singh
System Engineer
Open Learning Exchange (OLE) Nepal
साझा शिक्षा ई-पाटी
http://www.olenepal.org
Tel: +977-1-5544441 ext. 102

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpmverify.log.tar.bz2
Type: application/x-bzip
Size: 38290 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20120222/b941da42/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20120222/b941da42/attachment-0001.pgp>


More information about the Dextrose mailing list