Re: apt-cache and search
Leonard Leblanc saw fit to inform me that:
>My apt cache is stored in /var/cache/apt/archives so you could simply do the
>following:
>
>%> ls /var/cache/apt/archives | grep searchstring
>
Thanks Leonard for your prompt response.
My /var/cache/apt/archives is blank :-)
-----------------------------------------------------------------
debian:/var/cache# apt-cache search fortune
fortunes-min - Datafiles containing fortune cookies
fortunes-off - Datafiles containing offensive fortune cookies
fortune-mod - Fortune cookies provided upon demand.
fortunes - Datafiles containing fortune cookies
fortunes-cs - Czech and Slovak data files for fortune.
fortunes-it - Italian fortune cookies
debian:/var/cache#
-----------------------------------------------------------------
Is there any way I can find out without doing dpkg -L <package-name> | grep fortune
directly using apt-cache ?
Regards
--
Rajesh Fowkar
/**********************************************************************************\
* WebSite:http://rajesh.computers.webjump.com Email : rfowkar@goatelecom.com
* Address:KURTARKAR NAGARI,BLDG-C,T4,3RD FLOOR,SHANTINAGAR,PONDA-GOA.(INDIA)
*
* "The expert at anything was once a beginner." -Hayes
/**********************************************************************************\
Reply to: