【发布时间】:2026-01-28 06:40:02
【问题描述】:
每当我这样做:
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.
我从一天开始就一直在尝试解决这个问题。 我试过这样的事情:
- 在设置中从其他软件中取消选中 dl.google.com/linux..
-
尝试查找,如果我在任何代理后面通过命令:$echo "https_proxy",但它什么也没显示。 (我在决定这是否是因为任何代理时也感到困惑。如果是,那么它将在哪个级别应用。即服务器端的客户端,我对我的路由器有疑问)
李> -
我也试过这种方式,在/etc/apt/apt.conf文件中写了如下命令 /etc/apt$ cat apt.conf
获取::http::proxy "http://username:password:192.168.0.1"; 获取::https::proxy "https://username:password:192.168.0.1";
保存它们,然后尝试 sudo apt-get update,但仍然不起作用。还请解释我需要在用户名和密码处写什么。那是我的路由器还是我的 ubuntu 的登录 ID 和密码。
请帮忙,因为我现在不知道该怎么办。
【问题讨论】:
标签: ubuntu networking proxy apt