Synaptic Quick Search not working

Bug #335239 reported by Maxime Normand
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: synaptic

If I search for exemple "audacious" in quick search nothing comes up in the results but if I click the Search button and search for the same thing, the search will find the packages.

Happens with a fresh install of Jaunty build of 2009-02-25. The synaptic package version is 0.62.5ubuntu1

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, I can't reproduce your bug following your steps.

You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures so please check those out and see if you can provide us triagers with more information so we can make sure this bug gets proper attention

Thanks!

Changed in synaptic:
status: New → Incomplete
Revision history for this message
Maxime Normand (maxime-normand) wrote :

Seems to be working fine now, maybe an update fixed it...

Changed in synaptic:
assignee: nobody → maxime-normand
status: Incomplete → Invalid
Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

I have this problem on an updated Intrepid machine, though full search and apt work properly. To be more precise, when I start Synaptic and before performing ANY quick search, the list of "all" packages does not really contain all packages, and reloading doesn't fix it.

Changed in synaptic:
status: Invalid → New
status: New → Confirmed
Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Please refer to my previous post before re-opening this bug report. I will need more information from you before I can start triaging this bug.

Changed in synaptic:
assignee: maxime-normand → nobody
status: Confirmed → Incomplete
Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

Sorry, but I don't know how to reproduce this bug on a machine on which it has never occured before. Let me know if I can provide any additional info.

The bug description seems clear to me:

1) Open synaptic
2) Write "doxygen" in the quick search box
3) No package is found

Alternatively:

1) Open synaptic
2) Search for package doxygen manually by moving the scrollbar
3) No such package can be found

Note that I have all software sources enabled.

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Please install synaptic-dbgsym and run a trace https://wiki.ubuntu.com/Strace and post the output here.

Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

Sorry, but I cannot find that package...

Here's a stack trace without debugging symbols, if that can help you. I simply ran synaptic as root and immediately closed it.

Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

Well, of course I meant "immediately after displaying the list of "all" packages"...

Revision history for this message
Yannick Lavoquer (yann-l) wrote :

Fabio > It seems to be similar to bug #288797. Please test the workaround mentionned there : open a terminal and run "sudo update-apt-xapian-index" and restart synaptic

Revision history for this message
Fabio Bossi (fabio-bossi-deactivatedaccount) wrote :

Thanks Yannic, that solved my problem.

Revision history for this message
masc (masc) wrote :

This is not a duplicate.

Even after forcing xapian index update, searching for "ntfs" for example will only return 2 results using indexed/quick search, while regular search by name reveals 11.

I replicated this on 2 machines running jaunty, a friend of mine using intrepid confirmed the issue as well.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is a duplicate, and that's how the quick search box works. When you search for "ntfs" in the quick search box, it is only searching packages that begin with "ntfs". If you want to use quick search to search all package names containing the letters "ntfs", then use wildcards. If you think that behaviour is wrong, then open a separate bug report for that.

Revision history for this message
Ben Straton (fanum) wrote :

A couple of things come to mind, First under "Settings", then "Filters", and "Search Filters", do you have everything selected? Also have you run

    apt-get update

and

    apt-get upgrade

 to the newest packages? May be stupid questions, but I would like to rule out the simple solutions before diving deeper into this. If you have updates that are installed (even if they are not synaptic), please confirm this behaviour still exists afterwards

Revision history for this message
masc (masc) wrote :

@Chris Coulson: mh oky, wildcard works for "ntfs", however other search terms definitely match substrings (eg. "mount" matches gnome-mount, 9mount etc. even substrings in descriptions), so why does "ntfs" only work with wildcard while other search terms do not?

Revision history for this message
masc (masc) wrote :

..and yes, everything is selected in search filters and all packages are uptodate.

Revision history for this message
yurx cherio (cherio) wrote :

I can confirm the problem.

When I add FreeNX repository as described here <https://help.ubuntu.com/community/FreeNX> freenx package can only be found via regular search but not via quick search.

My Intrepid is always up-to-date. This same behavior with freenx package occurs on 2 different machines (one at home, one office server) so I believe it should be reproducible elsewhere.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.