Skip to main content
 首页 » 编程设计

apt之"InRelease: Clearsigned file isn' t 有效,在更新包列表时得到 'NODATA'(网络是否需要身份验证)”

2024年12月31日16kenshinobiy

这是我在终端中看到的:

user@user-OptiPlex-9020:~$ sudo apt-get update 
Ign http://extras.ubuntu.com trusty InRelease                                   
Ign http://in.archive.ubuntu.com trusty InRelease                               
Get:1 http://dl.google.com stable InRelease                                     
100% [1 InRelease gpgv 1,661 B] [Connecting to 192.168.0.90 (192.168.0.90)] [WaSplitting up /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_InRelease intoIgn http://dl.google.com stable InRelease                                       
E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?) 

我在/etc/apt/apt.conf 文件中有所需的身份验证信息:
Acquire::http::proxy "http://username:password@192.168.0.90:8080/"; 
Acquire::https::proxy "https://username:password@192.168.0.90:8080/"; 
Acquire::ftp::proxy "ftp://username:password@192.168.20.0:8080/"; 

我无法弄清楚问题所在。

请您参考如下方法:

一种方法是从您的软件更新存储库中删除 dl.google.com,

为此,请使用系统设置 -> 软件和更新 -> 其他软件

并取消选中 dl.google.com

然后运行

sudo apt-get update 

我找不到让谷歌保持联系的方法,因为我住在伊朗,谷歌拒绝为伊朗用户提供服务。