Jac*_*ble 0 yum rhel dns 32bit
我有一个从客户那里借来的 Redhat 7 系统,用于安装 32 位应用程序。为了让应用程序工作,我需要安装 gtk2.i686 工具包。
通过执行此命令:
yum list --showduplicates gtk2
Run Code Online (Sandbox Code Playgroud)
我可以看到安装的 64 位包是:
gtk2.x86_64 2.24.31-1.el7 @rhel-7-server-rpms
Run Code Online (Sandbox Code Playgroud)
所以我尝试安装匹配的32位版本,如下:
yum install gtk2-2.24.31-1.el7.i686
Run Code Online (Sandbox Code Playgroud)
这会导致一个依赖项列表,并给出批准提示:
Install 1 Package (+79 Dependent packages)
Upgrade ( 5 Dependent packages)
Total size: 30 M
Total download size: 24 M
Is this ok [y/d/N]:
Run Code Online (Sandbox Code Playgroud)
但是,当我同意时,它会因一系列“无法解决主机错误”而失败,例如
zlib-1.2.7-18.el7.i686.rpm FAILED
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os/Packages/z/zlib-1.2.7-18.el7.i686.rpm: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
Run Code Online (Sandbox Code Playgroud)
当我执行“yum repolist”时,我遇到了类似的错误。
# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/ansible/2.6/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-maintenance/6/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.3/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.4/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,908
google-chrome google-chrome 3
!rhel-7-server-ansible-2.6-rpms/x86_64 Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise 18
!rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 1,063
!rhel-7-server-optional-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 17,348
!rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 23,690
!rhel-7-server-satellite-maintenance-6-rpms/x86_64 Red Hat Satellite Maintenance 6 (for RHEL 7 Server) (R 26
!rhel-7-server-satellite-tools-6.3-rpms/x86_64 Red Hat Satellite Tools 6.3 (for RHEL 7 Server) (RPMs) 94
!rhel-7-server-satellite-tools-6.4-rpms/x86_64 Red Hat Satellite Tools 6.4 (for RHEL 7 Server) (RPMs) 73
!rhel-server-rhscl-7-rpms/x86_64 Red Hat Software Collections RPMs for Red Hat Enterpri 10,935
repolist: 66,158
Run Code Online (Sandbox Code Playgroud)
这个命令:
subscription-manager status
Run Code Online (Sandbox Code Playgroud)
显示状态为当前。
命令
nslookup google.com
Run Code Online (Sandbox Code Playgroud)
正确解析,我可以正常浏览。
这是/etc/resolv.conf的内容
# Generated by NetworkManager
search othecompany.dom
nameserver 1.1.1.1
Run Code Online (Sandbox Code Playgroud)
如果我在 yum repolist 生成的任何 repos url 上尝试 curl 命令,则 dns 服务器找不到它们。
因此,出于某种原因,RedHat 7 存储库中的名称似乎在公共 DNS 上不可用。也许他们在另一家公司的 DNS 服务器上?
它不是“可能”,名称是私有 DNS 空间的一部分,它们显然指向内部卫星设置。
更改公共 DNS 名称的 DNS,因为 Google 不会解析只有组织的 DNS 服务器知道的私有 DNS 名称。
如果他们遇到内部 DNS 设置问题和/或卫星问题,请向您的客户服务台提交工单。
否则,您通常无法根据他们的合同升级/安装 RH 软件包。
请参阅Red Hat Satellite - 管理您的 Red Hat 基础架构的最佳方式以获取参考
还了解 Red Hat Content Delivery Network Repositories 及其在 Satellite 6 中的使用
归档时间: |
|
查看次数: |
871 次 |
最近记录: |