Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186197
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Required help on local Debain mirror |
| Date | 2017-08-30 19:40 +0200 |
| Message-ID | <ukf86-2PE-19@gated-at.bofh.it> (permalink) |
| References | <ujLMJ-1lA-7@gated-at.bofh.it> <ukd6h-1Bo-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 30 Aug 2017 at 17:27:31 (+0200), Christian Seiler wrote: > Hi there, > > Am 2017-08-29 11:57, schrieb Kala Techies: > >I am using (Debian GNU/Linux 6.0.10 (squeeze)) in my environment and I > >want to update all systems using one local mirror. > > I don't think it's a good idea to setup a real local mirror, > as that means you'll download the entire archive, which is > likely going to be a _lot_ more stuff (especially if you > download all available architectures) than upgrading each > machine individually. > > What you'll rather want is to setup a local proxy server > that'll cache the packages. This way you'll only download > what you actually need, but you'll also only download it > once. > > I can recommend the apt-cacher-ng package for that. However, be prepared for problems if you run a version of apt-cacher-ng as old as squeeze's. I still run apt-cacher-ng on a wheezy machine and have had to switch between the backports and backports-sloppy versions, currently the latter, 0.9.1-1~bpo7+1. The main failures have been (1) expiration of old packages¹, (2) new compression schemes² for Packages files, (3) new InRelease files and (4) servicing apt-listbugs³ searches. I use it for wheezy and jessie, but have made no attempt to use it with stretch; is that when hashed indexing started? I don't know how many of these issues will affect a constituency of totally squeeze PCs; I guess that depends on whether the mirrors being used have been updating their apt methods, and if there are squeeze backports. ¹ie the archive grows for ever. ²eg .xz and/or .bz2 files. ³my current command sequence for upgrading is the unwieldy # apt-get -o Acquire::http::Proxy="http://192.168.1.19:3142/" update # apt-get -d -o Acquire::http::Proxy="http://192.168.1.19:3142/" upgrade # apt-get upgrade Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Required help on local Debain mirror Kala Techies <kalatechies@gmail.com> - 2017-08-29 12:20 +0200
Re: Required help on local Debain mirror Dan Ritter <dsr@randomstring.org> - 2017-08-30 17:20 +0200
Re: Required help on local Debain mirror Christian Seiler <christian@iwakd.de> - 2017-08-30 17:30 +0200
Re: Required help on local Debain mirror David Wright <deblis@lionunicorn.co.uk> - 2017-08-30 19:40 +0200
csiph-web