As Debian wheezy version has reached the end of life, the usual repositories do not exist anymore and have been moved to the archive.

  • Open /etc/apt/sources.list

  • Comment existing sources

  • Add below sources

deb http://archive.debian.org/debian/ wheezy main non-free contrib
deb-src http://archive.debian.org/debian/ wheezy main non-free contrib
  • Now you can run
apt-get update
  • If you get below error
There is no public key available for the following key IDs
  • Install below package
apt-get install debian-archive-keyring
  • Now you can rerun
apt-get update