I have 2 systems running Debian at home and I am trying to minimize the bandwidth use while upgrading the packages. How can I increase the size limit of the cache, so that I could just copy the packages over LAN? (currently they get removed too quickly)
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
To set the cache size for apt, you need to edit Debian provides
So you need to put following line in
|
|||
|
|
|
You should consider using a separate caching proxy for your apt instances. apt-proxy is one tool you could try. Let that do the caching and prune the individual apt archives more aggressively. |
|||
|
|
apt-config dump | grep -i clean? – enzotib Oct 4 '11 at 16:42grzes:/home/ga# apt-config dump | grep -i clean? grzes:/home/ga#– Grzenio Oct 5 '11 at 6:57APT::Periodic::AutocleanInterval "0";– Grzenio Oct 6 '11 at 9:16