Debian Indian repository can speed up the download speed while upgrade and installation of new packages. Indian users get the advantage of local Debian repository. Here is the Indian repository of Debian 9 (Stretch).
Add to sources.list
Open the sources.list using your favourite text editor,
su
leafpad /etc/apt/sources.list
Delete or comment out the existing repository details in the file. Copy and paste the following content into the file.
deb http://debianmirror.nkn.in/debian/ stretch main
deb-src http://debianmirror.nkn.in/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
deb http://debianmirror.nkn.in/debian/ stretch-updates main
deb-src http://debianmirror.nkn.in/debian/ stretch-updates main
Save and close the file.
Apply the following commands to update the repository information.
apt update
apt upgrade
Add to sources.list
Open the sources.list using your favourite text editor,
su
leafpad /etc/apt/sources.list
Delete or comment out the existing repository details in the file. Copy and paste the following content into the file.
deb http://debianmirror.nkn.in/debian/ stretch main
deb-src http://debianmirror.nkn.in/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
deb http://debianmirror.nkn.in/debian/ stretch-updates main
deb-src http://debianmirror.nkn.in/debian/ stretch-updates main
Save and close the file.
Apply the following commands to update the repository information.
apt update
apt upgrade