Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186119 > unrolled thread
| Started by | Kala Techies <kalatechies@gmail.com> |
|---|---|
| First post | 2017-08-29 12:20 +0200 |
| Last post | 2017-08-30 19:40 +0200 |
| Articles | 4 — 4 participants |
Back to article view | Back to linux.debian.user
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
| From | Kala Techies <kalatechies@gmail.com> |
|---|---|
| Date | 2017-08-29 12:20 +0200 |
| Subject | Required help on local Debain mirror |
| Message-ID | <ujLMJ-1lA-7@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hello Team, Good Day… !!! I am new to Debian and I want some help on Local Debain Mirror. 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 tried to configure local mirror and followed some tutorials to configure local mirror :- https://www.debian.org/mirror/ftpmirror https://unix.stackexchange.com/questions/338723/setup-debian-mirrors-after- installation/338736 https://www.howtoforge.com/local_debian_ubuntu_mirror_p3 But no luck. I would appreciate if you could please share the steps to create local mirror for Debain 6 squeeze. Thanks in advance for your help. Regards, Kala
[toc] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2017-08-30 17:20 +0200 |
| Message-ID | <ukcWB-1xz-17@gated-at.bofh.it> |
| In reply to | #186119 |
On Tue, Aug 29, 2017 at 03:27:12PM +0530, Kala Techies wrote: > I am new to Debian and I want some help on Local Debain Mirror. > > > > 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 tried to configure local mirror and followed some tutorials to configure > local mirror :- First question: why are you using squeeze instead of stretch? (There are occasionally good reasons.) The easiest way to get a mirror working is to use the apt-mirror package. Install it on a machine with enough disk space, along with a webserver. Edit /etc/apt/mirrors.list If you really need squeeze, you'll need to get packages from https://www.debian.org/distrib/archive -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Christian Seiler <christian@iwakd.de> |
|---|---|
| Date | 2017-08-30 17:30 +0200 |
| Message-ID | <ukd6h-1Bo-13@gated-at.bofh.it> |
| In reply to | #186119 |
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. Regards, Christian
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2017-08-30 19:40 +0200 |
| Message-ID | <ukf86-2PE-19@gated-at.bofh.it> |
| In reply to | #186194 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web