PDA

View Full Version : apt-cache search only showing installed packages


OneWingedAngel
January 7th, 2006, 03:13 AM
Something has gone wrong with apt on my system. apt-cache is only listing installed packages when I search. I checked my sources file (fine), did an apt-get update (no change) and reinstalled apt (ditto).

Anyone know what's wrong and how I can fix it?

Saiboogu
January 8th, 2006, 12:48 PM
Having that very same problem, shame no one has replied to this yet. I'll keep an eye on this thread (and go back to my searching... )

Good luck!

Saiboogu
January 8th, 2006, 01:04 PM
As a temporary workaround, I have found that

sudo aptitude search

searches packages not installed, like apt-cache search used to. Still wish I could figure out what is going on here..

OneWingedAngel
January 10th, 2006, 10:57 PM
sudo aptitude search


Thanks. (aptitude show works too). I never knew aptitude did this (I always avoided it in my Debian days)

narcisgarcia
December 23rd, 2008, 06:46 AM
I've found this alternative command:

sudo aptitude search '~i'keyword

(without separation between ' and keyword)

dE_logics
March 17th, 2010, 10:44 AM
And the bug persists till date.

However updating solves the problem.