Re: [External] Re: Access snapshot.debian.org problem
For transpartent caching, you could consider using either
squid-deb-proxy or apt-cacher-ng.
Here are a couple of blogs describing how to use them:
https://www.tecmint.com/apt-cache-server-in-ubuntu/ (from 2014 but still
accurate, I think)
On Fri, Apr 16, 2021 at 03:25:41AM +0000, Zhang, Haibin wrote:
> Hi Julien,
> About "cache or mirror the files you need", Is there any suggestion how to implement this just like setup apt mirror locally?
> -----Original Message-----
> From: Julien Cristau <email@example.com>
> Sent: Friday, April 16, 2021 1:09 AM
> To: Zhang, Haibin <Haibin.Zhang2@Honeywell.com>
> Cc: firstname.lastname@example.org
> Subject: [External] Re: Access snapshot.debian.org problem
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
> On Wed, Apr 07, 2021 at 02:25:10AM +0000, Zhang, Haibin wrote:
> > Hi,
> > I use http://snapshot.debian.org/archive/debian/20200707T145602Z for
> > my project. And I can open it through browser. But when I use it for
> > compilation in Linux, got below error, this error seams mean there is
> > something error with server. can you help to check.
> > Err:18 http://snapshot.debian.org/archive/debian/20200707T145602Z
> > bullseye InRelease
> > 500 Internal Server Error [IP: 126.96.36.199 80]
> There are rate limits in place to prevent the service falling over from too many requests. If you need a particular timestamped snapshot for your project I suggest you cache or mirror the files you need (allowing for the rate limits).