著者: Lars Noodén 日付: To: dng 題目: Re: [DNG] Caching binary .deb packages
On 06/06/2016 02:16 PM, Adam Borowski wrote: > On Mon, Jun 06, 2016 at 02:08:27PM +0300, Lars Noodén wrote:
>> I've been messing around with building a live image and notice that it
>> looks like there are a lot of different mirrors getting called into
>> play. I was expecting the same mirrors to be used each time so I could
>> populate my local cache on the first try and then use that cache on
>> subsequent builds. Is there any efficient way to cache everything I
>> access on the first try? I'm using squid3 right now but should I be
>> using apt-cacher or apt-cacher-ng instead?
>
> apt-cacher-ng works a great deal better than squid. It knows about the same
> file on different mirrors being supposed to be the same, checksums, rdiff
> apt indices, expires files not based on time but on them disappearing from
> indices, etc.
Thanks. I notice apt-cacher-ng has some weird dependencies. I don't
mind so much that it requires ed, though I think that is unnecessary. I
do mind that it wants libsystemd0. What is the right way to report that
bug in the package dependency?