Execute the command bitmake imx-image-full, and the following error occurs. What is a good solution?
error:imx-image-full-1.0-r0 do_rootfs:the postinstall intercep hook 'update_mime_database' failed.
go
fellow
see
3.2 Host packages
A Yocto Project build requires that some packages be installed for the build that are documented under the Yocto Project. Go to
Yocto Project Quick Start and check for the packages that must be installed for your build machine.
Essential Yocto Project host packages are:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm rsync curl
The configuration tool uses the default version of grep that is on your build machine. If there is a different version of grep in your
path, it may cause builds to fail. One workaround is to rename the special version to something not containing "grep".
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
pylint3 xterm rsync curl
I have installed these host packages and I don't quite understand: a different version of grep in your path, it may cause builds to fail.
Please help me to give a detailed example. Thanks a lot.
this is only a reminder only if u never install others version of grep then it may be OK.
you can chk it
whereis -b grep
grep: /usr/bin/grep
you have only default grep, means it is OK