Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #200984

Re: Upgrading with a low data cap

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Upgrading with a low data cap
Date 2018-10-08 03:10 +0200
Message-ID <wGsdz-19G-3@gated-at.bofh.it> (permalink)
References <wGhrP-3fp-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 07 Oct 2018 at 08:32:42 (-0500), Richard Owlett wrote:
> All my machines have use Stretch DVD1 for installation.
> I have a low monthly data cap - currently at my limit.
> One machine has an apt-get update and upgrade with the addition of
> some packages not on DVD1.
> I've not intentionally deleted any cached files.
> Is it possible to use the cached data on another machine?

Yes, every different .deb file has a unique name so you can copy them
wholesale onto a stick and use them over and over, and add more to
your collection at any time.

> What should I be reading?

Copying them from archives/ to a stick really needs no documentation
beyond avoiding overwriting previous copies with -n, not because it
would cause a problem but just that it wastes time.
If you're impatient and want to copy files to the stick during
installation, note that (last time I looked) cp has no -n switch
at this time.

If you want to minimise traffic to the max, then you can copy the
files from the stick to the installation as soon as the directory
becomes available. IIRC that's at the point you are about to select
"Install the base system". So a sequence of commands on VC2 would be:

# cd /target/var/cache/apt/archives/

if that fails, than just go one more step on VC1 and try again.

# mount -t auto /dev/sdz9 /mnt

where z9 is whatever is appropriate.

# cp -ip /mnt/whatever/*deb /target/var/cache/apt/archives/

assuming the files on the stick are all are in directory "whatever".
(Why bother? Because you'll run out of top-level entries if the
stick is VFAT and you write all the files at top level.)

# umount /mnt

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-07 15:40 +0200
  Re: Upgrading with a low data cap Dan Purgert <dan@djph.net> - 2018-10-07 16:00 +0200
    Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-07 16:10 +0200
      Re: Upgrading with a low data cap David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 03:30 +0200
        Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-08 13:40 +0200
          Re: Upgrading with a low data cap Dan Purgert <dan@djph.net> - 2018-10-08 14:10 +0200
            Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-08 14:40 +0200
              Re: Upgrading with a low data cap Dan Purgert <dan@djph.net> - 2018-10-08 17:10 +0200
          Re: Upgrading with a low data cap Dan Ritter <dsr@randomstring.org> - 2018-10-08 14:50 +0200
          Re: Upgrading with a low data cap David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 18:00 +0200
            Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-08 21:30 +0200
              Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-08 21:50 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-08 22:40 +0200
                Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-08 22:50 +0200
                Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-09 10:50 +0200
              Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-08 21:50 +0200
              Re: Upgrading with a low data cap David <bouncingcats@gmail.com> - 2018-10-09 01:30 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-09 03:50 +0200
                Re: Upgrading with a low data cap Kenneth Parker <sea7kenp@gmail.com> - 2018-10-09 04:40 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-09 16:50 +0200
                Re: Upgrading with a low data cap Dan Purgert <dan@djph.net> - 2018-10-09 12:10 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-09 17:00 +0200
                Re: Upgrading with a low data cap Dan Purgert <dan@djph.net> - 2018-10-09 17:50 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-09 18:20 +0200
                Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-09 18:30 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-09 22:10 +0200
                Re: Upgrading with a low data cap Curt <curty@free.fr> - 2018-10-10 10:00 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-14 14:10 +0200
                Re: Upgrading with a low data cap David <bouncingcats@gmail.com> - 2018-10-15 11:10 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-15 14:10 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-15 16:10 +0200
                Re: Upgrading with a low data cap Dan Purgert <dan@djph.net> - 2018-10-15 17:00 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-15 17:00 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-17 16:50 +0200
                Re: Upgrading with a low data cap Dan Ritter <dsr@randomstring.org> - 2018-10-17 17:20 +0200
                Re: Upgrading with a low data cap John Hasler <jhasler@newsguy.com> - 2018-10-17 17:20 +0200
                Re: Upgrading with a low data cap rhkramer@gmail.com - 2018-10-10 16:00 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-10 17:00 +0200
                Re: Upgrading with a low data cap David Wright <deblis@lionunicorn.co.uk> - 2018-10-10 17:20 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-10 17:50 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-09 21:50 +0200
                Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-09 22:00 +0200
                Re: Upgrading with a low data cap Gene Heskett <gheskett@shentel.net> - 2018-10-09 22:20 +0200
              Re: Upgrading with a low data cap Alexandre Rossi <alexandre.rossi@gmail.com> - 2018-10-10 15:10 +0200
                Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-14 14:30 +0200
  Re: Upgrading with a low data cap Reco <recoverym4n@enotuniq.net> - 2018-10-07 16:00 +0200
  Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-07 16:40 +0200
    Re: Upgrading with a low data cap Brian <ad44@cityscape.co.uk> - 2018-10-08 20:20 +0200
  Re: Upgrading with a low data cap Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-10-07 17:00 +0200
  Re: Upgrading with a low data cap songbird <songbird@anthive.com> - 2018-10-07 22:00 +0200
    Re: Upgrading with a low data cap mick crane <mick.crane@gmail.com> - 2018-10-08 11:40 +0200
      Re: Upgrading with a low data cap songbird <songbird@anthive.com> - 2018-10-08 13:20 +0200
        Re: Upgrading with a low data cap mick crane <mick.crane@gmail.com> - 2018-10-08 13:50 +0200
          Re: Upgrading with a low data cap songbird <songbird@anthive.com> - 2018-10-11 00:00 +0200
  Re: Upgrading with a low data cap David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 03:10 +0200
    Re: Upgrading with a low data cap Tixy <tixy@yxit.co.uk> - 2018-10-08 08:00 +0200
      Re: Upgrading with a low data cap David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 17:30 +0200
        Re: Upgrading with a low data cap Tixy <tixy@yxit.co.uk> - 2018-10-10 11:20 +0200
    Re: Upgrading with a low data cap Richard Owlett <rowlett@cloud85.net> - 2018-10-08 13:50 +0200
  Re: Upgrading with a low data cap David Christensen <dpchrist@holgerdanske.com> - 2018-10-08 05:40 +0200
  Re: Upgrading with a low data cap Curt <curty@free.fr> - 2018-10-08 10:10 +0200
    Re: Upgrading with a low data cap David Wright <deblis@lionunicorn.co.uk> - 2018-10-08 17:10 +0200

csiph-web