software-properties-gtk does not request root permission when choosing repositories in "Other Software" tab

Bug #1360488 reported by JohnRB
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1) Description: Ubuntu 14.04.1 LTS (Ubuntu-GNOME)
Release: 14.04 amd64

2) software-properties-gtk:
  Installed: 0.92.37.1
  Candidate: 0.92.37.1
  Version table:
 *** 0.92.37.1 0
        500 http://www.lug.bu.edu/mirror/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.92.36 0
        500 http://www.lug.bu.edu/mirror/ubuntu/ trusty/main amd64 Packages

3) When checking/unchecking repositories under the "Other Software" tab of software-properties-gtk I expect it to prompt me for root/sudo password, and once accepted I can check and uncheck my repositories.

4) The title may not explain issue good enough so forgive me for being long winded just want to make sure issue is understood. This is what I experience when opening Software & Updates (software-properties-gtk) from app menu, and go to the "Other Software" tab.
      If you go to check or uncheck any of the repositories listed it does not let you because you don't have sudo/root privileges, that makes sense, but under regular Ubuntu 14.04.1 (I am currently running Ubuntu-GNOME 14.04.1) and you went ahead to check or uncheck a repository it would request root privileges at that moment by asking for the password. As long as the password was excepted you could then go ahead check/uncheck the repositories you want. In Ubuntu-GNOME it does not try and gain privilege it just darkens the list. If you open software-properties-gtk via terminal when you go to check/uncheck any repository it returns this error in terminal window: "ERROR:root:Authentication canceled, changes have not been saved" The only way you can get it to request root privileges is to hit one of the buttons below (Add, Edit, Remove, Add Volume). So it does not cause an issue you can not get around, it was just something that I noticed that happened with Ubuntu 14.04.1 that does not with Ubuntu-GNOME 14.04.1 and probably should.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: software-properties-gtk 0.92.37.1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: rr272x_1x
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Aug 22 19:48:49 2014
InstallationDate: Installed on 2014-08-20 (2 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
JohnRB (rbxtnc) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
asgard2 (kamp000x) wrote :

I can not change anything, only by starting "software-properties-gtk" with gksudo (@ xubuntu 14.04 64Bit).
error message: "ERROR:root:Authentication canceled, changes have not been saved"

Revision history for this message
Javi FA (wyre12) wrote :

I still have got this error even in Ubuntu 16.04

Revision history for this message
niknah (hankin0) wrote :

The duplicate bug is for lxde.
I'm using openbox, and it didn't start polkit. So I started it with...

/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

And now it asks for a password and can save settings.

Revision history for this message
Sergio Bossa (sbtourist) wrote :

Still getting this bug on Ubuntu 17.10, any hopes it will be fixed at some point?

Revision history for this message
Dries (dries-dokter) wrote :

I have this behaviour on Ubuntu 19.04 (upgraded from 18.10

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.