我离开了这个州几个星期,把电脑留在家里,配置了家庭网络和路由器,这样我就可以随时 ssh 进入。它工作正常,我经常远程使用它。但有一天,我去跑步sudo apt update
,没有像往常一样运行更新,而是出现了这个
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.10.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 packages can be updated.
0 updates are security updates.
Last login: Wed Aug 9 09:27:54 2017 from 24.3.15.124
sinux@*******:~$ sudo apt update
[sudo] password for sinux:
Get:1 http://archive.canonical.com/ubuntu xenial InRelease [2,004 B]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease [2,004 B]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [2,004 B]
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security Release [2,004 B]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [2,004 B]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [2,004
B]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial Release [2,004 B]
Err:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require
authentication?)
Err:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require
authentication?)
Get:8 http://security.ubuntu.com/ubuntu xenial-security Release.gpg [2,004
B]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial Release.gpg [2,004 B]
Err:8 http://security.ubuntu.com/ubuntu xenial-security Release.gpg
The following signatures were invalid: NODATA 1 NODATA 2
Err:9 http://us.archive.ubuntu.com/ubuntu xenial Release.gpg
The following signatures were invalid: NODATA 1 NODATA 2
Reading package lists... Done
E: GPG error: http://security.ubuntu.com/ubuntu xenial-security Release: The
following signatures were invalid: NODATA 1 NODATA 2
E: GPG error: http://us.archive.ubuntu.com/ubuntu xenial Release: The
following signatures were invalid: NODATA 1 NODATA 2
有人能帮我解决这个问题吗?我已经连续尝试了好几次了。可能发生了什么事情导致这种情况?
编辑
答案中解释得很好
答案1
好吧,伙计们,我觉得自己很蠢。事情的原因是,当我在对岸时,我家乡的室友没有支付我们的互联网账单,所以我仍然能够通过 SSH 进入,但我的盒子无法访问互联网。所以,@MichaelBay 向我指出的问题和答案一针见血:上游网络问题。就我而言,我没有支付账单…… 不过很有趣,我从来没想过我还能省下这笔钱……那肯定有办法取消我的互联网服务