我使用 bitbake 为 stm32mp157f-dk2 构建了一个映像。当尝试安装 Wazuh 时,我遇到以下消息:
root@stm32mp1:~# dpkg -i wazuh-agent_4.8.0-1_armhf.deb
Selecting previously unselected package wazuh-agent.
(Reading database ... 19503 files and directories currently installed.)
Preparing to unpack wazuh-agent_4.8.0-1_armhf.deb ...
Unpacking wazuh-agent (4.8.0-1) ...
dpkg: dependency problems prevent configuration of wazuh-agent:
wazuh-agent depends on debconf; however:
Package debconf is not installed.
dpkg: error processing package wazuh-agent (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
wazuh-agent
您能否告知我是否需要添加图层并重建图像,或者我是否需要做其他事情?
root@stm32mp1:~# cat /etc/build
-----------------------
Build Configuration: |
-----------------------
BB_VERSION = 2.4.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp1
DISTRO = openstlinux-weston
DISTRO_VERSION = 4.2.1-snapshot-20240708
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
DISTRO_CODENAME = mickledore
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 12.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
-----------------------
Layer Revisions: |
-----------------------
meta-python = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-oe = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-gnome = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-initramfs = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-multimedia = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-networking = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-webserver = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-filesystems = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-perl = HEAD:c032fd0b1a9d444711103c2703dfa8e2964a3865
meta-st-stm32mp = HEAD:931b3f5be2c00f55d114c8f9122082a9d229b776
meta-qt5 = HEAD:cf6ffcbad5275a3428f6046468a0c9d572e813d1
meta-st-openstlinux = HEAD:8c780facff81d3c3878c5fdcd18bdd24fc36478d
meta = HEAD:20cd64812d286c920bd766145ab1cd968e72667e
meta-virtualization = mickledore:b8db7002764712f2902fe9dea098c171b1128076
meta-selinux = mickledore:bd3902cb9351c37d8e348abcd95c83d267c0a106
meta-java = HEAD:ae2952c7668db180fa6acefe82457df913342837
workspace = <unknown>:<unknown> -- modified
提前谢谢您。 西蒙
dpkg
无法解决包依赖关系,因此您必须手动安装它们。 Wazuh 代理的依赖项可以在 https://github.com/wazuh/wazuh-packages/blob/v4.8.0/debs/SPECS/wazuh-agent/debian/control#L11 找到
如果您希望安装解决依赖关系,您可以使用
apt
或 apt-get
,这是我们在文档中指示安装的方式。
apt-get -y install wazuh-manager
我建议按照文档中指示的步骤进行安装,因为您可能需要安装 GPG 的其他依赖项并从官方存储库获取软件包。
如果您想在没有存储库的情况下安装软件包,您可以随时使用https://documentation.wazuh.com/current/installation-guide/packages-list.html
提供的链接下载软件包但是就安装依赖关系而言,您必须手动安装它们或使用解决它们的包管理器。