Re: Debian too big?
Santiago Vila wrote:
> Mmm, how do you know how many mathematicians are there among our
> users? :-)
>
> To prevent endless discussions, I think we should ask our users for this
> [ something like "send us your status file and we will try the most
> popular packages to fit in the first CD-ROM" ].
Neat idea. Perhaps even put such results on the web page for interesting
trivia.
You can format a nice list using:
$ grep -A2 -B1 "install ok installed" /var/lib/dpkg/status | perl -ne 'if (/Package: (.*)/) {$p=$1}; if (/Section: (.*)/) {printf "%15s %s\n",$1,$p};' | sort
(Long line probably got mangles along the way...)
BTW, I noticed writting this simple script that some entries don't have a
section entry (e.g. qt1).
--
Peter Galbraith, research scientist <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
6623'rd Linux user at the Linux Counter -- http://counter.li.org/
Reply to: