Hi @Zhiming_Liu
I find the error in the log :
mkdir: cannot create directory ‘/usr/lib/opkg’: Permission denied
dpkg: error processing package nativesdk-shadow (--configure):
installed nativesdk-shadow package post-installation script subprocess returned error exit status 1
why this part will make directory in loacl system path?
Before that , there are some warnings:
dpkg: warning: while removing nativesdk-glibc-binary-localedata-zu-za.utf-8, directory '/opt/fsl-imx-fb/5.10-gatesgarth/sysroots/x86_64-pokysdk-linux/usr/lib/locale' not empty so not removed
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin