On 2/6/08, CSights <[EMAIL PROTECTED]> wrote:
>         Maybe one could monitor apt's cache with inotify and then start or 
> stop
> sharing files as they appear in apt's cache?
>         (Or at least start sharing those files which appeared in apt's cache 
> through
> the actions of DebTorrent. Stop sharing shouldn't be as complicated.)

I just realized another reason this won't work, in replying to your
other bug. DebTorrent can be run on one machine in a local network,
proxying all local requests from packages. Therefore, it can't expect
that the package it returns will be placed in a local apt's cache
where it can access it again.

The alternative that I suggested could still be made to work, as the
debtorrent apt method would only set the file as local if it came from
a DebTorrent client on the local machine, although this could be made
a configuration option as most fast networks would not need to keep a
copy in apt's cache on the local network.

>         Another possible downside: would apt be able to use those downloaded 
> files if
> DebTorrent were uninstalled?

It would not.

Cameron



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

Reply via email to