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无效。

目录
打赏
0
0
0
0
17
分享
相关文章
|
9月前
|
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
70 0
[emerg] 15060#200: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket ......
[emerg] 15060#200: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket ......
260 0
排错-Error--memory violation Exception ACCESS_VIOLATION received解决方
排错-Error--memory violation Exception ACCESS_VIOLATION received解决方
274 0
abort: error: Temporary failure in name resolution
abort: error: Temporary failure in name resolution
214 0
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
SignTool Error: An error occurred while attempting/Error information: “SignerTimeStamp() failed.“
169 0
Error: A JNI error has occurred, please check your installation and try again
Error: A JNI error has occurred, please check your installation and try again
248 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
165 0
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).解决方法
538 0
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
5119 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等