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

michael topfer mikeptopfer6313 at gmail.com
Wed Dec 4 05:08:42 UTC 2013


** Description changed:

  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)
+   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.

-- 
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