Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173934
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Best practices for updating systems over extremely slow links |
| Date | 2016-10-28 14:10 +0200 |
| Message-ID | <sxe8W-885-23@gated-at.bofh.it> (permalink) |
| References | <swVpD-49R-11@gated-at.bofh.it> <sxbup-6lx-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 10/28/2016 4:14 AM, Karl E. Jorgensen wrote:
> On Thu, Oct 27, 2016 at 03:45:21PM +0000, rbraun204 . wrote:
>> I have a couple of debian boxes in very remote areas that are connected back to
>> our wan via a 56kbps satellite link. Most of the time we have a constant
>> stream of data coming/going to that machine so the link is saturated quite a
>> bit.
> [snip]
>
> Normally, I'd suggest looking into running a private mirror and
> rsyncing it, but with only one machine at each location, that's
> overkill.
>
> I think you may want to look into apt-zip: This will decouple the
> download from apt, allowing you to get the data xferred by whatever
> method works (rsync?), and picking up the xferred file on the remote
> location with apt...
>
> Unfortunately, apt-zip has been discontinued - last appears in wheezy,
> but it may still work or be made to work? It seems aimed at your
> exact use case...
>
> Failing that I can imagine other (hand-crafted) solutions with these
> components:
>
> - make sure /etc/sources.list (and /etc/sources.list.d) are identical
>
> - rsync /var/lib/apt/* across
>
> - on the remote end: run:
>
> apt-get upgrade --print-uris # or similar
>
> - grab the URLs
>
> - download the *.debs and rsync them into /var/cache/apt/archives/
>
> - on the remote end:
>
> apt-get upgrade
>
> This is entirely off the top of my head, but with a bit more thought
> and scripting, it _should_ work...
>
> Hope this helps
> --
> Karl
Would apt-offline be appropriate? It is a maintained Debian package.
offline APT package manager
https://packages.debian.org/jessie/apt-offline
Welcome to Offline APT Package Manager project!
http://apt-offline.alioth.debian.org/
Offline Package Management for APT
https://debian-administration.org/article/648/Offline_Package_Management_for_APT
Using APT Offline
https://www.debian.org/doc/manuals/apt-offline/index.en.html
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Best practices for updating systems over extremely slow links "rbraun204 ." <rbraun204@gmail.com> - 2016-10-27 18:10 +0200
Re: Best practices for updating systems over extremely slow links emetib <chadbrabec@gmail.com> - 2016-10-28 04:00 +0200
Re: Best practices for updating systems over extremely slow links "Karl E. Jorgensen" <karl@jorgensen.org.uk> - 2016-10-28 11:20 +0200
Re: Best practices for updating systems over extremely slow links Richard Owlett <rowlett@cloud85.net> - 2016-10-28 14:10 +0200
csiph-web