This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829V: Yocto do_rootfs error when making the image

Part Number: DRA829V


When I am building image from Yocto environment, it fails at do_rootfs, because it says it cannot find command "update-mime-database".

However, I have checked that my machine does support such command under "/usr/bin/".

Below is the error message from log.do_rootfs:

NOTE: Running ['oe-pkgdata-util', '-p', '/home/plin/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/pkgdata/j7-evm', 'glob', '/tmp/installed-pkgsja3yhcsq', '']
NOTE: Installing complementary packages ...  (skipped already provided packages )
NOTE: Running intercept scripts:
NOTE: > Executing update_mime_database intercept ...
NOTE: Exit code 127. Output:
Updating MIME database... this may take a while.
/home/plin/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/core-image-minimal/1.0-r0/intercept_scripts-290d5e567872a339720b7a6967c3f322bc69669293eab340bea33410366c277b/update_mime_database: line 8: update-mime-database: command not found

Would you please let me know how to fix this?

Many Thanks,