Why don't you use this?
apt-get --print-uris install <the-package-you-want>
It will print the URI from where apt-get would download the file.
On Fri, 2 Mar 2001, Olivier Delemar wrote:
> Le jeu 01 mar 2001 à 12:11:21 +0100, J.A. Bezemer écrivait :
> > Note that apt-get update does _not_ update /var/lib/dpkg/available. Either run
> > /usr/lib/dpkg/methods/apt/update for that, or do
> > apt-cache dumpavail > /tmp/Packages and use that instead.
>
> Hmmm, there's still a problem with that: neither
> /var/.../available nor apt-cache dumpavail produces a file precising
> *where* to find the package. This information is important if I want
> the latest security-patched version of each package, when available.
>
> Consider the following /etc/apt/sources.list file:
>
> deb http://ftp.uk.debian.org/debian stable main contrib non-free
> deb http://ftp.uk.debian.org:/debian/non-US/ stable/non-US main contrib
> deb http://security.debian.org stable/updates main contrib non-free
>
> How can I now where apt-get update found a given available package? I
> dream of an "apt-get --create_mirror install"!
>
> --
> O. Delemar, CS-SI. ATHESA
> CEA/CENG, Bat. T, 17 Av. des Martyrs, GRENOBLE
> Tel. 04 76 88 32 87
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
Goedson Teixeira Paixao
mailto:[EMAIL PROTECTED]
http://www.dcc.ufmg.br/~gopaixao/
PGP Public key available via finger
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]