On 2/6/08, C Sights <[EMAIL PROTECTED]> wrote:
> Hi,
>         It would be nice if debtorrent used apt's package cache instead of a 
> separate
> one.  The main advantage would be less used space.

This isn't really possible, as DebTorrent needs to be sure that the
file stays in the cache for sharing purposes. Using the same cache as
Apt does would allow apt to delete the file at any time.

Your request did give me an idea though. I think it might be possible
to make the debtorrent apt transport tell apt that the file was found
locally, and then apt will not keep a copy of it in apt's cache (which
isn't really necessary since any future requests will get the file
immediately from DebTorrent). Then DebTorrent would control the cache
instead of apt. The only downside is that apt would exclude the
download from the statistics it shows of overall download progress
speed. The statistics are currently inaccurate anyway, but that might
change in the future.

Thanks,
Cameron



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to