Re: how to get full package url from apt-cache?
On Mon, 24 Sep 2001, Steve Kowalik wrote:
> On Sun, Sep 23, 2001 at 11:09:54PM +0200, Massimo Dal Zotto uttered:
> > Hi,
> > is it possible to get the full URL of a package (the one which is passed
> > by apt-get to dpkg for package installation) from apt-cache or some other
> > standard tool? What I would lite to do is something like this:
> steven@broken:~$ sudo apt-get --print-uris install xserver-svga
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
> The following NEW packages will be installed:
> xserver-common-v3 xserver-svga
> 0 packages upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
> Need to get 1771kB of archives. After unpacking 4002kB will be used.
> Do you want to continue? [Y/n]
> 'http://people.debian.org/~branden/woody/i386/xserver-common-v3_3.3.6-38pre39v2_i386.deb' xserver-common-v3_3.3.6-38pre39v2_i386.deb 419296 e1e994635fda022d7ed5aef05433d679
> 'http://people.debian.org/~branden/woody/i386/xserver-svga_3.3.6-38pre39v2_i386.deb' xserver-svga_3.3.6-38pre39v2_i386.deb 1351522 05662fb59442673f623db7f7888205d8
Will it work if something is broken? E.g i remember, that even with
-d (download) apt-get refused to do anything saying that package is not
configured (or sth., can't remember)
Mors Drosophilis melanogastribus!