abort: error: Temporary failure in name resolution

简介: abort: error: Temporary failure in name resolution

  试图更新openjdk8源码,报错:

hotspot:   hg clone http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot hotspot
hotspot:   abort: error: Temporary failure in name resolution
  • 解决办法一(无效)

编辑/etc/hosts,添加:

127.0.0.1   qtbj-dmz-122 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
  • 解决办法二

编辑/etc/resolv.conf,添加:

nameserver 8.8.8.8
nameserver 8.8.4.4

改了之后,再更新就正常。重启可能就丢失,需要重新设置。

吾使用service network restart无效。

目录
相关文章
abort: error: Temporary failure in name resolution
abort: error: Temporary failure in name resolution
150 0
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
110 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
66 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
116 0
|
资源调度 JavaScript
The futex facility returned an unexpected error code
The futex facility returned an unexpected error code
612 0
|
Go iOS开发
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
The operation couldn’t be completed. Unable to log in with account 'myappleid'. An unexpected failure occurred while logging in (Underlying error code 1100).解决方法
355 0
|
区块链
Error: No network specified. Cannot determine current network异常
Error: No network specified. Cannot determine current network异常
132 0
|
程序员 PHP 区块链
Error: the tx doesn't have the correct nonce.TestRPC/Ganache无法获取nonce
做一个truffle相关的项目,每次尝试创建交易时,总会有以下的一个错误提示: the tx doesn’t have the correct nonce 完整的一般是这样: Error: the tx doesn't have the correct nonce.
2601 0