Re: Ways to keep my Debian box updated over dial-up (3 KB/sec)?

From: Morningdew (yahooaddyismorning42dew_at_spam.free)
Date: 02/08/05


Date: Tue, 08 Feb 2005 15:00:53 -0600

ANTant@zimage.com wrote:
> Someone told me to look at apt-zip and apt-move commands, but he/she
> didn't know how to use them (just read about them). I downloaded those
> two packages and ran them. I looked at their help with "man" command, but
> I am still puzzled on how to use them for my dial-up issue.
>
> What am I supposed to do with them? I assume I want to use apt-zip:
> "These scripts simplify the process of using dselect and apt on a non-
> networked Debian box, using removable media like ZIP floppies. One
> generates a `fetch' script (supporting backends such as wget and lftp, in
> a modular, extensible way) to be run on a host with better connectivity,
> check space constraints of your removable media, and then install the
> package on your Debian box."
>
> I am at a loss on how to start this. I assume it is like run these scripts
> on my Debian box after doing apt-get update (30+ minutes), copy the list
> of locations to download, go to a Windows box with broadband connection
> like at work, run the wget to download all the packages, burn them to CD
> or copy to USB Flash drives/sticks, then run apt-get upgrade from the CD
> or USB Flash drives/sticks. Is that how it supposed to work?
>
> Sorry if I sound like a newbie/novice which I am. ;) Thank you in advance.
>
>
> In comp.os.linux.setup ANTant@zimage.com wrote:
>
>>Hello!
>
>
>>I no longer have broadband connection nor can get broadband at home for
>>my Internet usage. I am forced to use dial-up with EarthLink that only
>>goes at 3 KB/sec due to poor Verizon's phone systems. Back in Autumn of
>>2004, I installed Debian v3.1 with its Sarge installer. Net installation
>>was so fun and easy over cable modem connection. Not any more on dial-up.
>>:(
>
>
>>I noticed apt-get update takes forever to download (30+ minutes). Just
>>for kicks, I saw many MB to download for apt-get upgrade. It was about
>>250 MB would be 25 hours nonstop (woah). EarthLink doesn't let me stay
>>online more than 24 hours straight per connection session. Also, my
>>connection isn't that stable. I am trying to find ways to optimize this
>>to make my installation and updates efficient.
>
>
>>I do have broadband access, CD burners, and USB Flash drives/sticks (256-
>>512 MB) at work. Is there a way to get all these Debian packages and
>>upgrades quickly? I do not and cannot run Debian at work due to heavy
>>firewall restrictions (apt-get update and upgrade doesn't work well in
>>VMware v4.5.x tests).
>
>
>>Bascially, I would like to take the list of packages that I need to
>>download and their locations, download them at work to burn to a CD-RW
>>and/or USB Flash drives/sticks (haven't tested to see if Flash
>>drives/sticks work on that Debian box). I see *.dep files are download-
>>able from http://www.debian.org/distrib/packages (unstable, stable,
>>etc.). I do NOT want have to download each file one by one. I think
>>there was about a hundred packages in apt-get upgrade list when I
>>checked last night. Gah! :(
>
>
>>It looks like Debian wasn't really designed for dial-up modems and I do
>>not really want to get another distribution. Please note that this is a
>>desktop workstation, not a notebook/laptop so portability is not an
>>option.
>
>
>>Thank you in advance for any suggestions. :)

There are few things out there, but you'll have to look into them on
your own. Apt-proxy is good for, like, a group of machines (one
downloads from net, others get it from the 'master'). See
http://apt-proxy.sourceforge.net for more. Another couple things to
look into are apt-cacher, which seems to do something similar, and
apt-move which could be helpful too. Another thing for you might be
netselect-apt, which builds a sources.list of the fastest mirrors for
you. None of these have I tried or looked into too deeply, but they
have come by my eyes in the past week. Talked to a teacher about
setting up the apt-proxy to maintain lab systems more network-efficiently.

I would bet that there is a way to make a "mirror" of only what your
system presently has installed on a set of CDs, and then take that to
the broadband locale and maintain keeping that mirror updated. If you
have some hard drive space, you may even manage to keep two "mirrors"
synced by taking only the diffs home on CD when need be. It may be a
little work to set up but with some creativity and a little "light"
reading on the APT system, I would not be surprised if there is a way.

Good luck, and - as always - report back any successes and/or methods
for others to benefit. Also, you may want to haunt some #Debian on
freenode or other channels on IRC and see if you can snag an apt guru
for some q & a.

Peace,
Morningdew



Relevant Pages

  • Re: strange string appended to every sendmail command -- how can I fix?
    ... Debian and I am getting the following strange thing -- for instance ... 220;; ESMTP connection timed out; no servers could be reached ... every command and so sendmail can't send out because of this. ... connected during installation of the system, ...
    (comp.mail.sendmail)
  • Re: Downloading Debian CDs or DVD(s)?
    ... I'm a Debian fan myself, but would recommend that someone new to ... Internet package mirror sites, such that almost all of the software on ... versions on your installation media? ... BitTorrent download rates are, well, a function of who else is ...
    (comp.os.linux.misc)
  • Re: Activation Problem with Windows Server 2008 Standard
    ... understanding is that this software downloaded from the Microsoft Faculty ... Connection web site is not evaluation software at all, but is in fact a full ... When I download software from this ... activation key that's generated works and is asked for during installation. ...
    (microsoft.public.windows.server.setup)
  • How to install and upgrade packages offline for my Debian box due to dial-up connection?
    ... I installed Debian v3.1 with its Sarge installer. ... was so fun and easy over cable modem connection. ... Not any more on dial-up. ... I noticed apt-get update takes forever to download. ...
    (Debian-User)
  • Re: Where to start
    ... check this very good debian help website really usefull for all the users and admins http://www.debianhelp.co.uk ... if you are looking for installation http://www.debianhelp.co.uk/install.htm ... I saw somebody says Just need to download ... I want to have a place where both Windows and Debian can have ...
    (Debian-User)