[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt command to turn debian entries into urls

Is there a way - in apt - to translate package entries to urls, without necessarily 
going off to get them?

I can say:

apt-get -m -s build-dep perl

and get

The following NEW packages will be installed:
binutils build-essential cpio cpp cpp-3.3 debconf debconf-i18n dpkg-dev file g++
   g++-3.3 gcc gcc-3.3 gcc-3.3-base ifupdown iputils-ping libc6 libc6-dev libdb1-compat
   libdb4.0 libdb4.0-dev libgcc1 libgdbm-dev libgdbm3 liblocale-gettext-perl libmagic1
   libstdc++5 libstdc++5-3.3-dev libtext-charwidth-perl libtext-iconv-perl
   libtext-wrapi18n-perl libwrap0 linux-kernel-headers make net-tools netbase
   netkit-inetd patch perl perl-base perl-modules tcpd zlib1g

0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.

Inst libdb1-compat (2.1.3-7 Debian:unstable) []
Inst libc6 (2.3.2.ds1-11 Debian:unstable)
Conf libdb1-compat (2.1.3-7 Debian:unstable)

etc. etc.

I would like to get 

Inst libdb1-compat (2.1.3-7 Debian:unstable) []


Inst libc6 (2.3.2.ds1-11 Debian:unstable)


or somesuch instead.. I suppose I could parse out the package names and translate them
to urls by looking in Sources.gz, and Packages.gz, but that seems to be one hell of a 
clunky error prone thing to do.


Reply to: