Run the following command: sudo usr/sbin/visudo
Add the following line:
root ALL = NOPASSWD: /usr/bin/apt-get
Press CTRL-X for file saving.
Run script ”sudo ./poky/scripts/host-prepare.sh” again.
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------