我刚搬到另一个国家(纳米比亚到荷兰),由于某种原因 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.
Run Code Online (Sandbox Code Playgroud)
您尝试连接的域http://na.archive.ubuntu.com已过期。在软件和更新中选择一个新的下载服务器。
在 Dash 中搜索软件和更新并打开它。
在软件和更新窗口中选择 Ubuntu 软件选项卡 ->下载后:单击黑色三角形以显示下拉菜单 -> 从下拉菜单中单击其他。
将打开一个新的“选择下载服务器”窗口,并在此窗口中单击“选择最佳服务器”按钮。
等待“选择最佳服务器”完成并单击“选择服务器”按钮。选择的最佳服务器可能是您所在国家或地区附近的服务器。
在“身份验证”窗口中,使用您的用户密码进行身份验证。
您将看到一个带有消息的窗口,显示The information about available software is out-of-date。单击重新加载按钮以更新可用的软件缓存。