[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 18:13:09 UTC 2011


It seems like the problem occurs, because /usr/lib/policykit-1-gnome
/polkit-gnome-authentication-agent-1 is not running.

After running the authentication agent manually the authentication
window appears as expected and administrative operations can be executed
without problems.

I  am trying to understand why the authentication agent is not getting
started automatically on login.

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