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

Re: moving apt's cache



On Fri, Jun 04, 2004 at 01:45:32PM -0400, H. S. wrote:
> Apparently, _Ross Boylan_, on 06/04/04 12:50,typed:
> >Currently, apt's cache is in /usr/var/cache/apt.  I would like to move
> >that back to /var/cache/apt, thanks to new disk space.
> >
> >I recall some problems with this when I originally moved it, I think
> >because some other files had pointers to the location.  That was quite
> >awhile ago.  Does anybody know if it is safe to make the switch simply
> >by editing 
> >Dir {
> >	Cache "/usr/var/cache/apt";
> >};
> >in apt.conf and mv'ing the files?
> >
> >By "problems" I mean that apt starts downloading all the debs again,
> >seemingly not recognizing that it has them.
> >
> >Thanks.
> >
> >
> 
> Wouldn't a link at the present location pointing to the new location work?
> 
> ->HS
> 
It probably would, but I'm trying to rationalize my setup by reducing
the number of things in the "wrong" place (as someone else observed,
this is not the location--I did it deliberately because /var had no
room), the number of symlinks, and the number of mount --bind's.



Reply to: