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

Dylan McCall dylanmccall at gmail.com
Sat Oct 15 19:03:51 UTC 2011


Oh, funny. Looks like this only happens in Gnome Shell, but it reliably
happens there. Could be Gnome Shell's fault, then, since the shell makes
its own authentication dialogs.

** Also affects: gnome-shell (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in “software-properties” package in Ubuntu:
  New

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