Skip to content

Postinstall scriptlets of ['busybox'] have failed when trying to install apache2 #766

@FlaviuNistor

Description

@FlaviuNistor

Hello,

I am using kirkstone branch and I added apache2 in the list of recipes I want to install:
IMAGE_INSTALL:append = " apache2"

I have also added meta-openembedded/meta-webserver in build/conf/bblayers.conf.

The recipe works, but I get an error when do_rootfs is executed for my image.

do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.

In the details error, I can see this:
update-alternatives: Error: not linking ....../rootfs/usr/sbin/httpd to /bin/busybox.nosuid since ...../rootfs/usr/sbin/httpd exists and is not a link

Am I forgetting something?

Thanks in advance,
Flaviu

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