Dia fails to install from the Software Center: There isn't a software package called "dia-gnome-gnome" in your current software sources

Bug #886680 reported by Alex Young
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
app-install-data-ubuntu (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

On a relatively fresh Oneiric install, I pressed the Win key to bring up the application menu. I selected "Media apps", chose "Graphics" from the right-hand list, then selected Dia from the list of installable apps. The Ubuntu Software Centre launched, and displayed the following error:

    There isn't a software package called "dia-gnome-gnome" in your current software sources.

I'd guess that this is a simple copy-paste error (the correct package is, I assume, dia-gnome), but I'm not certain which package contains the bad data.

EDIT: per bug #889340, Dia shows up two times in Software Center: one time as "Diagram editor" and a second one as "Dia Diagram Editor". The first one is installable and has got a complete description, the second one does not.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity-lens-applications 0.4.12-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Nov 5 21:09:07 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
SourcePackage: unity-lens-applications
UpgradeStatus: No upgrade log present (probably fresh install)

WORKAROUND:
Open a terminal and use the command "sudo apt-get install dia" to install the program.

Revision history for this message
Alex Young (alex-blackkettle) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-lens-applications (Ubuntu):
status: New → Confirmed
Revision history for this message
Alessandro Menti (elgaton) wrote :

Confirmed on a fresh install of Ubuntu 11.10 i386. It seems to be a software-center related bug, so I'm targeting the bug to that package.

affects: unity-lens-applications (Ubuntu) → software-center (Ubuntu)
summary: - Dia fails to install from the software center
+ Dia fails to install from the Software Center: There isn't a software
+ package called "dia-gnome-gnome" in your current software sources
tags: added: testcase
description: updated
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Medium suggested by Elgaton.

Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Robert Roth (evfool) wrote :

Reassigning to the app-install-data-ubuntu package as that is the one containing the desktop file information. Indeed, the dia desktop file does mention dia-gnome-gnome instead of dia-gnome [1], so that's where the problem is coming from.

[1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/app-install-data-ubuntu/oneiric/view/head:/menu-data/dia-common:dia-common.desktop

affects: software-center (Ubuntu) → app-install-data-ubuntu (Ubuntu)
Revision history for this message
Alessandro Menti (elgaton) wrote :

Updated description with some other findings coming from bug #889340.

description: updated
Revision history for this message
Michael (mnichau) wrote :

This is very similar to bug #882005 and, partially, to bug #751504, but in the latter case the Install button was present. I guess this was fixed since. However the 'non-existing' package is still listed, i.e. if you click More Info, you get the message:

"There isn't a software package called [...]"

Revision history for this message
Federico Torres Vargas (fetova) wrote :

I have the bug fix, just need to do the commit...

Changed in app-install-data-ubuntu (Ubuntu):
assignee: nobody → Federico Torres Vargas (fetova)
Revision history for this message
Federico Torres Vargas (fetova) wrote :

Branch done.

Just need review.

Changed in app-install-data-ubuntu (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

Federico, can we assist you with the review?

Revision history for this message
Federico Torres Vargas (fetova) wrote :

MIchael, please.

I can't upload the branch with the commit (and i can't confirm if i really uploaded it fine), so, i will describe the fix:

- Do "bzr branch lp:ubuntu/oneiric/app-install-data-ubuntu" to get the oneiric branch
- Edit menudata/dia-common\:dia-common.desktop and change 2nd line from "X-AppInstall-Package=dia-gnome-gnome" to this "X-AppInstall-Package=dia-gnome"
- Do the commit and push.

The fix itself is tested and is already fixed on precise, so this should be a SRU only.

This bug happened by a script used to get the .desktop for this package. I was waiting an answer from the developer to help on fixing a related minor bug (the .desktop should be dia-gnome.destop), but I didn't get an answer, so I lost the thread because a high load of work, sorry.

I will try to do the upload tomorrow, but if you can do it before me, great!

Regards.

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

Federico,
thanks for the support, i will do it today.

Just for your info, its not fixed in 12.04 see my bug from today in 12.04

https://bugs.launchpad.net/ubuntu/+source/dia/+bug/925255

i dont see the fix in 12.04

app-install-data-ubuntu (0.12.04.2) precise; urgency=low

  * updated for current precise

 -- Michael Vogt <email address hidden> Tue, 31 Jan 2012 18:14:11 +0100

app-install-data-ubuntu (0.12.04.1) precise; urgency=low

  * updated to current precise

 -- Michael Vogt <email address hidden> Fri, 06 Jan 2012 13:18:51 +0100

app-install-data-ubuntu (0.12.04) precise; urgency=low

  * initial version for precise

 -- Michael Vogt <email address hidden> Mon, 28 Nov 2011 21:25:07 +0100

app-install-data-ubuntu (0.11.10.7) oneiric-proposedUNRELEASED; urgency=low

  [ Kiwinote ]
  * update menu-data-additional:
    - remove gnome-office as it seems not to be in oneiric anymore
    - update gnome-utils section to universe
    - update nvidia-glx-* to point to nvidia-*
    - remove the openoffice meta package as we're libreoffice these days
    - update openclipart-openoffice.org to openclipart-libreoffice
    - remove totem-xine as it's gone in oneiric
    - remove excessive wine as it's available in menu-data itself

 -- Michael Vogt <email address hidden> Thu, 20 Oct 2011 11:53:30 +0200

Revision history for this message
Federico Torres Vargas (fetova) wrote :

You're right... I was sure that was fixed... perhaps I saw it in my branch by confusion o.O

The *.desktop are updated on the source via http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/app-install-data-ubuntu/precise/view/head:/update-menu-data.sh, as you can see on line 22, they are just fetched packaged, what i've asked to mvo is about the script that do that server-side, but, I didn't get answer.

Seeing the mail used to commit, I'm wondering about if I sent my mail to a wrong email... Well, that's why I'm going to sleep now x__x

Regards!

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

now its containing this on the latest 12.04

ggz-gtk-client: package not found
warsow: package not found
ggz-gnome-client: package not found
glame: package not found
dia-gnome-gnome: package not found
amsn: package not found
googlizer: package not found
tucan: package not found
ggz-txt-client: package not found
freediams: package not found
ktoon: package not found

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

and also

libebook1.2-12: not found
libedataserver1.2-15: not found
libecal1.2-10: not found

Revision history for this message
Federico Torres Vargas (fetova) wrote :

I'm leaving the assignee so MIchael can pick it: He is who are fixing this.

Thanks for the nice work! :)

Changed in app-install-data-ubuntu (Ubuntu):
assignee: Federico Torres Vargas (fetova) → nobody
Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

Latest dist-upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
koffice: package not found
kpresenter: package not found
dia-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome: package not found
kword: package not found
kspread: package not found
kplato: package not found
Creating table utils
Creating table universalaccess
Creating table audiovideo
Creating table games
Creating table graphic
Creating table network
Creating table education
Creating table scienze
Creating table system
Creating table devel
Creating table tweaks
Creating table fonts
Creating table office
Creating table packages

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

at the moment i dont have time to test and provide a fix, so if anyone else want to fix this, please do it

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

Building dependency tree
Reading state information... Done
syncropated: package not found
koffice: package not found
lekhonee-gnome: package not found
kpresenter: package not found
lekhonee-kde: package not found
dia-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome-gnome: package not found
treb: package not found
kword: package not found
kspread: package not found
kplato: package not found
Creating table utils
Creating table universalaccess
Creating table audiovideo
Creating table games
Creating table graphic
Creating table network
Creating table education
Creating table scienze
Creating table system
Creating table devel
Creating table tweaks
Creating table fonts
Creating table office
Creating table packages

Changed in app-install-data-ubuntu (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

The same is still happening in current Ubuntu 12.04 LTS.
It seems to be a mess with the string of package names.

Revision history for this message
Johannes (johannes-eifert) wrote :

For new users which might come across this bug: A simple workaround is the installation with:
sudo apt-get install dia-gnome

And then starting it with:
dia

Both in a Terminal.

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.