我正在尝试在Amazon Linux AMI中安装Nginx但是当我尝试运行命令时须藤yum安装nginx错误低于Loaded plugins: langpacks, priorities, update-motdResolving Dependencies--> Running transaction check---> Package nginx.x86_64 0:1.14.0-1.el6.ngx will be installed--> Processing Dependency: libpcre.so.0()(64bit) for package: nginx-1.14.0-1.el6.ngx.x86_64--> Finished Dependency ResolutionError: Package: nginx-1.14.0-1.el6.ngx.x86_64 (nginx) Requires: libpcre.so.0()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
2 回答
繁星淼淼
TA贡献1775条经验 获得超11个赞
第一次运行$ sudo yum update -y
,然后尝试安装,如果仍然遇到相同的问题,请尝试$ sudo yum install nginx --skip-broken
- 2 回答
- 0 关注
- 738 浏览
添加回答
举报
0/150
提交
取消