On Debian create the file (/etc/apt/apt.conf)
and use the following configuration.
That’s it. If you seem to have a problem, reboot the machine.
If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!