Skip to content

Solver problem when installing WireGuard #285

@ColinFinck

Description

@ColinFinck

I'm trying to integrate WireGuard into a Yocto "dunfell" image using this "meta-openembedded" layer. My image recipe contains:

IMAGE_INSTALL_append += "wireguard-module wireguard-tools"

This worked very well with "thud".
However, on "dunfell", I'm now encountering the following solver problem at the do_rootfs step:

ERROR: image-rpi3-1.0-r0 do_rootfs: Unable to install packages. Command '/.../recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /.../opkg.conf -t /.../temp/ipktemp/ -o /.../rootfs  --force_postinstall --prefer-arch-to-version   install ... wireguard-module wireguard-tools' returned 2:
Collected errors:
 * Solver encountered 2 problem(s):
 * Problem 1/2:
 *   - package kernel-module-wireguard-1.0.20200401-r0.raspberrypi3 requires kernel-module-wireguard-5.4.59-v7, but none of the providers can be installed
 * 
 * Solution 1:
 *   - do not ask to install a package providing wireguard-module

 * Problem 2/2:
 *   - package wireguard-tools-1.0.20200319-r0.cortexa7t2hf-neon-vfpv4 requires wireguard-module, but none of the providers can be installed
 * 
 * Solution 1:
 *   - do not ask to install a package providing wireguard-tools

This is not exclusive to the "meta-raspberrypi" layer and the "raspberrypi3" target.
When building an image for an x86-64 target using the "meta-intel" layer, I'm getting a similar failure:

- package kernel-module-wireguard-1.0.20200401-r0.intel_skylake_64 requires kernel-module-wireguard-5.4.57-intel-pk-standard, but none of the providers can be installed

A similar error occurs for other targets I have tested.

What's the matter here and how can we fix it?
Does WireGuard in the "dunfell" branch of meta-openembedded work for anyone right now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions