" InRelease:Clearsigned file isn无效,得到了#NODATA' (网络是否需要身份验证?)"更新包列表时

时间:2014-06-30 09:39:51

标签: apt

以下是我在终端上看到的内容:

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/";

我无法弄清楚问题。

4 个答案:

答案 0 :(得分:47)

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

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

并取消选中dl.google.com

然后运行

sudo apt-get update

我找不到一种方法让谷歌圈成圈子,因为我住在伊朗&谷歌拒绝向伊朗用户提供服务。

答案 1 :(得分:4)

只需按照以下3个简单步骤操作,它对我有用:

第1步:修改google-chrome.list repo文件:

$ sudo nano /etc/apt/sources.list.d/google-chrome.list

第2步:评论" dl.google.com ..."行并保存文件:

# deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

第3步:再次运行更新:

$ sudo apt-get update

答案 2 :(得分:-1)

您可以尝试删除一些存储库,请小心删除存储库

sudo rm /etc/apt/sources.lists.d / ***。list

以后

sudo apt-get update -y

答案 3 :(得分:-2)

有时您的ISP服务提供商会遇到问题。您的IP可能在黑名单中。请检查https://mxtoolbox.com/blacklists.aspx并输入您的IP以查看结果。如果您看到列出的IP,则可以单击详细信息并请求删除您的IP

我遇到了同样的问题而没有适当的知识,我重新安装了操作系统并遇到了同样的问题。我通过从黑名单中删除来解决这个问题。