Searching software with Ubuntu Sofware Center

Asked by Andrea Carpineti

Trying to install the right package for LaTeX I noticed that the search of the string "texlive" on Ubuntu Software Center shows two results:
- TeX Live: A decent selection of the TeX Live packages (texlive)
- Therion Cave Survey Software
I know that the two main packages for LaTeX are texlive and texlive-full, but why searching for "texlive" Software Center doesn't show texlive-full package?
To see texlive-full package I have to search for "texlive-" string.

In addition the Help section of the Software Center seems doesn't shows any trace about the searching strategy used by the application. I believe could be useful to know for example if the string searched is used only with the package names or also with the name of their add-on packages.

Ok I know...I asked two question in only one section, but they are pretty related :)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Andrea Carpineti
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Andrea Carpineti (acarpine) said :
#2

Tks actionparsnip for your answer. Anyway I don't see how that link can solve my question. Just for clarity I re-write the above questions:
1) Why searching for "texlive" string in Ubuntu Software Center doesn't show "texlive-full" package?
2) What's the searching algorithm used by the Ubuntu Software Center? Can be useful describe the fields in which the search is performed? (maybe this could be considered in a whishlist)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Log a bug with software centre so the search shows the full package is all I can suggest.

Revision history for this message
mycae (mycae) said :
#4

Andrea:
My guess would be that the software centre is using a hashtable lookup; and thus texlive-full is not the same as texlive. However, I don't actually know this -- I have not looked at the code.

If you need a more potent interface to your package database, I would recommend using synaptic, rather than the software centre.

Revision history for this message
Andrea Carpineti (acarpine) said :
#5

Thanks mycae and actionparsnip for your help! I think the issue I described shows a wrong behavior of the software so I opened a bug at https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/731193