On Tue, 8 May 2007, Serena Cantor <qipaishi2006@yahoo.com> wrote: > how to use dpkg to list all packages in doc section that can be installed? > > just list package names. > > Thanks! I don't think dpkg itself will, try: grep "Package: .*doc" /var/lib/dpkg/available | cut -d" " -f2 for a list of available doc packages.