You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在AWS Linux上安装Jenkins报错:缺少依赖daemonize该如何解决

Error: Package: jenkins-2.303.2-1.1.noarch (jenkins)
Requires: daemonize
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodiges

报错原因

你当前使用的AWS Linux系统默认软件源未包含Jenkins依赖的daemonize组件,导致安装过程中依赖校验不通过,无法完成Jenkins安装。

正规解决步骤
  • 第一步:安装EPEL(企业Linux额外软件包)源,该源包含daemonize安装包
    如果你使用的是AWS Linux 2,执行命令:
    amazon-linux-extras install epel -y
    如果你使用的是AWS Linux 2023,执行命令:
    dnf install epel-release -y
  • 第二步:安装daemonize依赖
    yum install daemonize -y
  • 第三步:重新执行Jenkins安装命令即可正常完成安装
    yum install jenkins -y
临时替代方案(不推荐生产环境使用)

如果仅做测试不想配置EPEL源,也可以直接跳过依赖校验完成安装:
yum install jenkins-2.303.2-1.1.noarch --skip-broken -y

内容的提问来源于stack exchange,提问作者Taruni

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.30 02:36:07