Software-center installation with errors

Bug #444089 reported by Wesley Schwengle
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: software-center

$ sudo aptitude install software-store
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Note: selecting "software-center" instead of the
      virtual package "software-store"
The following NEW packages will be installed:
  aptdaemon{a} python-aptdaemon{a} python-aptdaemon-gtk{a} software-center
0 packages upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 474kB of archives. After unpacking 2,236kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://nl.archive.ubuntu.com karmic/main python-aptdaemon 0.10+bzr242-0ubuntu3 [40.6kB]
Get:2 http://nl.archive.ubuntu.com karmic/main python-aptdaemon-gtk 0.10+bzr242-0ubuntu3 [188kB]
Get:3 http://nl.archive.ubuntu.com karmic/main aptdaemon 0.10+bzr242-0ubuntu3 [4,078B]
Get:4 http://nl.archive.ubuntu.com karmic/main software-center 0.4.5 [241kB]
Fetched 474kB in 0s (601kB/s)
Selecting previously deselected package python-aptdaemon.
(Reading database ... 191997 files and directories currently installed.)
Unpacking python-aptdaemon (from .../python-aptdaemon_0.10+bzr242-0ubuntu3_all.deb) ...
Selecting previously deselected package python-aptdaemon-gtk.
Unpacking python-aptdaemon-gtk (from .../python-aptdaemon-gtk_0.10+bzr242-0ubuntu3_all.deb) ...
Selecting previously deselected package aptdaemon.
Unpacking aptdaemon (from .../aptdaemon_0.10+bzr242-0ubuntu3_all.deb) ...
Selecting previously deselected package software-center.
Unpacking software-center (from .../software-center_0.4.5_all.deb) ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up python-aptdaemon (0.10+bzr242-0ubuntu3) ...

Setting up python-aptdaemon-gtk (0.10+bzr242-0ubuntu3) ...

Setting up aptdaemon (0.10+bzr242-0ubuntu3) ...
Setting up software-center (0.4.5) ...
ERROR:root:dbus failure (ignoring
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 78, in <module>
    bus_name = dbus.service.BusName('com.ubuntu.Softwarecenter', bus)
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 129, in __new__
    retval = bus.request_name(name, name_flags)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 306, in request_name
    'su', (name, flags))
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.63" is not allowed to own the service "com.ubuntu.Softwarecenter" due to security policies in the configuration file

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

The package got installed, but the error is not nice to see :)

ProblemType: Bug
Architecture: i386
Date: Tue Oct 6 00:12:15 2009
DistroRelease: Ubuntu 9.10
Package: software-center 0.4.5
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: software-center
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
Wesley Schwengle (wesleys) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I made the error less verbose, I'm still puzzled about this particular one - do you run a flavour of ubuntu (like kubuntu)? Or anything unusual in your dbus setup?

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Wesley Schwengle (wesleys) wrote :

I have (ubuntu|xubuntu|kubuntu)-desktop packages installed. Although I only use KDE as a DE.
AFAIK I don't have a special dbus setup.

Changed in software-center (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 0.4.6

---------------
software-center (0.4.6) karmic; urgency=low

  * debian/control:
    - add versionized dependency to aptdaemon (needs some of the
      latest API for the async calls) LP: #444218
  * softwarecenter/view/pendingview.py:
    - display the operation (Install Packages, Remove Packages,
      Applying Changes) for operations that come from outside
      software-center (LP: #444254)
  * softwarecenter/app.py:
    - do not crah on corrupted database
  * utils/update-software-center:
    - ignore if dbus can not be imported (e.g. because we are in
      the middle of a upgrade and python packages are unavailable)
      LP: #443177)
    - do not show full stacktrace if dbus is not available
      (LP: #444089)
    - add a small delay between dubs rebuild signal and actual rebuild
      (LP: #438639)

 -- Michael Vogt <email address hidden> Tue, 06 Oct 2009 11:27:09 +0200

Changed in software-center (Ubuntu):
status: In Progress → Fix Released
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.