【问题标题】:Install pgadmin3 centos 6 with yum用 yum 安装 pgadmin3 centos 6
【发布时间】:2014-09-14 11:11:01
【问题描述】:

我正在尝试在 centos 6 中安装 pgadmin3。但我收到此错误。如何避免这种情况并安装 pgAdmin3。

[root@localhost ~]# yum install pgadmin3
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=i386 error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.fedoraproject.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.repoforge.org/el6/mirrors-rpmforge error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.repoforge.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
 * base: centos.aol.in
 * epel: epel.mirror.net.in
 * extras: centos.aol.in
 * rpmforge: apt.sw.be
 * updates: centos.aol.in
http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'linuxdownload.adobe.com'"
Trying other mirror.
http://linuxdownload.adobe.com/linux/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'linuxdownload.adobe.com'"
Trying other mirror.
http://centos.aol.in/6.5/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.aol.in'"
Trying other mirror.
http://centos.excellmedia.net/6.5/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.excellmedia.net'"
Trying other mirror.
http://centos.mirror.net.in/centos/6.5/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.mirror.net.in'"
Trying other mirror.

【问题讨论】:

    标签: postgresql centos pgadmin


    【解决方案1】:

    我遇到了同样的问题,DNS 条目消失是问题...

    尝试#curl http://www.google.com 看看系统是否抛出一个空的resolv.conf 文件...

    如果是这样,

    vi /etc/resolv.conf

    输入... 名称服务器 8.8.8.8 域名服务器 8.8.4.4

    或使用您的 isp 的名称服务器

    【讨论】:

      【解决方案2】:

      "Couldn't resolve host" 这是您的 dns 或 Internet 连接的问题。

      要测试您的互联网连接,您可以测试您是否收到来自 ping 的答案:ping 8.8.8.8

      要测试您的 dns,您可以使用:ping www.google.com

      如果是互联网连接问题,您可以通过以下方式检查您的网关是否有效:ip route show

      如果是 dns 问题,请检查您的 /etc/resolv.conf 是否存在有效条目,例如: nameserver 8.8.8.8 nameserver 8.8.4.4

      【讨论】:

        猜你喜欢
        • 2016-03-09
        • 2016-04-14
        • 2017-01-11
        • 1970-01-01
        • 2014-08-29
        • 1970-01-01
        • 2011-01-08
        • 2018-09-13
        • 2011-03-31
        相关资源
        最近更新 更多