I have installed Ubuntu on multiple computers. Every computer needs to download updates from the source. Isn't it a waste of network resources? I accidentally found that all downloaded files are in/var/cache/apt/archives. On the updated PC, rsync-ru/var/cache/apt/archives // media/disk-1/archives // media/disk-1 is the installation of my mobile hard drive. point. Then, when another computer has not been updated for a long time, multiple computers have installed Ubuntu, and each computer has to download updates from the source, isn't it a waste of network resources?
I accidentally found that all downloaded files are in/var/cache/apt/archives.
On the updated computer
Rsync-ru/var/cache/apt/archives // media/disk-1/archives/
/Media/disk-1 is the installation point of my mobile hard disk.
Then, the computer has not been updated for a long time.
Sudo rsync-ru/media/disk-1/archives // var/cache/apt/archives/
After a while, the computer also detected 30 updates, but did not re-download these updates, but directly installed them. This achieves the purpose of reuse.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service