"apt-get update" errors

Started by caru, June 10, 2014, 04:53:32 PM

Previous topic - Next topic

caru

I connected the A20 to the router, logged in as root and ran:
root@A20:~# ifup eth0
...
root@A20:~# apt-get update
Get:1 http://ftp.debian.org wheezy Release.gpg [2,255 B]
Get:2 http://ftp.debian.org wheezy Release [2,256 B]
Err http://ftp.debian.org wheezy Release
 
Fetched 4,511 B in 4s (1,059 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org wheezy Release: The following signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/Release 

W: Some index files failed to download. They have been ignored, or old ones used instead.


Why do I get these errors? Shouldn't this work out-of-the-box?

If I try to install a package, I get these errors:
root@A20:~# apt-get install fbi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  imagemagick
The following NEW packages will be installed:
  fbi
0 upgraded, 1 newly installed, 0 to remove and 34 not upgraded.
Need to get 57.2 kB of archives.
After this operation, 136 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ wheezy/main fbi armhf 2.07-10 [57.2 kB]
Fetched 2,256 B in 0s (2,893 B/s)
Failed to fetch http://ftp.debian.org/debian/pool/main/f/fbi/fbi_2.07-10_armhf.deb  Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Any idea how to fix apt-get?

Thanks, caru.

otyugh

You seem to have this exact same issue :
The "Err http://ftp.debian.org wheezy Release" seem to point out a connexion problem.
Source : http://www.raspberrypi.org/forums/viewtopic.php?t=50734&p=392950

Try again maybe ?