On Fri, Sep 17, 1999 at 11:38:29AM +0100, Chris Rutter wrote: > On Thu, 16 Sep 1999, David Bristel wrote: > > > With this in mind, I think that having a configuration variable for apt that > > would allow the downloaded .deb files to be put in a user defined place. > > This > > way, if your /var is close to being full, you could, for example, drop it > > into a > > temporary directory on /home for the upgrade. This isn't the best place, > > but on > > many systems, /home is one of the largest partitions on a system, and tends > > to > > have a good ammount of free space on it because users may use a large > > ammount of > > space. > > Yes, either this or a FIFO expiration policy on /var/cache/apt/packages > which gets automatically applied when space runs out. Or possibly > the option of using /tmp/.apt, with a warning message that the > packages are in there and need to be moved into the cache.
Neither of these will help most people. Space running out can happen on one apt-run - nothing in the cache, slink -> potato. /tmp is usually on the / partition, which probably has less space than anything (and on many installs ends up on the / partition - at least that's how I was show to do it.) > I *don't* think that `apt' (or any other package) should use any > undefined directories (such as /home) for temporary storage. > If people want that, they'll symlink /tmp -> /home/.tmp or something. Not on a general basis. But it would be nice to be able to tell it to use /home or whereever for it. (/home is a bad idea - just for saftey's sake, I'd give it a directory where it has complete control of the contents.) > Alternatively, is there any other, er, `in bits' way that the > upgrade can be done? Check available space, download one bunch of files, install, delete the .debs, interate. David Starner - [EMAIL PROTECTED]