Hi,

Yocto debian packages are not compatible with Ubuntu distribution target.
You need to run Yocto distribution on your target machine.

Best regards,
Vincent

Le lun. 22 juin 2020 à 13:41, Ragavan <[email protected]> a écrit :
>
> I have a target machine which runs Ubuntu 20.04.
>
> 1. I have a host machine running Ubuntu 20.04 on which I installed all the 
> yocto tool chains.
> sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
>      build-essential chrpath socat libsdl1.2-dev xterm
>
> 2. I did a git clone of poky and added a recipe project for sqlite3 from the 
> "meta" folder.
>  git clone git://git.yoctoproject.org/poky
>
> 3. Built yocto using below commands.,
> source oe-init-build-env
> bitbake core-image-minimal
>
> 4. It built a sqlite3 (.deb) file with a specific version.
>
> 5. When I tried to install this .deb file using dpkg -i on a Ubuntu 18.04 
> target machine, it throws a library version dependency error.
> sudo dpkg -i libsqlite3-0_3.31.1-r0_amd64.deb
>
> (Reading database ... 193640 files and directories currently
> installed.)
> Preparing to unpack libsqlite3-0_3.31.1-r0_amd64.deb ...
> Unpacking libsqlite3-0 (3:3.31.1-r0) over (3:3.31.1-r0) ...
> dpkg: dependency problems prevent configuration of
> libsqlite3-0:
> libsqlite3-0 depends on libc6 (>= 2.31+git0+71f2b249a2);
> however:
>  Version of libc6:amd64 on system is 2.31-0ubuntu9.
> dpkg: error processing package libsqlite3-0 (--install):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
>
> -> How do I get through this error?
> -> Is there a way I can ask yocto build to create all the dependent libraries?
> -> Is there a way I can create packages for a specific base OS with yocto?
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8764): 
https://lists.yoctoproject.org/g/linux-yocto/message/8764
Mute This Topic: https://lists.yoctoproject.org/mt/75036337/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to