Dia's desktop entry given invalid package name "dia-gnome-gnome"

Bug #928170 reported by Silicoid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
app-install-data-ubuntu (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I wanted to install dia via the software center. It wasn't found so I wasn't able to install it via the software center. I went to the CLI and installed it without problem. The same is with other software like i.e. perl. Why can't I search for this software and install it via the Software Center? Especially when it comes to software like dia it is bad because users who are not familiar with kubuntu won't be able to install it.

I also couldn't find any document that explains why this happens. If this is "works as designed" then a message/button/link would be nice that gives an explanation.

Tags: oneiric
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I can find Dia just fine.

Revision history for this message
Silicoid (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mk-launchpad) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oh, right that bug. Where no matter what term is searched, those same results are shown.

Hmm, could you try using an updated Muon from https://launchpad.net/~echidnaman/+archive/qapt/ please?

Revision history for this message
Silicoid (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mk-launchpad) wrote :

No, it doesn't show the same results when I search for different things. it finds other software like digikam just fine. I updated anyways, still doesn't find dia, which is installed at the moment:
# dpkg -l dia
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii dia 0.97.1-9 Diagram editor

Screenshot: https://picasaweb.google.com/lh/photo/pA52KRLhpCy47RsG7B1SfdMTjNZETYmyPJy0liipFm0?feat=directlink

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Ah, I was referring to the first screenshot you posted which has totally unrelated packages, which I have seen before as a different bug. That's a red herring, however.

I was unable to reproduce this bug earlier due to being on an older version of Ubuntu (still with the latest Muon), but now testing on 11.10, I can in fact confirm that Muon can't find Dia. The Muon Software Center uses data from the app-install-data package to determine which packages are in fact "applications" versus technical packages. The file for dia in app-install-data incorrectly refers to the package name of dia being "dia-gnome-gnome". (It should be dia-gnome) Since the dia-gnome-gnome package does not exist, Muon automatically hides the entry since nothing could be done with it anyway.

This should affect the Ubuntu Software Center as well, since it also uses app-install-data.

affects: muon (Ubuntu) → app-install-data-ubuntu (Ubuntu)
Changed in app-install-data-ubuntu (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - Muon Software Center doesn't find all software
+ Dia's desktop entry given invalid package name "dia-gnome-gnome"
tags: added: oneiric
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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