
Quoting Rick Moen <rick@linuxmafia.com>
Quoting James Harper (james.harper@bendigoit.com.au):
When I do 'apt-get update', 'dpkg -l' doesn't know about the new packages and so isn't useful for searching. >
Wrong tool. I think you're looking for 'apt-cache'.
just for the record........ Its likely dpkg -l uses the file /var/lib/dpkg/available as its source this is updated by dselect. One can update this file by running dselect and selecting the menu item "1. [U]pdate". I use apt-get, dselect and dpkg, each has its own strengths and weakness's. I find dselect particularly good at telling one what is being drag into satisfy dependecies, in many cases (for me any way) telling you its pulling something you ____really____ do not want. I do not want a system with a lot of stuff on it I will never use, apt being real good at installing masses of stuff although..... Install-Recommends "false"; Install-Suggests "false"; in /etc/apt/apt.conf helps a lot. Lindsay