Note: Automatic upgrade of packages is NOT recommended in reduces the bandwidth requirements of Debian mirrors by restricting the frequency of Packages, Releases and Sources file updates from the back end and only doing a single fetch for any file, independently of the actual request from the proxy.
automatically builds a Debian HTTP mirror based on requests which pass through the proxy.
To deal with this avalanche, many people prefer to use a more automated method.
Several different packages are available for this purpose: for more information.
Many people find this approach much too time-consuming, since Debian evolves so quickly -- typically, a dozen or more new packages are uploaded every week.
This number is larger just before a new major release.
Of course, you can get the same benefit if you are already using a standard caching proxy and all your systems are configured to use it.
This section covers how to deploy software updates to devices running Raspbian.
Visit Stack Exchange -u --show-upgraded Show upgraded packages; Print out a list of all packages that are to be upgraded. On a sidenote, I found that enzotib's solution without the single quotes around the ~U didn't work for me.Or you can use the redirector service httpredir.which aims to solve the problem of choosing a Debian mirror.It uses the geographic location of the user and other information to choose the best mirror that can serve the files.Before we go any further, let's investigate why keeping our devices updated is important.The first and probably the most important reason is security.