我在apt/aptitude方面遇到了一些麻烦.最近,无处不在,我意识到我无法安装任何东西,并apt-get update会产生这样的结果:
$ sudo apt-get update
Get:1 http://security.debian.org wheezy/updates Release.gpg [1,936 B]
Get:2 http://ftp.debian.org wheezy Release.gpg [1,936 B]
Get:3 http://ftp.debian.org wheezy-updates Release.gpg [1,936 B]
Get:4 http://security.debian.org wheezy/updates Release [1,936 B]
Ign http://security.debian.org wheezy/updates Release
E: GPG error: http://security.debian.org wheezy/updates Release: The following signatures were invalid: NODATA 1 NODATA 2
Run Code Online (Sandbox Code Playgroud)
这一部分:Ign http://security.debian.org wheezy/updates Release对我来说似乎令人担忧,但我真的不知道它可能会产生什么影响.
我知道这对我的系统来说不是问题.我有一个旧的Debian VM,我也用它进行了测试,遇到了同样的问题.我在工作中遇到这个问题,如果这有帮助,所以我不能完全控制网络,这可能是他们对网络做的事情.
我也试过不同的镜子,达到了同样的效果.
这是我的sources.list:
$ cat /etc/apt/sources.list
deb http://ftp.debian.org/debian/ wheezy main
deb-src http://ftp.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main …Run Code Online (Sandbox Code Playgroud)