I have added apt-get package to my yocto compiled raspberry pi 4 image . which cloned from dunfell branch.
While i am updating the pi with apt-get it shows gpg error and then i run upgrade then it was showing this error.
" apt-get error while loading shared libraries liblzma.so.5 : cannot open shared object file : no such file or directory "
Now i am repeatedly getting same error while trying any command in my pi terminal with apt-get.
This is the error i am facingThis is the error i am facing look image
https://community.nxp.com/t5/i-MX-Proce ... -id/201303
Please help with the problem
Thanks
Re: apt-get in yocto throwing liblzma5 error while upgrading and it is not solving
The message seems obvious.
It is telling you that apt-get needs to use the LZMA function library, but it can't find it.
You need to install the liblzma package for your system. As apt isn't working you may need to build from source or manually install the file the hard way.
I have no experience with Yocto, so can't help any more than that.
It is telling you that apt-get needs to use the LZMA function library, but it can't find it.
You need to install the liblzma package for your system. As apt isn't working you may need to build from source or manually install the file the hard way.
I have no experience with Yocto, so can't help any more than that.
Unreadable squiggle
Re: apt-get in yocto throwing liblzma5 error while upgrading and it is not solving
Why did you post this on the NXP i.MX processor forum? Raspberry Pi has nothing to do with them.
Re: apt-get in yocto throwing liblzma5 error while upgrading and it is not solving
help me how to compile it from souce while bitbake image with added liblzma