Incorrect X-AppInstall-Package entry for glade-3

Bug #463753 reported by Chris Crisafulli
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
app-install-data-ubuntu (Ubuntu)
Fix Released
Undecided
Kiwinote
glade-3 (Ubuntu)
Invalid
Undecided
Unassigned
software-center (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: software-center

uname -a: Linux t500-karmic 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

cat /etc/*release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

aptitude show software-center:

Package: software-center
State: installed
Automatically installed: no
Version: 1.0.2
Priority: optional
Section: gnome
Maintainer: Michael Vogt <email address hidden>
Uncompressed Size: 1,483k
Depends: python, python-central (>= 0.6.11), app-install-data (>= 0.4.0),
         gnome-icon-theme, gnome-menus, python-xapian, python-apt (>= 0.7.13),
         python-aptdaemon, python-aptdaemon-gtk, python-dbus, policykit-1,
         policykit-1-gnome | policykit-1-qt, python-gtk2, python-webkit,
         python-sexy, python-gconf, aptdaemon (>= 0.10+bzr259)
Recommends: lsb-release
Conflicts: software-store
Replaces: software-store
Provides: software-store
Description: Utility for browsing, installing, and removing applications
 The Ubuntu Software Center lets you browse and install thousands of free
 applications available for Ubuntu. You can view available applications by
 category, or search quickly by name or description. You can also examine the
 applications already installed, and remove those you no longer need.

 To install or remove software using the Center, you need administrator access
 on the computer.

When trying to install Glade from the software center, I expected that by clicking on it, it would resolve dependencies and install the latest version of Glade. Instead I received an error that states:

Package dependencies cannot be resolved. This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

If you expand the details drop-down it says:
glade-gnome-2

I was able to install Glade from the CLI using: sudo apt-get install glade

This resolves the dependencies and installs Glade 3.6.7.

This is a transitional package; see the glade-gnome package instead.

Related branches

Revision history for this message
Chris Crisafulli (itnet7) wrote :
Jamal Fanaian (jamalta)
Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Jamal Fanaian (jamalta) wrote :

After a fresh install of Karmic, opened the Software Center and tried to install Glade Interface Designer, and got the same error as Chris. Running same version, except I'm on x86_64.

Revision history for this message
Adam Plumb (adamplumb) wrote :

The problem here is that there are two packages, glade-gnome (which is what we all want, 3.6.7), and then there is glade-gnome-2, which is what nobody wants. Ubuntu Software Center chooses glade-gnome-2, probably because its algorithm says to pick the package that sorts highest if you have similar matches.

The fix here is probably to rename the glade-gnome package glade-gnome-3 or at least create a dummy package that points to glade-gnome.

Revision history for this message
Chris Crisafulli (itnet7) wrote :

Adam,

That is what I was thinking happened but was unsure of how the Software Center Determines versioning.

Revision history for this message
Andrew (and471) wrote :

The problem here is that in app-install-data, the 'X-AppInstall-Package' in /usr/share/app-install/desktop/glade-3.desktop refers to glade-gnome-3 when it should refer to glade-gnome.

Not a bug in software-center, reassigning

Changed in software-center (Ubuntu):
status: Confirmed → Invalid
summary: - Ubuntu Software Center doesn't install Glade refers to glade-gnome
- package.
+ Incorrect X-AppInstall-Package entry for glade-3
Javier Jardón (jjardon)
affects: glade (Ubuntu) → glade-3 (Ubuntu)
Kiwinote (kiwinote)
Changed in app-install-data-ubuntu (Ubuntu):
status: New → Fix Committed
assignee: nobody → Kiwinote (kiwinote)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package app-install-data-ubuntu - 0.10.10.3

---------------
app-install-data-ubuntu (0.10.10.3) maverick; urgency=low

  [ Michael Vogt ]
  * menu-data-additional/mscorefonts.desktop:
    - removed, we show packages now so there is little added value
      in having this (LP: #605495) and its in the wrong section too
  * updated for maverick alpha3

  [ Kiwinote ]
  * menu-data/glade-3.desktop, menu-data-xul-extensions/flashblock.desktop,
    menu-data-xul-extensions/firebug.desktop,
    menu-data-xul-extensions/firefox-greasemonkey.desktop,
    menu-data-xul-extensions/mozgest.desktop:
    - use correct pkgname (LP: #445352, #463753)
  * menu-data-additional/sun-java6-plugin.desktop,
    menu-data-additional/mozilla-mplayer.desktop,
    menu-data-codecs/gstreamer-schoedinger.desktop,
    menu-data-codecs/gstreamer-fluendo-mpegdemux.desktop,
    menu-data-xul-extensions/mozilla-livehttpheaders.desktop,
    menu-data-xul-extensions/lightning-extension.desktop,
    menu-data-xul-extensions/mozilla-stumbleupon.desktop:
    - removed (together with related icons), since the packages are no longer
      available (LP: #512699, #572859, #587713)
  * menu-data-xul-extensions/firebug.desktop, menu-data/gtkwhiteboard.desktop,
    menu-data/clustalx.desktop:
    - fix typo (LP: #512696, #538221, #512442)
  * utils/check_if_pkg_available.py:
    - new, script to check if desktop files refer to unavailable packages
 -- Michael Vogt <email address hidden> Wed, 04 Aug 2010 09:56:44 +0200

Changed in app-install-data-ubuntu (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue was not a glade one, closing that task

Changed in glade-3 (Ubuntu):
status: New → Invalid
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.