我正在尝试按照此链接安装openproject以安装到amazon centos实例中。 https://www.openproject.org/download/packaged-installation-core/
但是我遇到了错误并且失败了。
[root @ ip-10-28-11-38 ec2-user] #sudo yum install openproject已加载 插件:优先级,update-motd,upgrade-helper amzn-main / latest
| 2.1 kB 00:00 amzn-updates / latest
| 2.3 kB 00:00 openproject
| 2.9 kB 00:00 openproject / primary_db
| 50 kB 00:00解决依赖关系 - >运行事务检查 --->打包openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6将被安装 - >处理依赖关系:postgresql-libs for package:openproject-4.0.6-1422376810.876f3af.centos6.x86_64 - >处理依赖项:包的mysql-libs:openproject-4.0.6-1422376810.876f3af.centos6.x86_64 - >处理依赖:libevent for package:openproject-4.0.6-1422376810.876f3af.centos6.x86_64 - >处理依赖关系:包的对话框:openproject-4.0.6-1422376810.876f3af.centos6.x86_64 - >运行事务检查 --->将安装包对话框.x86_64 0:1.1-9.20080819.1.5.amzn1 --->将安装软件包libevent.x86_64 0:2.0.18-1.10.amzn1 --->将安装包mysql55-libs.x86_64 0:5.5.40-1.3.amzn1 --->将安装包postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1 - >完成的依赖性解决方案已解决的依赖
=============================================== ================================= Package Arch版本库 尺寸 ================================================== ==============================安装:openproject x86_64 4.0.6-1422376810.876f3af.centos6 openproject 56 M依赖安装:对话框
x86_64 1.1-9.20080819.1.5.amzn1 amzn-main 205 k libevent x86_64 2.0.18-1.10.amzn1 amzn-main 278 k mysql55-libs x86_64 5.5.40-1.3.amzn1
amzn-updates 813 k postgresql92-libs x86_64 9.2.9-1.46.amzn1
amzn-main 254 k交易摘要 ================================================== ==============================安装1个包(+4个相关包)
总下载大小:58 M已安装尺寸:198 M这是否[y / d / N]:y 下载包:(1/5): dialog-1.1-9.20080819.1.5.amzn1.x86_64.rpm | 205 kB 00:00 (2/5):libevent-2.0.18-1.10.amzn1.x86_64.rpm | 278 kB
00:00(3/5):mysql55-libs-5.5.40-1.3.amzn1.x86_64.rpm | 813 kB 00:00(4/5):openproject-4.0.6-1422376810.876f3af.centos6.x86_ | 56 MB 00:03(5/5): postgresql92-libs-9.2.9-1.46.amzn1.x86_64.rpm | 254 kB 00:00 -------------------------------------------------- ------------------------------总计15 MB / s | 58 MB
00:03运行事务检查运行事务测试事务 测试成功运行事务安装: dialog-1.1-9.20080819.1.5.amzn1.x86_64 1/5
安装:postgresql92-libs-9.2.9-1.46.amzn1.x86_64
2/5安装:mysql55-libs-5.5.40-1.3.amzn1.x86_64
3/5安装:libevent-2.0.18-1.10.amzn1.x86_64
4/5 /var/tmp/rpm-tmp.NKChbC:第18行:添加组:未找到命令 错误:%pre(openproject-4.0.6-1422376810.876f3af.centos6.x86_64) scriptlet失败,退出状态127在rpm中的PREIN scriptlet出错 package openproject-4.0.6-1422376810.876f3af.centos6.x86_64
验证:libevent-2.0.18-1.10.amzn1.x86_64
1/5验证:mysql55-libs-5.5.40-1.3.amzn1.x86_64
2/5验证:postgresql92-libs-9.2.9-1.46.amzn1.x86_64
3/5验证:dialog-1.1-9.20080819.1.5.amzn1.x86_64
4/5验证:openproject-4.0.6-1422376810.876f3af.centos6.x86_64 5/5安装依赖项:dialog.x86_64 0:1.1-9.20080819.1.5.amzn1
libevent.x86_64 0:2.0.18-1.10.amzn1 mysql55-libs.x86_64 0:5.5.40-1.3.amzn1 postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1失败:openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6
完整!
任何人都可以帮我解决这个问题。
答案 0 :(得分:0)
在我看来,在您的系统上找不到addgroup命令。尝试执行addgroup命令(例如:sudo addgroup
)。如果找不到,请尝试以下建议:Bash: groupadd: command not found