[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#89725: apt: Ability to do multiple operations in one invocation



merge 89725 82825
thanks

On Thu, 15 Mar 2001, Randolph Chung wrote:

[Making APT support multiple operations per invocation, for the sake of
  automatic dialup]

> pray tell, why not:
>
> #!/bin/sh
> dial-out-on-modem
> apt-get update
> apt-get -d upgrade
> hang-up-modem

Well, this bugreport isn't about the download hooks, there is another
bugreport for that (not from me, BTW).

What is the point is that APT should be able to dial up as needed (For
example, there is no point in dialing up when the files are already
cached, but a wrapper shell script cannot know this), and sometimes you
want to have multiple things done that require the net. If APT had to be
restarted in between, it would hang up the phone and dial up again a few
seconds later.

   Simon

-- 
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: DC26 EB8D 1F35 4F44 2934  7583 DBB6 F98D 9198 3292
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
NP: VNV Nation - Darkangel




Reply to: