This worked for Debian 8 (Jessie)
replace original /etc/sources.list with:
deb http://archive.debian.org/debian/ jessie main non-free contrib deb-src http://archive.debian.org/debian/ jessie main non-free contrib deb http://archive.debian.org/debian-security/ jessie/updates main non-free contrib deb-src http://archive.debian.org/debian-security/ jessie/updates main non-free contribapt-update
It will give a keyring error. I tried both:
apt-get install debian-archive-keyring apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 7638D0442B90D010
Few errors will throw on console, run-
apt-upgrade
and upgraded everything. It gave me a locale error which I fixed with
dpkg-reconfigure locales (set to en_US.UTF-8)
Nice, thank you
We really appreciate your priceless help! it worked perfectly. Thanks