我需要在自定义AMI实例上安装amazon-efs-utils。 efs-utils的依赖项之一是python2.7,我的环境已预先安装(基于pkg.org)。我检查了python在路径中
当我执行python --version
时,它返回Python 2.7.5
但是当我运行rpm -ivh amazon-efs-utils-1.7-1.el7.noarch.rpm
时,
它返回了error:Failed Dependencies: system-python is needed by amazon-efs-utils-1.7-1.el7.noarch.rpm
如果不是Python 2.7,这是system-python
依赖项吗?
我在受限的Internet网络中工作,因此无法使用yum搜索镜像,并且我正在使用的AMI中未安装amazon-efs-utils
答案 0 :(得分:0)
system-python
只是python:
dependency: system-python
provider: python27.x86_64 2.7.18-1.137.amzn1
amazon-efs-utils
的完全依赖项是
sudo yum deplist amazon-efs-utils
Loaded plugins: priorities, update-motd, upgrade-helper
package: amazon-efs-utils.noarch 1.26-3.amzn1
dependency: /bin/sh
provider: bash.x86_64 4.2.46-34.43.amzn1
dependency: /sbin/chkconfig
provider: chkconfig.x86_64 1.3.49.3-2.14.amzn1
dependency: /sbin/service
provider: initscripts.x86_64 9.03.58-1.40.amzn1
dependency: /usr/bin/python2.7
provider: python27.x86_64 2.7.18-1.137.amzn1
dependency: config(amazon-efs-utils) = 1.26-3.amzn1
provider: amazon-efs-utils.noarch 1.26-3.amzn1
dependency: nfs-utils
provider: nfs-utils.x86_64 1:1.3.0-0.21.amzn1
dependency: openssl >= 1.0.2
provider: openssl.x86_64 1:1.0.2k-16.151.amzn1
provider: openssl.i686 1:1.0.2k-16.151.amzn1
dependency: stunnel >= 4.56
provider: stunnel.x86_64 4.56-4.13.amzn1
dependency: system-python
provider: python27.x86_64 2.7.18-1.137.amzn1
dependency: util-linux
provider: util-linux.x86_64 2.23.2-59.29.amzn1
provider: util-linux.i686 2.23.2-59.29.amzn1
dependency: which
provider: which.x86_64 2.19-6.10.amzn1