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

generate a dependencies list



Hello!

I was wondering... how to generate a list of dependencies of a given package? 

dpkg --status <package> | grep "^Depends" get only the installed ones

apt-cache depends <package> | Grep "Depends" gives the names of the virtual 
packages, whose dependencies I cannot determine.

I am kind of stuck... can somebody help me? The solution should be easy enough 
to be used in a script.

TIA,

Pablo
-- 
Pablo Lorenzzoni (Spectra) <spectra@debian.org>
GnuPG Key ID 268A084D at search.keyserver.net
Webpage: http://people.debian.org/~spectra/



Reply to: