:: Re: [DNG] Caching binary .deb packa…
Página Inicial
Delete this message
Reply to this message
Autor: info at smallinnovations.nl
Data:  
Para: dng
Assunto: Re: [DNG] Caching binary .deb packages

> Date: Mon, 6 Jun 2016 14:32:14 +0300
> From: Lars Noodén<lars.nooden@???>
> To:dng@???
>
> 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?
>
> Regards,
> Lars

You can use apt-mirror to easily mirror the repositories of you choice.
Long time ago that I used it but here is a extensive howto
https://www.howtoforge.com/local_debian_ubuntu_mirror


Grtz

Nick