I'm having some trouble with apt/aptitude. Recently, out of nowhere, I realized I couldn't install anything and apt-get update
would produce this result:
$ 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
This part: Ign http://security.debian.org wheezy/updates Release
seems worrisome to me, but I don't really know what it could affect.
I know that this is not a problem with my system. I had an old Debian VM lying around and I tested with it as well, getting the same problem. I'm getting this problem at work, if that helps, so I'm not in full control of the network here and it might be something that they did with the network.
I also tried different mirrors, achieving the same result.
This is my 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
deb http://ftp.debian.org/debian/ wheezy-updates main
deb-src http://ftp.debian.org/debian/ wheezy-updates main
Thank you in advance.
Just solved this myself; this question came up along with a lot of other unsolved or non-applicable-to-me questions/answers around the net. Thought I'd add my particular solution for future reference --
Check disk space
df -h
Keep an eye on your /tmp/ -- I had run out of disk space, resolved the low disk situation, then still had the NODATA signature error. Finding this page gave me the answer - when low on space Ubuntu converts your /tmp to a small ramdisk.
sudo umount -l /tmp
Solves this problem.