[yocto] Using debian packages management

Michel D'HOOGE michel.dhooge at free.fr
Mon Oct 17 07:11:03 PDT 2016


Hi, 

>From time to time I try to use the debian packages management instead of RPM because I feel more "at home"... And every time, there is a problem -- but this time, I felt like I'll try to understand and solve it! 

I tried first with core-image-minimal, and it worked.
But then I switched to core-image-sato and had the following error:

ERROR : core-image-sato-1.0-r0 do_rootfs: Unable to install packages. Command '/mnt/Yocto/Fabric-x64/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated apt packagegroup-base-extended packagegroup-core-ssh-dropbear dpkg packagegroup-core-x11-base packagegroup-core-boot packagegroup-core-x11-sato-games psplash packagegroup-core-x11-sato' returned 100: 
Reading package lists... 
Building dependency tree... 
Reading state information... 
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
packagegroup-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed 
E: Unable to correct problems, you have held broken packages.


I checked: The package exists in /tmp/deploy/deb/all/packagegroup-core-x11-utils_1.0-r40_all.deb, but it is *empty*. It looks as if it is just there to create some RDEPENDS in the recipe.


So... I played the game to explicitly add packages one by one to the image:
IMAGE_INSTALL_append_pn-core-image-sato = " packagegroup-core-x11-utils xserver-nodm-init x11-common xserver-common"


But now I have the following error:
The following packages have unmet dependencies:
 xserver-common : Conflicts: x11-common but 0.1-r47 is to be installed



So my question is:
Is using debian packages management definitely broken in Yocto? Or has someone managed to use it with some tweaking?


Many thanks for your feedbacks
Michel



More information about the yocto mailing list