Hello Twisted, or anyone else affected,

Accepted software-center into precise-proposed. The package will build
now and be available in a few hours. Please test and give feedback here.
See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you in advance!

** Also affects: software-center (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: software-center (Ubuntu Quantal)
   Importance: Low
     Assignee: Michael Vogt (mvo)
       Status: Fix Committed

** Changed in: software-center (Ubuntu Precise)
       Status: New => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/808455

Title:
  Software-center causes update-apt-xapian-index to fail on downstream
  distros

Status in “software-center” package in Ubuntu:
  Fix Committed
Status in “software-center” source package in Precise:
  Fix Committed
Status in “software-center” source package in Quantal:
  Fix Committed

Bug description:
  When software-center is installed on an Ubuntu derivative (in our
  case, Nexradix), update-apt-xapian-index fails.

  When run, a python error indicating that "no module Nexradix is found"

  When I replace lines 112-114 in /usr/share/software-
  center/softwarecenter/distro/__init__.py with:

  distro_id = "Ubuntu"

  update-apt-xapian-index works without incident.

  Based on the prior code, it appears that the current distro name is
  being parsed from /etc/lsb-release, and if it doesn't find a matching
  distro in the "/usr/share/software-center/softwarecenter/distro"
  directory, it fails.

  I assume that adding the distro in question to that directory using
  Ubuntu.py as a template would likely solve this, however it remains a
  bug:  update-apt-xapian-index should not rely on software-center's
  distro-specific code, or at the very least, fail more gracefully with
  an error message or link to documentation as to what the fix is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/808455/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to