存储库问题

存储库问题

我有一个长期存在的存储库错误,它不允许我安装软件等。我一直避免处理它,因为我不完全了解存储库/验证系统的工作原理。当我 sudo apt-get update 时,在列表末尾,我得到了(用点代替点以允许我以我的声誉发布)

Ign httpcol//repo.steampowereddotcom precise/steam Translation-en                  
Ign httpcol//ppa.launchpaddotnet trusty InRelease                                  
Ign httpcol//ppa.launchpaddotnet trusty InRelease                                  
Ign httpcol//ppa.launchpaddotnet trusty InRelease                                  
Get:11 http://ppa.launchpad.net trusty Release.gpg [316 B]                     
97% [1 Packages bzip2 0 B] [InRelease gpgv 89.8 kB] [10 Packages 3,023 kB/5,859Splitting up /var/lib/apt/lists/partial/launchpad.net_%7eeugenesan_+archiIgn httpscol//launchpaddotnet trusty InRelease                                     ature failed
E: GPG error: https//launchpad.net trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

因此我找到了一个故障排除帖子,其中指出我应该运行:

sudo echo "deb http//archive.ubuntudotcom/ubuntu/ trusty main universe restricted multiverse" > /etc/apt/sources.list; sudo apt-get update

试过了,没有用。

$ wget -O - -S httpcol//extras.ubuntudotcom/ubuntu/dists/trusty/InRelease

我照做了,但是它返回了正确的内容:

--2014-11-03 12:25:56--  httpcol//extrasdotubuntudotcom/ubuntu/dists/trusty/InRelease
Resolving extrasdotubuntudotcom (extrasdotubuntudotcom)... 91.189.92.152
Connecting to extrasdotubuntu.com (extrasdotubuntudotcom)|91.189.92.152|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 404 Not Found
  Date: Mon, 03 Nov 2014 17:25:59 GMT
  Server: Apache/2.2.22 (Ubuntu)
  Vary: Accept-Encoding
  Content-Length: 310
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: text/html; charset=iso-8859-1
2014-11-03 12:25:57 ERROR 404: Not Found.

这部分对我来说看起来很奇怪:

7% [1 Packages bzip2 0 B] [InRelease gpgv 89.8 kB] [10 Packages 3,023 kB/5,859Splitting up /var/lib/apt/lists/partial/launchpaddotnet_%7eeugenesan_+archiIgn httpscol//launchpaddotnet trusty InRelease                                     ature failed<<

但我不知道该怎么办。有人知道这是什么问题或如何解决吗?求助!?

答案1

没关系。我修好了。我至少遇到了两个问题,一个是哈希值不匹配,另一个是缺少密钥。直到我禁用(并删除)了 ppa,我才发现这些问题。现在我的更新干净了。

相关内容