Wheezy and jessie both has gone EOL and repos too. archive repo doesn’t seem to usually work either. So here’s a little trick that worked for me. Below is my repo.list file-
deb http://archive.debian.org/debian jessie main deb http://archive.debian.org/debian-archive/debian-security/ jessie updates/ma$ #deb http://security.debian.org/ jessie/updates non-free contrib main #deb http://mirrors.ocf.berkeley.edu/debian/ jessie-updates main contrib non-fr$ deb http://security.debian.org/ jessie/updates main deb http://ftp.fr.debian.org/debian jessie-updates main
Nowupdate apt as below-
apt-get update -o Acquire::Check-Valid-Until=false;
apt-get install nano inotify-tools msmtp -o Acquire::Check-Valid-Until=false;
No guarantee how long this will work for, but it worked for me in Feb 2021. Use at your own risk.