相关性错误搬运工1.12 7
问题描述:
目的:在离线模式下相关性错误搬运工1.12 7
- 我而在RHEL 7安装搬运工1.12有相关性错误安装在RHEL 7最新泊坞窗(V1.12),和我 试图在因特网中查找这些依赖项,但未发现那些 依赖项,但selinux-policy rpm。
- 我试过后百胜更新安装。
- 我发现互联网上泊坞窗1.7的依赖关系,安装在RHEL 6.7 但在RHEL不能让同样的方式为搬运工1.12 7
我想下面的东西
- 安装搬运工1.12当系统(测试机)连接到互联网和安装docker 1.12后,所有依赖关系将缓存在/var/cahce/yum/rhel7/位置并搜索上述依赖关系,但未找到。
装箱本地yum软件库和安装ISO文件,然后做百胜更新 并试图安装码头工人,但仍给予同样的依赖性错误。
-
我不知道上面的步骤是正确的还是正确的程序,我只是累了,但没有任何工作。
我的生产环境没有互联网连接,只有内联网连接。
- 有人可以提供或指导我如何解决这个问题,以及如何解决这类问题?
在此先感谢!
答
我有点惊讶,至少在这里找不到非docker包,因为它们来自标准的CentOS仓库。一般来说,我会使用类似于:
# yum provides "*/<filename>"
例如,
# yum provides "*/libsystemd.so.*"
此,如果你没有在目标系统上配置的存储库显然不会帮助,但它很容易碰到一个流浪者VM,看看有什么需要在那里。
$ vagrant init bento/centos-7.2
$ vagrant ssh
然后按照文档在https://docs.docker.com/engine/installation/linux/centos/:
$ sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
并安装:
$ sudo yum install docker-engine
在煤矿,这给:
[[email protected] ~]$ sudo yum install docker-engine
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ukhost4u.com
* extras: mirror.vorboss.net
* updates: mirror.vorboss.net
Resolving Dependencies
--> Running transaction check
---> Package docker-engine.x86_64 0:1.12.1-1.el7.centos will be installed
--> Processing Dependency: docker-engine-selinux >= 1.12.1-1.el7.centos for package: docker-engine-1.12.1-1.el7.centos.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: docker-engine-1.12.1-1.el7.centos.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: docker-engine-1.12.1-1.el7.centos.x86_64
--> Running transaction check
---> Package docker-engine-selinux.noarch 0:1.12.1-1.el7.centos will be installed
---> Package libseccomp.x86_64 0:2.2.1-1.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-21.el7_2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================
Package Arch Version Repository Size ============================================================================================================
Installing:
docker-engine x86_64 1.12.1-1.el7.centos dockerrepo 19 M Installing for dependencies:
docker-engine-selinux noarch 1.12.1-1.el7.centos dockerrepo 28 k libseccomp x86_64 2.2.1-1.el7 base 49 k libtool-ltdl x86_64 2.4.2-21.el7_2 updates 49 k
Transaction Summary
============================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 19 M
Installed size: 79 M
运行该上面给出的命令向你显示例如libsystemd.so*
在systemd-libs
封装,可在“更新”回购..看到http://mirror.centos.org/centos/7/updates/x86_64/Packages/
答
试试这个命令: 百胜安装的libtool-ltdl 这个重新运行安装命令后。 如果您有“docker-ce”存储库,这将自动完成。 祝你好运!