几天前 apt-get 还正常工作。现在我绞尽脑汁也无济于事。
这是来自 Ubuntu 服务器 14.04 的输出
sudo apt-get update
Get:1 http://it.archive.ubuntu.com trusty InRelease [2,256 B]
100% [1 InRelease gpgv 2,256 B] [Waiting for headers]Splitting up /var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_trusty_InRelease into data and signature
Ign http://it.archive.ubuntu.com trusty InRelease
E: GPG error: http://it.archive.ubuntu.com trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
sudo apt-get update -o Debug::Acquire::http=true
0% [Working]GET /ubuntu/dists/trusty/InRelease HTTP/1.1
Host: it.archive.ubuntu.com
Cache-Control: max-age=0
Accept: text/*
Range: bytes=2256-
If-Range: Sun, 19 Oct 2014 22:41:26 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)
HTTP/1.0 302 Redirect
Server: OpenRG
Content-Type: text/html
Content-Length: 0
Location: http://vodafone.station/?org_url=http://it.archive.ubuntu.com%2fubuntu%2fdists%2ftrusty%2fInRelease&host_mac=00:21:9b:46:53:9c&http_intercept_priority=400&intercept_id=5&u=KE9wZW5SRyBkYXRhCiAgKHN5c3RlbQogICAgKHZlcnNpb24oNS40LjguMS4xNjAuOC4yNCkpCiAgICAoaHcoQkNNOTYzNjJfVk9YXzEuNV9JVCkpCiAgICAoZGlzdChWT1hfMS41X0lUKSkKICAgIChybXRfbW5nKDEpKQogICkKICAoY3BlX2lkKFMxNDA3MDAwMDA1MTEzNikpCiAgKGRldihicjApKQopCg%3D%3D
Connection: close
GET /ubuntu/dists/trusty-updates/InRelease HTTP/1.1
Host: it.archive.ubuntu.com
Cache-Control: max-age=0
Accept: text/*
Range: bytes=2255-
If-Range: Sun, 19 Oct 2014 15:53:55 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)
0% [Connecting to security.ubuntu.com]GET /?org_url=http://it.archive.ubuntu.com/ubuntu/dists/trusty/InRelease&host_mac=00:21:9b:46:53:9c&http_intercept_priority=400&intercept_id=5&u=KE9wZW5SRyBkYXRhCiAgKHN5c3RlbQogICAgKHZlcnNpb24oNS40LjguMS4xNjAuOC4yNCkpCiAgICAoaHcoQkNNOTYzNjJfVk9YXzEuNV9JVCkpCiAgICAoZGlzdChWT1hfMS41X0lUKSkKICAgI
ChybXRfbW5nKDEpKQogICkKICAoY3BlX2lkKFMxNDA3MDAwMDA1MTEzNikpCiAgKGRldihicjApKQopCg== HTTP/1.1
Host: vodafone.station
Cache-Control: max-age=0
Accept: text/*
Range: bytes=2256-
If-Range: Sun, 19 Oct 2014 22:41:26 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)
wget -O - http://it.archive.ubuntu.com
--2014-10-20 02:19:09-- http://it.archive.ubuntu.com/
Resolving it.archive.ubuntu.com (it.archive.ubuntu.com)... 193.206.140.45, 193.206.139.45, 2001:760:ffff:b0::45, ...
Connecting to it.archive.ubuntu.com (it.archive.ubuntu.com)|193.206.140.45|:80... connected.
HTTP request sent, awaiting response... 302 Redirect
Location: http://vodafone.station/?org_url=http://it.archive.ubuntu.com&host_mac=00:21:9b:46:53:9c&http_intercept_priority=400&intercept_id=5&u=KE9wZW5SRyBkYXRhCiAgKHN5c3RlbQogICAgKHZlcn
Npb24oNS40LjguMS4xNjAuOC4yNCkpCiAgICAoaHcoQkNNOTYzNjJfVk9YXzEuNV9JVCkpCiAgICAoZGlzdChWT1hfMS41X0lUKSkKICAgIChybXRfbW5nKDEpKQogICkKICAoY3BlX2lkKFMxNDA3MDAwMDA1MTEzNikpCiAgKGRldihicjApKQop
Cg%3D%3D [following]
--2014-10-20 02:19:09-- http://vodafone.station/?org_url=http://it.archive.ubuntu.com&host_mac=00:21:9b:46:53:9c&http_intercept_priority=400&intercept_id=5&u=KE9wZW5SRyBkYXRhCiAgKHN5c3R
lbQogICAgKHZlcnNpb24oNS40LjguMS4xNjAuOC4yNCkpCiAgICAoaHcoQkNNOTYzNjJfVk9YXzEuNV9JVCkpCiAgICAoZGlzdChWT1hfMS41X0lUKSkKICAgIChybXRfbW5nKDEpKQogICkKICAoY3BlX2lkKFMxNDA3MDAwMDA1MTEzNikpCiAgK
GRldihicjApKQopCg%3D%3D
Resolving vodafone.station (vodafone.station)... 192.168.0.1
Connecting to vodafone.station (vodafone.station)|192.168.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://vodafone.station/?page=dashboard_wizard.html&org_url=http%3a%2f%2fit%2earchive%2eubuntu%2ecom&intercept_id=5&host_mac=00:21:9b:46:53:9c [following]
--2014-10-20 02:19:09-- http://vodafone.station/?page=dashboard_wizard.html&org_url=http%3a%2f%2fit%2earchive%2eubuntu%2ecom&intercept_id=5&host_mac=00:21:9b:46:53:9c
Connecting to vodafone.station (vodafone.station)|192.168.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2256 (2.2K) [text/html]
Saving to: ‘STDOUT’
0% [ ] 0 --.-K/s <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<link rel='stylesheet' href='css/style.css' type='text/css' />
<!--[if lt IE 7.]>
<script defer type='text/javascript' language='JavaScript' src='js/pngfix.js'></script>
<![endif]-->
<!--[if IE]>
<link rel='stylesheet' href='css/style_exp.css' type='text/css' />
<![endif]-->
<link rel='stylesheet' href='css/wizard.css' type='text/css' />
<script language='JavaScript' src='jquery/jquery.js?ver=1.6' type='text/javascript'></script>
<script language='JavaScript' src='jquery/jquery.ba-bbq.js' type='text/javascript'></script>
<script language='JavaScript' src='jquery/jqSOAPClient.js' type='text/javascript'></script>
<script src='main.cgi?js=rg_config.js' type='text/javascript'></script>
<script language='Javascript' src='js/lang.js' type='text/javascript'></script>
<script language='Javascript' src='main.cgi?page=dm_path.js' type='text/javascript'></script>
<script language='JavaScript' src='js/utils.js' type='text/javascript'></script>
<script language='JavaScript' src='js/wizard_levels.js' type='text/javascript'></script>
<script language='JavaScript' src='js/sm.js' type='text/javascript'></script>
<script language='JavaScript' src='js/wizard_painter.js' type='text/javascript'></script>
<script language='JavaScript' src='js/wizard_states.js' type='text/javascript'></script>
<script language='JavaScript' src='main.cgi?page=back_end.js' type='text/javascript'></script>
<script language='JavaScript'>
$(document).ready(function(){
dashboard_init();
});
</script>
<script language='JavaScript'>var dm_cookie='1188021007';</script></head>
<body>
<div id="logo"><div id="menu"></div></div>
<div id="main">
<div id="title"></div>
<div id="content"><div id="center"></div><hr/>
<noscript>
<h1>Per visualizzare correttamente la pagina richiesta clicca su abilita. Abilita - Blocca</h1>
</noscript>
</div>
<div id="bottom"></div>
<div id="footer"></div>
</div>
</body>
</html>
据我所见,似乎是我的 ISP 妨碍了它。
有趣的是,我在同一个局域网上有一台装有 Ubuntu Desktop 14.04 的笔记本电脑,它仍然运行良好。
wget -O - http://it.archive.ubuntu.com
--2014-10-20 02:29:13-- http://it.archive.ubuntu.com/
Resolving it.archive.ubuntu.com (it.archive.ubuntu.com)... 193.206.139.45, 193.206.140.45, 2001:760:ffff:b0::45, ...
Connecting to it.archive.ubuntu.com (it.archive.ubuntu.com)|193.206.139.45|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1502 (1,5K) [text/html]
Saving to: ‘STDOUT’
0% [ ] 0 --.-K/s <html>
<head><title>Index of /</title></head>
<body bgcolor="white">
<h1>Index of /</h1><hr><pre><a href="../">../</a>
<a href="0/">0/</a> 25-Nov-2008 11:12 -
<a href="1/">1/</a> 12-May-2014 06:13 -
<a href="2/">2/</a> 11-Aug-2014 09:56 -
<a href="images/">images/</a> 12-Nov-2011 20:26 -
<a href="mirrors/">mirrors/</a> 11-Aug-2014 09:57 -
<a href="rainbow/">rainbow/</a> 16-Oct-2012 12:56 -
<a href="ubuntu/">ubuntu/</a> 19-Oct-2014 22:27 -
<a href="FOOTER.html">FOOTER.html</a> 12-Nov-2011 21:12 40
<a href="HEADER.html">HEADER.html</a> 15-Nov-2011 16:35 2726
<a href="boomerang.js">boomerang.js</a> 12-Nov-2011 20:30 33210
<a href="favicon.ico">favicon.ico</a> 05-Dec-2008 12:02 2494
<a href="robots.txt">robots.txt</a> 18-Feb-2011 12:40 111
</pre><hr></body>
</html>
如能得到任何帮助或提示我将非常感激。
谢谢
答案1
好吧,我浏览了网址http://vodafone.station/?page=dashboard_wizard.html&org_url=http%3a%2f%2fit%2earchive%2eubuntu%2ecom&intercept_id=5&host_mac=00:21:9b:46:53:9c
,然后看到了一个完全没用的向导页面,邀请我完成安装(?!)然后下载任何移动应用程序。我点击了衰退两个步骤都完成后,我终于可以访问 Ubuntu 镜像了。路由器可能会记录该步骤是否已由 LAN 上的任何机器完成,如果是,则根本不会显示。我不知道为什么我在同一个 LAN 上的笔记本电脑上没有遇到任何问题。无论如何,我使用 Windows PC 浏览该页面,同时通过 ssh 使用服务器。因此,阻止页面不能是特定于 IP 的。