software-center crashes in postinst

Bug #1008687 reported by Andreas Hasenack
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
New
Undecided
Unassigned

Bug Description

# cat /etc/lsb-release
DISTRIB_ID=Linaro
DISTRIB_RELEASE=12.05
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Linaro 12.05"

(...)

Setting up simple-scan (3.4.1-0ubuntu1.1) ...
Setting up smbclient (2:3.6.3-2ubuntu2.2) ...
Setting up software-center (5.2.2.2) ...
ERROR:root:DebFileApplication import
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 3, in <module>
    from debfile import DebFileApplication
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 25, in <module>
    from softwarecenter.db.application import Application, AppDetails
  File "/usr/share/software-center/softwarecenter/db/application.py", line 28, in <module>
    from softwarecenter.backend.channel import is_channel_available
  File "/usr/share/software-center/softwarecenter/backend/channel.py", line 25, in <module>
    from softwarecenter.distro import get_distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 194, in <module>
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 169, in _get_distro
    module = __import__(distro_id, globals(), locals(), [], -1)
ImportError: No module named Linaro
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 38, in <module>
    from softwarecenter.db.update import rebuild_database
  File "/usr/share/software-center/softwarecenter/db/update.py", line 33, in <module>
    from softwarecenter.distro import get_distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 194, in <module>
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 169, in _get_distro
    module = __import__(distro_id, globals(), locals(), [], -1)
ImportError: No module named Linaro
Setting up software-properties-common (0.82.7.1) ...
Setting up software-properties-gtk (0.82.7.1) ...
Setting up thunderbird (12.0.1+build1-0ubuntu0.12.04.1) ...
(...)

Fathi Boudra (fboudra)
affects: linaro → linaro-ubuntu
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.