Luis Mondesi <[EMAIL PROTECTED]> writes:

> Package: apt
> Version: 0.5.28.6
> Followup-For: Bug #152217
>
> apt-get download should simply be a call to (alias?):
>
> apt-get -o 'Dir::State::status "./"' \
>     -o 'Dir::Cache "./"
>     --download-only --reinstall install 
>
> Etc... whatever it's needed to let apt-get download the package by
> non-root users. We don't need to install the package, we are downloading
> only, so, no need to lock apt-get and no need to be root.
> The current dir could probably be configurable with some new option
> like: Dir::Download::Path. However, having it default to the current
> directory is perhaps the correct thing to do.
>
> Cheers.

For a complete, ready to use wraper for this check out get-packages
from debian-installer.

There are two problems with this though:

- apt-get resolves depends and will download all packages needed and
not just the ones given

- dependency resolving can create conflicts, udebs in particular break

MfG
        Goswin


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

Reply via email to