Is anyone familiar with a command-line method for listing currently
installed packages on a Debian system?  I couldn't find anything in
the documentation, and i wound up doing:

bash$ for i in `dpkg -l * | awk '{print $2}'` ; do dpkg -s $i |
> grep -B 1 "ok installed" | grep "Package" | awk '{print $2}' ; done

Which is, you will note, just a little bit longer and more complex than
BSD's

bash$ pkg_info

-- 
It's a hard work, being a network pusher. Your customers beep you in
the middle of the night, hungry for another fix. But, what can you do?
Customer satisfaction and all that crap...
Pays good, though.                    --Ingvar the Grey, in the Monastery

Reply via email to