apt-get 更新时出现“NOSPLIT”(网络是否需要身份验证?)

Rao*_*rma 5 ubuntu proxy networking apt

每当我这样做时:

sudo apt-get 更新

我收到以下错误:

W: GPG error: http://ppa.launchpad.net/rael-gc/rvm/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8094BB14F4E3FBBE
W: The repository 'http://ppa.launchpad.net/rael-gc/rvm/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://in.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://in.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-security/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)

从某一天起我就一直在努力解决这个问题。我尝试过类似的事情:

  1. 在设置中取消选中其他软件中的 dl.google.com/linux..
  2. 尝试查找,如果我通过命令位于任何代理后面: $echo "https_proxy",但它什么也没显示。(我也很困惑是否是因为任何代理。如果是,那么它在哪个级别适用。即服务器端的客户端,我对我的路由器有疑问)

  3. 我也尝试过这种方式,在 /etc/apt/apt.conf 文件 /etc/apt$ cat apt.conf 中写入以下命令

    获取::http::proxy“ http://用户名:密码:192.168.0.1 ”; 获取::https::proxy " https://用户名:密码:192.168.0.1 ";

保存它们,然后尝试 sudo apt-get update,但仍然不起作用。还请解释一下我需要在用户名和密码处写什么。这是我的路由器或我的 ubuntu 的登录 ID 和密码吗?

请帮忙,因为我不知道现在该怎么办。

Rao*_*rma 2

抱歉这么晚才回答。实际上,就我而言,事实证明我的路由器正在提供一些代理,但我不知道谁代理凭据。我知道登录该路由器的基本凭据,因此我要求我的服务提供商更改该路由器。使用新路由器后,我不会遇到这个问题。但有一件事可以确认,这是代理服务器的问题,而不是操作系统的问题。