[Bug 874757] Re: Cannot toggle additional sources until authentication has been granted through other means

Ali Onur Uyar 874757 at bugs.launchpad.net
Mon Oct 24 16:26:39 UTC 2011


After upgrade to Oneiric, many applications requiring the authentication dialog stopped working.
* I am detecting exactly the same bug with the same error message for software-properties-gtk.
* gnome-control-center - User Accounts - Unlock fails with the following error message:
(gnome-control-center:4908): Gtk-WARNING **: Error acquiring permission: Failed to acquire permission for action-id org.freedesktop.accounts.user-administration
* software-center - Install button fails with the following error message on console:
 softwarecenter.backend - WARNING - _on_trans_error: org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name':  ':1.92'}): org.debian.apt.install-or-remove-packages

I am not using Gnome Shell, but Unity, but I am not sure if trying the
Classical Gnome Interface with and without Compiz messed the
configuration in the first place. When I tried the Gnome Interface and I
switched back to Unity, initially the Dash and the Unity Panel were
missing and I had to enable the Unity Plugin of Compiz manually to fix
Unity.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/874757

Title:
  Cannot toggle additional sources until authentication has been granted
  through other means

Status in “gnome-shell” package in Ubuntu:
  Confirmed
Status in “software-properties” package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Open Software Sources as an admin user (not as root; don't do this through Synaptic).
  2. Try to check or uncheck the Cdrom source or a source in the Other Software section. Nothing will happen.
  3. Do another action that triggers a PolicyKit authentication dialog (toggle the multiverse or universe source, or add a source in Other Software)
  4. Repeat step 3. This time, the source will be toggled appropriately.

  In step 2, the following lands in stderr:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 647, in on_isv_source_toggled
      self.backend.ToggleSourceUse(str(source_entry))
    File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
      **keywords)
    File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: com.ubuntu.SoftwareProperties.PermissionDeniedByPolicy: com.ubuntu.softwareproperties.applychanges

  Attempting to toggle a software source in the Other Software section
  should trigger an authentication dialog.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/874757/+subscriptions




More information about the foundations-bugs mailing list