Re: The following packages have unmet dependencies: packagegroup-core-x11-base : Depends: packagegroup-core-x11-xserver but it is not going to be installed #yocto


Quentin Schulz
 

Hi Pankaj,

On Fri, Jul 03, 2020 at 12:31:22AM -0700, Pankaj Vinadrao Joshi wrote:
Hi Quentin,
Missing x11 in DISTRO_FEATURES in your distro.
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb?h=master#n12  (the same is present in ( http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb?h=master#n12 ) openembedded-core/tree/meta/recipes-graphics/packagegroups ( http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb?h=master#n12 ) ) ( http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb?h=master#n12 )

i have added x11  in DISTRO_FEATURES but it seems i am facing the same issue , i am attaching the few parameters from local.conf

EXTRA_IMAGE_FEATURES ?= " debug-tweaks *packagegroup-core-x11-xserver* allow-empty-password allow-root-login bash-completion-pkgs dbg-pkgs debug-tweaks dev-pkgs doc doc-pkgs eclipse-debug empty-root-password hwcodecs nfs-client nfs-server package-management post-install-logging ptest-pkgs read-only-rootfs splash src-pkgs ssh-server-dropbear ssh-server-openssh stateless-rootfs staticdev-pkgs tools-debug tools-profile tools-sdk tools-testapps x11 x11-base x11-sato " ENABLE_UART = "1" CORE_IMAGE_EXTRA_INSTALL += "git ruby bsdtar pseudo os-release lsb-release openssh cmake apt" DISTRO_FEATURES_append = "opengl python3-pip " IMAGE_FEATURES_append = "tools-debug tools-sdk dev-pkgs" EXTRA_IMAGE_FEATURES_append += "src-pkgs package-management ssh-server-dropbear ssh-server-openssh stateless-rootfs " IMAGE_INSTALL_append += " dhcp-client dhcp-server " CORE_IMAGE_EXTRA_INSTALL += " python3 util-linux mtd-utils-jffs2 mtd-utils-misc" EXTRA_IMAGE_FEATURES += "staticdev-pkgs" *DISTRO_FEATURES += "x11"* DISTRO_FEATURES += "wifi ipv4 ipv6 nfs usbgadget keyboard usbhost pci cramfs glx" IMAGE_INSTALL_append = "perf dbus libnss-mdns minicom rsync dbus dstat hostapd dhcpcd nasm ncurses-libncurses ncurses-tools ncurses-terminfo-base python3-matplotlib python3-flask" IMAGE_INSTALL += "vim lzo dosfstools nfs-utils unzip make mtd-utils e2fsprogs " IMAGE_INSTALL += " pciutils man-pages iperf3 " IMAGE_INSTALL += " libtirpc libsdl2 " but still i am getting the following error,
Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:11 Parsing of 2316 .bb files complete (0 cached, 2316 parsed). 3545 targets, 213 skipped, 0 masked, 0 errors. ERROR: Nothing PROVIDES 'core-image-sato' core-image-sato was skipped: 'packagegroup-core-x11-xserver' in IMAGE_FEATURES (added via EXTRA_IMAGE_FEATURES) is not a valid image feature. Valid features: allow-empty-password allow-root-login bash-completion-pkgs dbg-pkgs debug-tweaks dev-pkgs doc doc-pkgs eclipse-debug empty-root-password hwcodecs nfs-client nfs-server package-management post-install-logging ptest-pkgs read-only-rootfs splash src-pkgs ssh-server-dropbear ssh-server-openssh stateless-rootfs staticdev-pkgs tools-debug tools-profile tools-sdk tools-testapps x11 x11-base x11-sato
packagegroup-core-x11-server is a recipe (well, both a recipe and a
package) not a feature.

If you want to add packagegroup-core-x11-server package to your image,
you need to add it to IMAGE_INSTALL.

If I can suggest spending a bit of time reading some of the extensive
documentations available here: https://www.yoctoproject.org/docs/

Or a good way to get started rather quickly with the basics of Yocto,
watch a few of the Youtube Live Coding videos available here:
https://www.youtube.com/user/TheYoctoProject/videos
That should make your life easier for the beginning :)

(and you still haven't added the leading space in
IMAGE_FEATURES_append, DISTRO_FEATURES_append and IMAGE_INSTALL_append)

Quentin

Join yocto@lists.yoctoproject.org to automatically receive all group messages.