无法通过apt-get安装任何东西。 apt-get update的问题

我无法使用apt-get安装任何东西。 我认为这个问题是由于某种gpg错误造成的。 根据我的信念,我几乎在网上做了一切。 这是我运行apt-get update时发生的情况。

 mody@ubuntu:~$ sudo apt-get update Get:1 http:/dl.google.com stable Release.gpg Get:2 http:/dl.google.com stable Release Ign http:/dl.google.com stable Release E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2 mody@ubuntu:~$ 

我试过这些

 mody@ubuntu:~$ sudo apt-get clean mody@ubuntu:~$ sudo apt-get update && sudo apt-get upgrade Get:1 http:/dl.google.com stable Release.gpg Get:2 http:/dl.google.com stable Release Ign http:/dl.google.com stable Release E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2 

没工作

 mody@ubuntu:~$ sudo apt-get update -o Acquire::http::No-Cache=True Get:1 http:/dl.google.com stable Release.gpg Get:2 http:/dl.google.com stable Release Ign http:/dl.google.com stable Release E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2 

没工作

 mody@ubuntu:~$ sudo apt-get update -o Acquire::BrokenProxy=true Get:1 http:/dl.google.com stable Release.gpg Get:2 http:/dl.google.com stable Release Ign http:/dl.google.com stable Release E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2 mody@ubuntu:~$ 

即使这样

单击系统>>管理>>软件源单击下载自“菜单”,然后选择“主服务器”在终端中键入以下内容。

 sudo apt-get update 

再次运行更新管理器。

但没有奏效

我还在ubuntu网站上更改了一个源。 我不知道为什么我这样做,但这没有帮助

力量更新了吗? 问题依然存在。

 mody@ubuntu:~$ sudo apt-get update -f [sudo] password for mody: Get:1 http:/dl.google.com stable Release.gpg Get:2 http:/dl.google.com stable Release Ign http:/dl.google.com stable Release E: GPG error: http:/dl.google.com stable Release: The following signatures were invalid: NODATA 1 NODATA 2 

失意。

没有安装Synaptic和aptitude。 将下载服务器更改为任何可能的任何内容都无济于事。

PS:链接给我发布的问题,所以我删除/在哪里//存在

可能需要重新导入从谷歌Linux软件存储库签署下载的包的密钥。 这可以通过终端中的以下行来完成

 wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 

或者,我们也可以下载并保存密钥,然后手动导入。

来源: 谷歌