sudo apt-get’NOSPLIT错误’
我刚搬到另一个国家(纳米比亚到荷兰),由于某种原因sudo apt-get update停止工作并出错(我对Ubuntu很新)
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2 http://repo.steampowered.com/steam precise InRelease Get:3 http://na.archive.ubuntu.com/ubuntu xenial InRelease [4,618 B] Err:3 http://na.archive.ubuntu.com/ubuntu xenial InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Hit:4 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease Get:5 http://na.archive.ubuntu.com/ubuntu xenial-updates InRelease [4,618 B] Err:5 http://na.archive.ubuntu.com/ubuntu xenial-updates InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Hit:6 https://download.sublimetext.com apt/stable/ InRelease Get:7 http://na.archive.ubuntu.com/ubuntu xenial-backports InRelease [4,618 B] Err:7 http://na.archive.ubuntu.com/ubuntu xenial-backports InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Fetched 13.9 kB in 1s (8,095 B/s) Reading package lists... Done E: Failed to fetch http://na.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Failed to fetch http://na.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Failed to fetch http://na.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Some index files failed to download. They have been ignored, or old ones used instead.
您尝试连接的域名http://na.archive.ubuntu.com已过期。 在“软件和更新”中选择一个新的下载服务器。
-
在Dash中搜索软件和更新并将其打开。
-
在“ 软件和更新”窗口中,选择“Ubuntu软件”选项卡 – > 从下载后:单击黑色三角形以显示下拉菜单 – >从下拉菜单中单击“ 其他” 。
-
将打开一个新的“选择下载服务器”窗口,然后在此窗口中单击“ 选择最佳服务器”按钮。
-
等待Select Best Server完成,然后单击Choose Server按钮。 选择的最佳服务器可能是您所在国家/地区内或附近的服务器。
-
在“ 身份validation”窗口中,使用您的用户密码进行身份validation。
-
您将看到一个窗口,其中显示一条消息,指出有关可用软件的信息已过时 。 单击“ 重新加载”按钮以更新可用的软件高速缓存。